1. 22 Sep, 2012 4 commits
  2. 21 Sep, 2012 15 commits
  3. 20 Sep, 2012 21 commits
    • re PR bootstrap/54643 (Build hangs compiling unwind-arm.c) · 4f66c9bc
      	PR bootstrap/54643
      	* haifa-sched.c (schedule_block): Skip find_modifiable_mems if using
      	SCHED_PRESSURE_MODEL.
      
      From-SVN: r191595
      Bernd Schmidt committed
    • opt20.ads: Move dg directive to... · 8604dde0
      	* gnat.dg/opt20.ads: Move dg directive to...
      	* gnat.dg/opt20.adb: ...here.
      	* gnat.dg/addr1.ad[sb]: Likewise.
      	* gnat.dg/concat2.ad[sb]: Likewise.
      	* gnat.dg/array16.ad[sb]: Likewise.
      	* gnat.dg/atomic5.ad[sb]: Likewise.
      	* gnat.dg/discr29.ad[sb]: Likewise.
      	* gnat.dg/noreturn5.ad[sb]: Likewise.
      	* gnat.dg/vect8.ad[sb]: Likewise.  Add dg-options.
      	* gnat.dg/discr23.ads: Remove dg directive.
      	* gnat.dg/nested_float_packed.ads: Likewise.
      	* gnat.dg/oconst6.ads: Move to...
      	* gnat.dg/specs/oconst6.ads: ...here.
      
      From-SVN: r191592
      Eric Botcazou committed
    • re PR fortran/54599 (Issues found in gfortran by the Coverity Scan) · dee1c265
      2012-09-20  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/54599
              * cpp.c (print_line): Properly handle extern C.
      
      From-SVN: r191590
      Tobias Burnus committed
    • * rtlanal.c (dead_or_set_regno_p): Fix COND_EXEC handling. · 10439b59
      From-SVN: r191586
      Joern Rennecke committed
    • Add tilegx to list of targets that support gold. · 8750dfc5
             * configure.ac: Add tilegx to list of targets that support gold.
             * configure: Regenerate.
      
      From-SVN: r191585
      Walter Lee committed
    • compiler: Update for GCC push_cfun changes. · 9af5c88c
      From-SVN: r191582
      Ian Lance Taylor committed
    • Merge identical cases. · 5ae27c9c
      From-SVN: r191581
      Marek Polacek committed
    • Don't cast XNEWVEC's result. · 97a74ddb
      From-SVN: r191580
      Marek Polacek committed
    • Add myself to MAINTAINERS. · 61e12aff
      From-SVN: r191578
      Marek Polacek committed
    • function.c (push_cfun): Check old current_function_decl matches old cfun... · af16bc76
      2012-09-20  Martin Jambor  <mjambor@suse.cz>
      
      	* function.c (push_cfun): Check old current_function_decl matches
      	old cfun, set new current_function_decl to the decl of the new
      	cfun.
      	(push_struct_function): Likewise.
      	(pop_cfun): Likewise.
      	(allocate_struct_function): Move call to
      	invoke_set_current_function_hook to the end of the function.
      	* cfgexpand.c (estimated_stack_frame_size): Do not set and restore
      	current_function_decl.
      	* cgraph.c (cgraph_release_function_body): Likewise.
      	* cgraphunit.c (cgraph_process_new_functions): Likewise.
      	(cgraph_add_new_function): Likewise.
      	(cgraph_analyze_function): Likewise.
      	(assemble_thunk): Set cfun to NULL at the end.
      	(expand_function): Move call to set_cfun downwards.
      	* gimple-low.c (record_vars_into): Only check current_function_decl
      	before possibly doing push_cfun.
      	* gimplify.c (gimplify_function_tree): Do not set and restore
      	current_function_decl.
      	* ipa-inline-analysis.c (compute_inline_parameters): Likewise.
      	(inline_analyze_function): Likewise.
      	* ipa-prop.c (ipa_analyze_node): Likewise.
      	* ipa-pure-const.c (analyze_function): Likewise.
      	* lto-streamer-in.c (lto_input_function_body): Do not set
      	current_function_decl.
      	* lto-streamer-out.c (output_function): Do not set and restore
      	current_function_decl.
      	* omp-low.c (finalize_task_copyfn): Likewise.
      	(expand_omp_taskreg): Likewise.
      	(create_task_copyfn): Likewise, move push_cfun up quite a bit.
      	* passes.c (dump_passes): Do not set and restore current_function_decl.
      	(do_per_function): Likewise.
      	(do_per_function_toporder): Likewise.
      	* trans-mem.c (ipa_tm_scan_irr_function): Likewise.
      	(ipa_tm_transform_transaction): Likewise.
      	(ipa_tm_transform_clone): Likewise.
      	(ipa_tm_execute): Likewise.
      	* tree-emutls.c (lower_emutls_function_body): Likewise.
      	* tree-inline.c (initialize_cfun): Do not call pop_cfun.
      	(tree_function_versioning): Do not call push_cfun, do not set and
      	restore current_function_decl.  Remove assert checking consistency of
      	cfun and current_function_decl.
      	* tree-profile.c (tree_profiling): Do not set and restore
      	current_function_decl.
      	* tree-sra.c (convert_callers_for_node): Do not set
      	current_function_decl.
      	(convert_callers): Do not restore current_function_decl.
      	(modify_function): Do not set current_function_decl.
      	* tree-ssa-structalias.c (ipa_pta_execute): Do not set and restore
      	current_function_decl.
      
      fortran/
      	* trans-decl.c (gfc_get_extern_function_decl): Push NULL cfun.  Do not
      	set and restore current_function_decl.
      	(gfc_init_coarray_decl): Do not set and restore current_function_decl.
      
      lto/
      	* lto.c (lto_materialize_function): Call push_struct_function and
      	pop_cfun.
      
      From-SVN: r191577
      Martin Jambor committed
    • re PR target/54631 (vxworks.c fails to compile) · fc1bc21b
      	PR target/54631
      	* config/vxworks.c (vxworks_emutls_var_init): Update for new
      	VEC_quick_push interface.
      
      From-SVN: r191574
      Diego Novillo committed
    • re PR tree-optimization/54634 (miscompilation with -O3 -ftree-loop-distribution) · f2ea3c15
      2012-09-20  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/54634
      	* tree-data-ref.c (get_references_in_stmt): For now give
      	up for pure functions.
      
      From-SVN: r191567
      Richard Guenther committed
    • re PR other/43620 ([4.3 Release Blocker] Uploading to gnu.org will fail due to… · c0758df9
      re PR other/43620 ([4.3 Release Blocker] Uploading to gnu.org will fail due to automake security issue)
      
      	PR other/43620
      libatomic/
      	* configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      libitm/
      	* configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      
      From-SVN: r191565
      Jakub Jelinek committed
    • re PR c++/52432 ([C++11] -fdump-tree-gimple causes ICE: Error reporting routines re-entered.) · 01e721f3
      /cp
      2012-09-20  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/52432
      	* pt.c (tsubst_copy_and_build): If tf_error is not set in the complain
      	argument don't call unqualified_name_lookup_error.
      
      /testsuite
      2012-09-20  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/52432
      	* g++.dg/cpp0x/decltype32.C: Tweak.
      
      From-SVN: r191564
      Paolo Carlini committed
    • forwprop-19.c: Check in forwprop1. · 9606465f
      2012-09-20  Marc Glisse  <marc.glisse@inria.fr>
      
      	* gcc.dg/tree-ssa/forwprop-19.c: Check in forwprop1.
      	* gcc.dg/tree-ssa/forwprop-20.c: Check in forwprop1.
      	* gcc.dg/tree-ssa/forwprop-21.c: Check in copyprop1.
      	* gcc.dg/tree-ssa/forwprop-22.c: Check in copyprop1.
      
      From-SVN: r191560
      Marc Glisse committed
    • 2012-09-20 Chen Wei-Ren <chenwj@iis.sinica.edu.tw> · a77fa1fc
      	doc/lto.texi: Correct typo.
      
      From-SVN: r191559
      Chen Wei-Ren committed
    • compiler: Fix struct hash and equality with _ fields. · 6c74ce92
      From-SVN: r191511
      Ian Lance Taylor committed
    • s390.c (s390_chunkify_start): Replacing INSN_LOCATOR. · 9d12bc68
      2012-09-19  Dehao Chen  <dehao@google.com>
      
      	* config/s390/s390.c (s390_chunkify_start): Replacing INSN_LOCATOR.
      	* config/spu/spu.c (emit_nop_for_insn): Likewise.
      	(pad_bb): Likewise.
      	(spu_emit_branch_hint): Likewise.
      	(insert_hbrp_for_ilb_runout): Likewise.
      	* config/mep/mep.c (mep_make_bundle): Likewise.
      	(mep_bundle_insns): Likewise.
      	* config/sh/sh.c (gen_block_redirect): Likewise.
      	* config/c6x/c6x.c (gen_one_bundle): Likewise.
      	* config/rs6000/rs6000.c (rs6000_final_prescan_insn): Likewise.
      	* config/picochip/picochip.c (picochip_reorg): Likewise.
      	* config/arm/arm.c (require_pic_register): Likewise.
      	* config/mips/mips.c (mips16_gp_pseudo_reg): Likewise.
      	* config/bfin/bfin.c (gen_one_bundle): Likewise.
      
      From-SVN: r191510
      Dehao Chen committed
    • re PR libstdc++/28811 (--with-pic vs static libraries and libstdc++) · ac6d1200
      2012-09-18  Benjamin Kosnik  <bkoz@redhat.com>
      
              PR libstdc++/28811
              PR libstdc++/54482
              * configure.ac (glibcxx_lt_pic_flag,
                glibcxx_compiler_pic_flag,
                glibcxx_compiler_shared_flag): New. Use them.
              (lt_prog_compiler_pic_CXX): Set via glibcxx_*_flag(s) above.
              (pic_mode): Set to default.
              (PIC_CXXFLAGS): Remove.
              * Makefile.am (PICFLAG, PICFLAG_FOR_TARGET): Remove. Comment.
              * libsupc++/Makefile.am: Use glibcxx_ld_pic_flag and
                glibcxx_compiler_shared_flag. Comment.
              * src/c++11/Makefile.am: Same.
              * src/c++98/Makefile.am: Same.
              * src/Makefile.am: Use glibcxx_compiler_pic_flag.
      
              * Makefile.in: Regenerated.
              * aclocal.m4: Same.
              * configure: Same.
              * doc/Makefile.in: Same.
              * include/Makefile.in: Same.
              * libsupc++/Makefile.in: Same.
              * po/Makefile.in: Same.
              * python/Makefile.in: Same.
              * src/Makefile.in: Same.
              * src/c++11/Makefile.in: Same.
              * src/c++98/Makefile.in: Same.
              * testsuite/Makefile.in: Same.
      
              * src/c++11/compatibility-atomic-c++0x.cc: Use
                _GLIBCXX_SHARED instead of PIC to designate shared-only
                code blocks.
              * src/c++11/compatibility-c++0x.cc: Same.
              * src/c++11/compatibility-thread-c++0x.cc: Same.
              * src/c++98/compatibility-list-2.cc: Same.
              * src/c++98/compatibility.cc: : Same.
      
              * testsuite/17_intro/shared_with_static_deps.cc: New.
      
              * doc/xml/manual/build_hacking.xml: Separate configure from
              make/build issues, add build details.
      
      From-SVN: r191509
      Benjamin Kosnik committed