- Nov 03, 2005
-
-
steven authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106449 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
On USE_LINKONCE_INDIRECT platforms, build a DECL_ONE_ONLY indirect reference only if 'public' is true. (dw2_output_indirect_constant_1): On USE_LINKONCE_INDIRECT platforms, emit the .hidden directive only if the indirect reference is public. (dw2_asm_output_encoded_addr_rtx): Add new parameter 'public'. Pass it to dw2_force_const_mem. * dwarf2asm.h (dw2_asm_output_encoded_addr_rtx): New param 'public'. * dwarf2out.c (output_cfi): Adjust calls to above function. (output_call_frame_info): Likewise. * except.c (output_ttype): Pass TREE_PUBLIC of the type_info object as 'public' argument to dw2_asm_output_encoded_addr_rtx. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106445 138bc75d-0d04-0410-961f-82ee72b054a4
-
mmitchel authored
* pt.c (register_specialization): Update inline flags on clones.y PR c++/21627 * g++.dg/warn/inline2.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106442 138bc75d-0d04-0410-961f-82ee72b054a4
-
rakdver authored
* tree-ssa-loop-ivopts.c (aff_combination_add_elt): Move rest field to elts if possible. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106440 138bc75d-0d04-0410-961f-82ee72b054a4
-
pinskia authored
PR middle-end/23155 * g++.dg/ext/c99struct1.C: New test. * gcc.dg/union-cast-1.c: New test. * gcc.dg/union-cast-2.c: New test. * gcc.dg/union-cast-3.c: New test. 2005-11-03 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/23155 * gimplifier.c (gimplify_expr): Create a temporary for lvalue CONSTRUCTOR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106438 138bc75d-0d04-0410-961f-82ee72b054a4
-
dberlin authored
Fix PR tree-optimization/24351 * tree-ssa-structalias.c (struct variable_info): Add collapsed_into. (get_varinfo_fc): New function to follow collapsing. (new_var_info): Set collapsed_to to NULL. (dump_constraint): Follow collapsing. (build_constraint_graph): Handle collapsing. (do_simple_structure_copy): Return false if something bad happened. (collapse_rest_of_var): New function. (do_structure_copy): Collapse if do_simple_structure_copy returns false. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106437 138bc75d-0d04-0410-961f-82ee72b054a4
-
pinskia authored
PR middle-end/24589 * gimplify.c (gimplify_expr) <case CONSTRUCTOR>: Add the expressions to a statement list instead of gimplifying them. 2005-11-03 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/24589 * gcc.c-torture/execute/zero-struct-2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106436 138bc75d-0d04-0410-961f-82ee72b054a4
-
pinskia authored
PR c++/24582 * g++.dg/init/switch1.C: New test. 2005-11-03 Andrew Pinski <pinskia@physics.uc.edu> PR c++/24582 * decl.c (declare_local_label): Return 0 for variables with error_mark_node as their types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106434 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
* include/ext/sso_string_base.h (__sso_string_base<>::_M_swap): Change the various traits_type::copy call to always copy the entire local buffer; return early and don't do a full swap on the lengths for two common cases; change two _S_copy to plain traits_type::copy. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106431 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106429 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
* rtlanal.c (rtx_addr_can_trap_p_1) <PLUS>: Return 0 for an address that can't trap plus a constant integer, if the mode has zero size. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106427 138bc75d-0d04-0410-961f-82ee72b054a4
-
uweigand authored
PR target/24620 * config/s390/s390.md ("*insv<mode>_reg_imm"): Accept any CONST_INT as operand 2. ("*insv<mode>_reg_extimm"): Likewise. testsuite/ChangeLog: PR target/24620 * gcc.dg/pr24620.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106422 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
* c-pretty-print.c (pp_c_type_specifier): Do not recurse if c_common_type_for_mode returns an unnamed type. testsuite: * gcc.dg/format/unnamed-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106421 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
PR target/24374 * dwarf2out.c (dwarf2out_reg_save_reg): New. (dwarf2out_frame_debug_expr): Return after dwarf_handle_frame_unspec. * function.c (assign_parms): Use calls.internal_arg_pointer. (expand_main_function): Remove FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN code. * target-def.h (TARGET_INTERNAL_ARG_POINTER): New. (TARGET_CALLS): Add it. * target.h (struct gcc_target): Add calls.internal_arg_pointer. * targhooks.c (default_internal_arg_pointer): New. * targhooks.h (default_internal_arg_pointer): Declare. * tree.h (dwarf2out_reg_save_reg): Declare. * doc/tm.texi (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): Remove. * config/i386/i386.c (dbx_register_map): Add return column. (dbx64_register_map, svr4_dbx_register_map): Likewise. (TARGET_INTERNAL_ARG_POINTER, ix86_internal_arg_pointer): New. (TARGET_DWARF_HANDLE_FRAME_UNSPEC, ix86_dwarf_handle_frame_unspec): New. (ix86_function_ok_for_sibcall): Disable if force_align_arg_pointer. (ix86_save_reg): Save force_align_arg_pointer. (ix86_emit_save_regs): Make regno unsigned. (ix86_emit_save_regs_using_mov): Likewise. (ix86_expand_prologue): Handle force_align_arg_pointer. (ix86_expand_epilogue): Likewise. * config/i386/i386.h: (dbx_register_map): Update. (dbx64_register_map, svr4_dbx_register_map): Update. (struct machine_function): Add force_align_arg_pointer. * config/i386/i386.md (UNSPEC_REG_SAVE, UNSPEC_DEF_CFA): New. (UNSPEC_TP, UNSPEC_TLS_GD, UNSPEC_TLS_LD_BASE): Renumber. (TARGET_PUSH_MEMORY peepholes): Disable if RTX_FRAME_RELATED_P. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106420 138bc75d-0d04-0410-961f-82ee72b054a4
-
mmitchel authored
* call.c (build_conditional_expr): Do bad conversions, if there's no other choice. PR c++/22434 * g++.dg/expr/cond8.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106418 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106414 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Nov 02, 2005
-
-
mmitchel authored
* parser.c (cp_parser_postfix_dot_deref_expression): Improve error message for use of overloaded functions on LHS of "." operator. PR c++/24560 * g++.dg/parse/dot1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106408 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
* i386.md: Add peep2 for simplyfing array accesses. * gcc.dg/i386-lea.c: New test git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106406 138bc75d-0d04-0410-961f-82ee72b054a4
-
uweigand authored
PR target/24615 * config/s390/s390-protos.h (s390_decompose_shift_count): Declare. * config/s390/s390.c (s390_decompose_shift_count): New function. (s390_extra_constraint_str) ['Y']: Use s390_decompose_shift_count. (print_shift_count_operand): Use s390_decompose_shift_count. * config/s390/predicates.md ("setmem_operand", "shift_count_operand"): Use s390_decompose_shift_count. Do not accept any non-base hard regs. testsuite/ChangeLog: PR target/24615 * gcc.dg/pr24615.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106405 138bc75d-0d04-0410-961f-82ee72b054a4
-
uweigand authored
PR target/24600 * loop.c (loop_givs_rescan): Use force_operand to expand complex GIVs. testsuite/ChangeLog: PR target/24600 * gcc.dg/pr24600.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106404 138bc75d-0d04-0410-961f-82ee72b054a4
-
andreast authored
* testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared library extensions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106403 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
* fold-const.c (build_range_check): Use unsigned when signed overflow is undefined also. If etype is subtype, make sure that the subtraction is in the supertype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106400 138bc75d-0d04-0410-961f-82ee72b054a4
-
mmitchel authored
* parser.c (cp_parser_postfix_expression): Use cp_parser_elaborated_type_specifier to handle typename-types in functional casts. (cp_parser_enclosed_argument_list): Skip ahead to the end of the template argument list if the closing ">" is not found. PR c++/19253 * g++.dg/parse/typename8.C: Compile with -w -fpermissive. * g++.dg/parse/typename9.C: New test. * g++/dg/parse/typename10.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106398 138bc75d-0d04-0410-961f-82ee72b054a4
-
pinskia authored
PR fortran/18157 * gfortran.fortran-torture/compile/defined_type_1.f90: New test. * gfortran.fortran-torture/compile/defined_type_2.f90: New test. * gfortran.fortran-torture/compile/defined_type_3.f90: New test. 2005-11-02 Andrew Pinski <pinskia@physics.uc.edu> PR fortran/18157 * trans-array.c (gfc_conv_resolve_dependencies): Use the correct type for the temporary array. * trans-expr.c (gfc_trans_assignment): Pass lss instead of lss_section to gfc_conv_resolve_dependencies to get the correct type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106396 138bc75d-0d04-0410-961f-82ee72b054a4
-
mmitchel authored
* pt.c (instantiate_decl): Use cp_finish_decl, not finish_static_data_member_decl. PR c++/24569 * g++.dg/debug/static1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106392 138bc75d-0d04-0410-961f-82ee72b054a4
-
jconner authored
* g++.dg/template/crash42.C: ...here git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106389 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
* config/alpha/alpha.c (get_aligned_mem): Honor alignment given by MEM_ALIGN. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106388 138bc75d-0d04-0410-961f-82ee72b054a4
-
kenner authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106387 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
PR libstdc++/23425 * include/bits/stl_vector.h (vector<>::clear): Open code in terms of _Destroy. 2005-11-02 Paolo Carlini <pcarlini@suse.de> * include/bits/vector.tcc (vector<>::_M_fill_assign): Qualify fill_n. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106379 138bc75d-0d04-0410-961f-82ee72b054a4
-
hp authored
* gcc.dg/bitfld-4.c, g++.dg/abi/bitfield4.C: Gate on pcc_bitfield_type_matters || default_packed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106377 138bc75d-0d04-0410-961f-82ee72b054a4
-
hp authored
* lib/target-supports.exp (check_effective_default_packed): New proc. * g++.dg/ext/packed3.C, g++.dg/ext/packed8.C, g++.dg/other/crash-4.C: Gate expected errors on target ! default_packed. * g++.dg/ext/packed4.C: Gate on target ! default_packed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106376 138bc75d-0d04-0410-961f-82ee72b054a4
-
hp authored
(check_effective_target_pcc_bitfield_type_matters): New proc. * gcc.dg/bitfld-3.c: Gate on target pcc_bitfield_type_matters. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106375 138bc75d-0d04-0410-961f-82ee72b054a4
-
hp authored
* g++.dg/ext/packed3.C, g++.dg/ext/packed8.C, g++.dg/other/crash-4.C: Gate expected errors on target ! default_packed. * g++.dg/ext/packed4.C: Gate on target ! default_packed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106374 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
* loop.c (scan_loop): Do not propagate computations to a hard register destination with SMALL_REGISTER_CLASSES. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106373 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106368 138bc75d-0d04-0410-961f-82ee72b054a4
-
bryce authored
* include/private/gc_priv.h: Increase MAX_ROOT_SETS to 1024. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106362 138bc75d-0d04-0410-961f-82ee72b054a4
-
tobi authored
* decl.c (gfc_match_entry): Function entries don't need an argument list if there's no RESULT clause. testsuite/ * gfortran.fortran-torture/execute/entry_9.f90: Revert previous change (r106358). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106361 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Nov 01, 2005
-
-
tobi authored
PR fortran/24008 * decl.c (gfc_match_entry): Function entries need an argument list. testsuite/ PR fortran/24008 * gfortran.dg/entry_5.f90: New. * gfortran.fortran-torture/execute/entry_9.f90: Fix syntax error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106358 138bc75d-0d04-0410-961f-82ee72b054a4
-
eedelman authored
2005-11-01 Erik Edelmann <eedelman@gcc.gnu.org> PR 24245 * trans.c (gfc_generate_code): Move code to create a main program symbol from here ... * parse.c (main_program_symbol): ... to this new function, setting the locus from gfc_current_locus instead of ns->code->loc. (gfc_parse_file): Call main_program_symbol for main programs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106353 138bc75d-0d04-0410-961f-82ee72b054a4
-
tobi authored
* resolve.c (resolve_symbol): Output symbol names in more error messages, clarify error message. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106346 138bc75d-0d04-0410-961f-82ee72b054a4
-