1. 12 Nov, 2009 11 commits
  2. 11 Nov, 2009 15 commits
    • re PR middle-end/41729 (Undefined reference with -fPIC -fwhole-program -flto) · 62a0a52e
      
      	PR middle-end/41729
      	* ipa.c (function_and_variable_visibility): Do not privatize COMDAT
      	and WEAK variables at -fwhole-program.
      
      	PR middle-end/41735
      	* ipa.c (whole_program_function_and_variable_visility): COMDAT
      	functions/variables are not needed even if they are externally visible.
      
      From-SVN: r154108
      Jan Hubicka committed
    • re PR fortran/41978 ([F03] ICE in gfc_conv_expr_descriptor for array PPC assignment) · ef2bbc8c
      2009-11-11  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/41978
      	* resolve.c (resolve_ref): Take care of procedure pointer component
      	references.
      
      
      2009-11-11  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/41978
      	* gfortran.dg/proc_ptr_comp_22.f90: New test.
      
      From-SVN: r154107
      Janus Weil committed
    • call.c (build_op_delete_call): Downgrade error about placement/non-placement… · 188a786d
      call.c (build_op_delete_call): Downgrade error about placement/non-placement confusion to permerror.
      
      	* call.c (build_op_delete_call): Downgrade error about
      	placement/non-placement confusion to permerror.
      
      From-SVN: r154106
      Jason Merrill committed
    • (patch by Richard Guenther) · 811232fe
      
      	(patch by Richard Guenther)
      	* lto-streamer-out.c (output_function): Output head of argument list
      	earlier.
      	* lto-streamer-in.c (input_function): Re-map arguments into merged
      	declaration.
      
      From-SVN: r154105
      Jan Hubicka committed
    • re PR testsuite/42001 (LTO tests fail with non multilib targets (but still not… · 5fae76b1
      re PR testsuite/42001 (LTO tests fail with non multilib targets (but still not --disable-multilib ))
      
      2009-11-11  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR testsuite/42001
      	* gcc.dg/lto/lto.exp: Pass no-mathlib to lto_init.  Call
      	lto_finish at the end.
      
      	* lib/lto.exp (lto_init): Set mathlib to " " for no-mathlib.
      	(lto_finish): New. Restore mathlib.
      
      From-SVN: r154104
      H.J. Lu committed
    • basic_string.h (to_string(int), [...]): Add, per resolution of DR 1261. · a4ecd144
      2009-11-11  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/basic_string.h (to_string(int), to_string(unsigned),
      	to_string(long), to_string(unsigned long), to_string(float),
      	to_string(double), to_wstring(int), to_wstring(unsigned),
      	to_wstring(long), to_wstring(unsigned long), to_wstring(float),
      	to_wstring(double)): Add, per resolution of DR 1261.
      	* include/ext/vstring.h: Likewise.
      	* testsuite/21_strings/basic_string/numeric_conversions/char/
      	dr1261.cc: Add.
      	* testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
      	dr1261.cc: Likewise.
      
      From-SVN: r154102
      Paolo Carlini committed
    • lto-cgraph.c: Include gcov-io.h · 0bc1b77f
      	* lto-cgraph.c: Include gcov-io.h
      	(output_profile_summary): New function.
      	(output_cgraph): Use it.
      	(input_profile_summary): New function.
      	(input_cgraph): Use it.
      	* coverage.c (build_ctr_info_value): Use varpool; initalize
      	DECL_ASSEMBLER_NAME.
      	(create_coverage): Likewise.
      	* tree-profile.c (tree_init_ic_make_global_vars): Likewise.
      	(tree_init_edge_profiler): Likewise.
      	* Makefile.in (lto-cgraph.o): Add dependency on gcov-io.h.
      
      From-SVN: r154100
      Jan Hubicka committed
    • ChangeLog for libcpp · 17e7cb85
      2009-11-11  Kai Tietz  <kai.tietz@onevision.com>
      
      	* directives.c (do_pragma_push_macro): New pragma handler.
      	(do_pragma_pop_macro): Likewise.
      	(_cpp_init_internal_pragmas): Add push_macro and
      	pop_macro handler to internal pragmas.
      	(lex_macro_node_from_str): Removed.
      	(cpp_push_definition): Replace lex_macro_node_from_str
      	by _cpp_lex_identifier.
      	(cpp_pop_definition): Likewise.
      	* internal.h (_cpp_lex_identifier): New prototype.
      	(def_pragma_macro): New structure.
      	(cpp_reader): New member pushed_macros.
      	* lex.c (_cpp_lex_identifier): New function.
      	(lex_identifier_intern): New function.
      	* init.c (cpp_create_reader): Initialize pushed_macros
      	member.
      	(cpp_destroy): Free elements in pushed_macros member.
      	* pch.c (_cpp_save_pushed_macros): New function.
      	(_cpp_restore_pushed_macros): Likewise.
      	(_cpp_restore_pushed_macros): Use _cpp_save_pushed_macros.
      	(cpp_read_state): Use _cpp_restore_pushed_macros.
      
      ChangeLog for gcc
      
      2009-11-11  Kai Tietz  <kai.tietz@onevision.com>
      
      	* config/i386/cygming.h (HANDLE_PRAGMA_PUSH_POP_MACRO):
      	Removed.
      	* c-pragma.c (def_pragma_macro_value): Likewise.
      	(def_pragma_macro): Likewise.
      	(pushed_macro_table): Likewise.
      	(HANDLE_PRAGMA_PUSH_POP_MACRO): Remove guarded
      	code.
      	* doc/tm.texi (HANDLE_PRAGMA_PUSH_POP_MACRO):
      	Removed.
      
      ChangeLog for gcc/testsuite
      
      2009-11-11  Kai Tietz  <kai.tietz@onevision.com>
      
      	* g++.dg/torture/pushpop_macro.C: New testcase.
      	* gcc.c-torture/execute/pushpop_macro.c: New testcase.
      	* gcc.dg/cpp/pragma-pop_macro-1.c: Allow test for all
      	targets.
      
      From-SVN: r154098
      Kai Tietz committed
    • plugins.texi (Registering custom attributes): section renamed as (Registering… · 110532c8
      plugins.texi (Registering custom attributes): section renamed as (Registering custom attributes or pragmas).
      
      2009-11-11  Basile Starynkevitch  <basile@starynkevitch.net>
      	* gcc/doc/plugins.texi (Registering custom attributes): section
      	renamed as (Registering custom attributes or pragmas).
      	Mentions custom attributes & pragmas, and c_register_pragma, with
      	a small example.
      	* gcc/doc/cpp.texi (Pragmas): Mentions that plugins can provide their
      	pragmas.
      	* gcc/doc/extend.texi (Function Attributes): Mentions that plugin can
      	provide their attributes.
      
      From-SVN: r154097
      Basile Starynkevitch committed
    • config.gcc: Add lm32 elf and uclinux targets. · aa4945c1
      gcc/
      2009-11-11  Jon Beniston <jon@beniston.com>
      
              * config.gcc: Add lm32 elf and uclinux targets.
              * config/lm32: New directory.
              * config/lm32/lm32.c: New file.
              * config/lm32/lm32.h: New file.
              * config/lm32/lm32.md: New file.
              * config/lm32/lm32.opt: New file.
              * config/lm32/lm32-protos.h: New file.
              * config/lm32/constraints.md: New file.
              * config/lm32/predicates.md: New file.
              * config/lm32/sfp-machine.h: New file.
              * config/lm32/t-fprules-softfp: New file.
              * config/lm32/uclinux-elf.h: New file.
              * doc/invoke.texi: Document lm32 options. 
              * doc/contrib.texi: Document lm32 porter.
              * doc/install.texi: Document lm32 targets.
      
      gcc/testsuite/
      2009-11-11  Jon Beniston <jon@beniston.com>
      
              * lib/target-supports.exp (check_profiling_available): lm32 target 
                doesn't support profiling.
              * gcc.dg/20020312-2.c: Add lm32 support.
              * g++.dg/other/packed1.C: Expect to fail on lm32.        
              * g++.old-deja/g++.jason/thunk3.C: Likewise.                 
      
      libgcc/
      2009-11-11  Jon Beniston <jon@beniston.com>
      
              * config.host: Add lm32 targets.
              * config/lm32: New directory.
              * config/lm32/libgcc_lm32.h: New file.
              * config/lm32/_mulsi3.c: New file.
              * config/lm32/_udivmodsi4.c: New file.
              * config/lm32/_divsi3.c: New file.
              * config/lm32/_modsi3.c: New file.
              * config/lm32/_udivsi3.c: New file.
              * config/lm32/_umodsi3.c: New file.
              * config/lm32/_lshrsi3.S: New file.
              * config/lm32/_ashrsi3.S: New file.
              * config/lm32/_ashlsi3.S: New file.
              * config/lm32/crti.S: New file.
              * config/lm32/crtn.S: New file.
              * config/lm32/t-lm32: New file.
              * config/lm32/t-elf: New file.
              * config/lm32/t-uclinux: New file.
      
      From-SVN: r154096
      Jon Beniston committed
    • re PR lto/41932 (LTO ICE when compiling ocaml trunk (incompatible type)) · 05d3aa37
      2009-11-11  Martin Jambor  <mjambor@suse.cz>
      
      	PR lto/41932
      	* ipa-prop.c (ipa_update_after_lto_read): Call
      	ipa_check_create_node_params and ipa_check_create_edge_args.  Also
      	call ipa_initialize_node_params instead of ipa_populate_param_decls.
      
      From-SVN: r154095
      Martin Jambor committed
    • arm.c (neon_vdup_constant, [...]): New. · 814a4c3b
      	gcc/
      	* config/arm/arm.c (neon_vdup_constant, neon_make_constant): New.
      	(neon_expand_vector_init): Use them.  Also handle non-constant
      	vectors with identical elements and vectors with only one
      	non-constant element.
      	(arm_print_operand): Handle 'y' modifier.
      	* config/arm/arm-protos.h (neon_make_constant): Declare.
      	* config/arm/neon.md (neon_vdup_n<mode>): Split into two
      	patterns.  Use VX instead of VDQW for the first one.  Allow
      	a VFP alternative and V32 modes for the second one.
      	* config/arm/neon.ml (shape_elt): Add Alternatives.
      	(ops): Use Alternatives for vdup lane instructions.
      	* config/arm/neon-testgen.ml (analyze_shape): Handle Alternatives.
      	* config/arm/vec-common.md (mov<mode>): Use neon_make_constant.
      
      	gcc/testsuite/
      	* gcc.target/arm/neon: Regenerate generated tests.
      
      From-SVN: r154094
      Daniel Jacobowitz committed
    • neon.md (*neon_mov<mode>): Reject two non-register operands. · 40f73786
      	* config/arm/neon.md (*neon_mov<mode>): Reject two non-register
      	operands.
      	(movti, mov<mode>): Call force_reg on one operand if required.
      	* config/arm/vec-common.md (mov<mode>): Likewise.
      
      From-SVN: r154093
      Daniel Jacobowitz committed
    • arm.c (arm_override_options): Enable scheduling for Thumb-2. · 4aef21c8
      	* config/arm/arm.c (arm_override_options): Enable scheduling for
      	Thumb-2.
      
      From-SVN: r154092
      Daniel Jacobowitz committed
    • Daily bump. · f0c6a5da
      From-SVN: r154087
      GCC Administrator committed
  3. 10 Nov, 2009 13 commits
    • re PR target/10127 (-fstack-check let's program crash) · c35af30f
      	PR target/10127
      	PR ada/20548
      	* expr.h (anti_adjust_stack_and_probe): Declare.
      	* explow.c (anti_adjust_stack_and_probe): Make global, add ADJUST_BACK
      	parameter and rewrite head comment.
      	(allocate_dynamic_stack_space): Adjust call to above function.
      	* function.c (expand_function_end): Handle STACK_CHECK_MOVING_SP.
      
      	* tree.h (dwarf2out_args_size): Delete.
      	* dwarf2out.c (dwarf2out_args_size): Make static and move around.
      	(dwarf2out_args_size_adjust): Delete prototype and move around.
      	(dwarf2out_frame_debug_expr): Do not record arg size adjustments for
      	ACCUMULATE_OUTGOING_ARGS targets.
      
      From-SVN: r154079
      Eric Botcazou committed
    • * id.po: Update. · 35230a78
      From-SVN: r154077
      Joseph Myers committed
    • * call.c (build_op_delete_call): Tweak error. · 1e799955
      From-SVN: r154073
      Jason Merrill committed
    • re PR c++/34158 (Template delete doesn't call if exception thrown in constructor) · 58926110
      	PR c++/34158
      	PR c++/36406
      	* call.c (non_placement_deallocation_fn_p): Split out...
      	(build_op_delete_call): ...from here.  Use instantiate_type
      	for placement delete.  Simplify logic.
      	* pt.c (primary_template_instantiation_p): Non-static.
      	* cp-tree.h: Declare it.
      
      From-SVN: r154072
      Jason Merrill committed
    • vect-multitypes-5.c: XFAIL on SPARC 32-bit. · 5f743a56
      	* gcc.dg/vect/vect-multitypes-5.c: XFAIL on SPARC 32-bit.
      	* gcc.dg/vect/vect-multitypes-6.c: Likewise.
      	* gcc.dg/vect/vect-multitypes-12.c: Likewise.
      	* gcc.dg/vect/slp-multitypes-3.c: Likewise.
      
      From-SVN: r154070
      Eric Botcazou committed
    • sparc.c (print_operand): Test for a non-null DECL_SIZE of DECL_RESULT before evaluating it. · 66695571
      	* config/sparc/sparc.c (print_operand) <')'>: Test for a non-null
      	DECL_SIZE of DECL_RESULT before evaluating it.
      
      From-SVN: r154068
      Eric Botcazou committed
    • ipa-sra-2.c: Use calloc instead of malloc. · 6692a053
      	* gcc.c-torture/execute/ipa-sra-2.c: Use calloc instead of malloc.
      	* gcc.dg/pr41963.c: Do not include math.h.  Declare fabsf manually.
      
      From-SVN: r154067
      Eric Botcazou committed
    • re PR tree-optimization/41987 (expected class ‘constant’, have ‘binary’… · 08d19889
      re PR tree-optimization/41987 (expected class ‘constant’, have ‘binary’ (rdiv_expr) in build_complex, at tree.c:1485)
      
      	PR tree-optimization/41987
      	* fold-const.c (const_binop): Avoid using fold_buildN().
      
      testsuite:
      	* gcc.c-torture/compile/pr41987.c: New.
      
      From-SVN: r154065
      Kaveh R. Ghazi committed
    • tree-pass.h (struct ipa_opt_pass_d): Added stmt_fixup field. · 2c5721d9
      2009-11-10  Martin Jambor  <mjambor@suse.cz>
      
      	* tree-pass.h (struct ipa_opt_pass_d): Added stmt_fixup field.
      	(execute_all_ipa_stmt_fixups): Declare.
      	* ipa-cp.c (pass_ipa_cp): Added stmt_fixup value.
      	* ipa-inline.c (pass_ipa_inline): Likewise.
      	* ipa-pure-const.c (pass_ipa_pure_cons): Likewise.
      	* ipa-reference.c (pass_ipa_reference): Likewise.
      	* ipa.c (pass_ipa_whole_program_visibility): Likewise.
      	* lto-streamer-out.c (pass_ipa_lto_gimple_out): Likewise.
      	(pass_ipa_lto_finish_out): Likewise.
      	* lto-wpa-fixup.c (pass_ipa_lto_wpa_fixup): Likewise.
      	* passes.c (execute_ipa_stmt_fixups): New function.
      	(execute_all_ipa_stmt_fixups): New function.
      	* lto-streamer-in.c (input_function): Call execute_all_ipa_stmt_fixups.
      
      From-SVN: r154064
      Martin Jambor committed
    • re PR middle-end/20548 (ACATS c52103x c52104x c52104y segfault) · c587836d
      	PR ada/20548
      	* system-linux-alpha.ads (Stack_Check_Probes): Set to true.
      	* system-linux-hppa.ads (Stack_Check_Probes): Likewise.
      	* system-linux-sparc.ads (Stack_Check_Probes): Likewise.
      	* system-linux-sparcv9.ads (Stack_Check_Probes): Likewise.
      
      From-SVN: r154063
      Eric Botcazou committed
    • system-linux-alpha.ads (AAMP, [...]): Delete. · f1faf79d
      	* system-linux-alpha.ads (AAMP, Compiler_System_Version, OpenVMS,
      	Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined):
      	Delete.
      	(Stack_Check_Limits, Always_Compatible_Rep): New.
      	* system-linux-mips.ads (AAMP, Compiler_System_Version, OpenVMS,
      	Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined):
      	Delete.
      	(Stack_Check_Limits, Always_Compatible_Rep): New.
      	* system-linux-mips64el.ads (AAMP, Compiler_System_Version, OpenVMS,
      	Functions_Return_By_DSP, Front_End_ZCX_Support, High_Integrity_Mode,
      	Long_Shifts_Inlined): Delete.
      	(Stack_Check_Limits, Always_Compatible_Rep): New.
      	* system-linux-mipsel.ads (AAMP, Compiler_System_Version, OpenVMS,
      	Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined):
      	Delete.
      	(Stack_Check_Limits, Always_Compatible_Rep): New.
      	* system-linux-s390.ads (AAMP, Compiler_System_Version, OpenVMS,
      	Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined):
      	Delete.
      	(Stack_Check_Limits, Always_Compatible_Rep): New.
      	* system-linux-s390x.ads (AAMP, Compiler_System_Version, OpenVMS,
      	Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined):
      	Delete.
      	(Stack_Check_Limits, Always_Compatible_Rep): New.
      	* system-linux-sh4.ads (Stack_Check_Limits, Always_Compatible_Rep):
      	New.
      	* system-linux-sparc.ads (AAMP, Compiler_System_Version, OpenVMS,
      	Front_End_ZCX_Support): Delete.
      	(Stack_Check_Limits, Always_Compatible_Rep): New.
      	* system-linux-sparcv9.ads (AAMP, Compiler_System_Version, OpenVMS,
      	Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined):
      	Delete.
      	(Stack_Check_Limits, Always_Compatible_Rep): New.
      	* system-rtems.ads (OpenVMS): Delete.
      	(Stack_Check_Limits, Always_Compatible_Rep): New.
      
      From-SVN: r154062
      Eric Botcazou committed
    • re PR middle-end/20548 (ACATS c52103x c52104x c52104y segfault) · 949fa04c
      	PR ada/20548
      	* explow.c (probe_stack_range): Fix typo.
      	* config/sparc/sparc.md (probe_stack): New expander.
      
      From-SVN: r154061
      Eric Botcazou committed
    • Daily bump. · 96759a5b
      From-SVN: r154058
      GCC Administrator committed
  4. 09 Nov, 2009 1 commit