1. 08 Sep, 2009 17 commits
    • libtool.m4 (output_verbose_link_cmd): Require leading blank, and blank before -L. · 713e2ea6
      ChangeLog:
      * libtool.m4 (output_verbose_link_cmd): Require leading blank, and
      blank before -L.
      gcc/ChangeLog:
      * configure: Rebuilt with modified libtool.m4.
      libstdc++-v3/ChangeLog:
      * configure: Rebuilt with modified libtool.m4.
      boehm-gc/ChangeLog:
      * configure: Rebuilt with modified libtool.m4.
      libjava/ChangeLog:
      * configure: Rebuilt with modified libtool.m4.
      
      From-SVN: r151522
      Alexandre Oliva committed
    • re PR debug/41229 (VTA: internal compiler error: verify_ssa failed) · 91642126
      gcc/ChangeLog:
      PR debug/41229
      PR debug/41291
      PR debug/41300
      * tree-ssa.c (execute_update_addresses_taken): Update debug insns.
      gcc/testsuite/ChangeLog:
      PR debug/41229
      PR debug/41291
      PR debug/41300
      * gfortran.dg/pr41229.f90: New.
      
      From-SVN: r151521
      Alexandre Oliva committed
    • tree-ssa-loop-ivopts.c (get_phi_with_result): Remove. · ae0a4449
      * tree-ssa-loop-ivopts.c (get_phi_with_result): Remove.
      (remove_statement): Likewise.
      (rewrite_use_nonlinear_expr): Adjust.
      (remove_unused_ivs): Collect SSA NAMEs to remove and call...
      * tree-ssa.c (release_defs_bitset): ... this.  New.
      * tree-flow.h (release_defs_bitset): Declare.
      
      From-SVN: r151520
      Alexandre Oliva committed
    • re PR debug/41232 (VTA: SSA name in freelist but still referenced) · 21719cea
      gcc/ChangeLog:
      PR debug/41232
      * tree-ssa-phiopt.c (minmax_replacement): Skip debug stmts
      in the middle block.
      gcc/testsuite/ChangeLog:
      PR debug/41232
      * gcc.dg/pr41232.c: New.
      
      From-SVN: r151519
      Alexandre Oliva committed
    • sed portability fixes in fixincludes · a3d37119
      fixincludes/:
      	PR testsuite/29737
      	PR bootstrap/35938
      	PR testsuite/39655
      	* check.tpl: Fix typos.
      	* README: Likewise.  Also, document that 'select' uses ERE.
      	* mkheaders.in: Update copyright years in --version output.
      	* inclhack.def (sco_math): Add missing final newline in sed
      	script 'a', 'c', or 'i' commands, for BSD sed.
      	(sco_math): In the text of 'a', 'c', or 'i' sed
      	commands, prepend leading white space with a backslash to avoid
      	the whitespace to be removed by BSD sed.
      	(sco_math): Match plain 'C++' instead of 'C\+\+' in sed regex.
      	(x11_new): Fix sed expression, for BSD sed.
      	(glibc_mutex_init): Fix newlines in sed 's' command replacement
      	part, for GNU sed 3.02 and Solaris sed.
      	(glibc_mutex_init): Replace unportable \+ sed regex operator
      	with \{1,\}.
      	(glibc_c99_inline_2, glibc_mutex_init): Avoid unportable sed
      	alternation \| regex operator.
      	(solaris_complex): Remove superfluous backslashes from
      	replacement string.  Replace \+ operator with \{1,\}.
      	* tests/base/Xm/Traversal.h: This is fixed for BSD sed now.
      	* fixincl.x: Regenerate.
      
      From-SVN: r151518
      Ralf Wildenhues committed
    • Missed regeneration. · fa802374
      From-SVN: r151516
      Kai Tietz committed
    • tree-ssa-reassoc.c (find_operand_rank): Cast pointer via intptr_t to long type. · 34c6743c
      2009-09-08  Kai Tietz  <kai.tietz@onevision.com>
      
              * tree-ssa-reassoc.c (find_operand_rank): Cast pointer
              via intptr_t to long type.
              (insert_operand_rank): Cast long type via intptr_t to
              pointer type.
              * genattrtab.c (RTL_HASH): Use intptr_t to cast from
              pointer to scalar.
              * c-pretty-print.c (pp_c_tree_decl_identifier): Cast
              from pointer to unsigned via uintptr_t.
      
      From-SVN: r151515
      Kai Tietz committed
    • [multiple changes] · 7c2a2dbf
      2009-09-08  Paolo Bonzini  <bonzini@gnu.org>
      
      	* stdint.m4: Rewrite by using autoconf 2.64 features.
      
      2009-09-08  Kai Tietz  <kai.tietz@onevision.com>
      
      	* configure.ac (GCC_STDINT_TYPES): Initialize intptr_t,
      	uintptr_t, HAVE_INTTYPES_H, HAVE_STDINT_H, HAVE_UINTPTR_T,
      	and HAVE_INTPTR_T.
      	* configure: Regenerated.
      	* config.in: Regenerated
      	* system.h (stdint.h): Add include.
      	(inttypes.h): Likewise.
      	* Makefile.in (aclocal): Add config/stdint.m4.
      	* aclocal.m4: Regenerated.
      
      From-SVN: r151514
      Kai Tietz committed
    • bfin.c (np_check_regno, [...]): New static variables. · 8472b255
      	* config/bfin/bfin.c (np_check_regno, np_after_branch): New static
      	variables.
      	(note_np_check_stores): New function.
      	(harmless_null_pointer_p): New function.
      	(trapping_loads_p): New args NP_REG and AFTER_NP_BRANCH.  Callers
      	changed.  Take into account whether we're in the shadow of a condjump
      	that tested NP_REG for NULL.
      	Lose all code that tested for SEQUENCEs.
      	(workaround_speculation): Avoid inserting NOPs for loads that are
      	either always executed or a NULL pointer.
      
      From-SVN: r151513
      Bernd Schmidt committed
    • invoke.texi (early-inlining-insns): Reduce from 12 to 8. · ac875c2e
      
      	* doc/invoke.texi (early-inlining-insns): Reduce from 12 to 8.
      	* params.def (early-inlining-insns): Likewise.
      
      From-SVN: r151511
      Jan Hubicka committed
    • * id.po: Update. · 05266d7f
      From-SVN: r151508
      Joseph Myers committed
    • i386-prefetch.exp: Skip tests when multilib flags contain -march. · 3dd1415d
      	* gcc.misc-tests/i386-prefetch.exp: Skip tests when multilib flags
      	contain -march.
      	* gcc.dg/tree-ssa/prefetch-7.c, gcc.target/i386/387-1.c,
      	gcc.target/i386/387-5.c, gcc.target/i386/cmov7.c,
      	gcc.target/i386/funcspec-1.c, gcc.target/i386/funcspec-8.c,
      	gcc.target/i386/gcc-have-sync-compare-and-swap-1.c,
      	gcc.target/i386/gcc-have-sync-compare-and-swap-2.c,
      	gcc.target/i386/isa-6.c, gcc.target/i386/lea.c,
      	gcc.target/i386/pentium4-not-mull.c, gcc.target/i386/sse-5.c,
      	gcc.target/i386/ssefn-1.c: Skip when multilib flags contain -march
      	options other than that used in dg-options.
      
      From-SVN: r151506
      Joseph Myers committed
    • re PR rtl-optimization/41239 (Scheduler reorders division by zero before a call… · 1098d3a5
      re PR rtl-optimization/41239 (Scheduler reorders division by zero before a call that might not return)
      
      	PR rtl-optimization/41239
      	* sched-int.h (struct deps): Add last_function_call_may_noreturn field.
      	* sched-rgn.c (deps_join): Join also last_function_call_may_noreturn
      	lists.
      	* sched-deps.c (sched_analyze_insn): Prevent moving trapping insns
      	across calls, as the calls might not always return normally.
      	(call_may_noreturn_p): New function.
      	(deps_analyze_insn): Update last_function_call_may_noreturn list.
      	(init_deps): Initialize it.
      	(remove_from_deps): Also remove calls from
      	last_function_call_may_noreturn list.
      
      	* gcc.c-torture/execute/pr41239.c: New test.
      
      From-SVN: r151500
      Jakub Jelinek committed
    • * gcc-interface/targtyps.c: Reorder include directives. · c673a2c7
      From-SVN: r151498
      Eric Botcazou committed
    • re PR fortran/41192 (NAMELIST input with just a comment ("&NAME ! comment \") fails) · c89c07c2
      2009-09-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/41192
      	* gfortran.dg/namelist_59.f90: New test.
      
      From-SVN: r151496
      Jerry DeLisle committed
    • re PR fortran/41192 (NAMELIST input with just a comment ("&NAME ! comment \") fails) · 951b8fbe
      2009-09-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/41192
      	* io/list_read.c (eat_line): Enable eat_line to function on
      	internal units.
      
      	PR libgfortran/41219
      	* io/list_read.c (nml_read_obj): Replace GFC_DTYPE_UNKNOWN with
      	BT_NULL to get rid of warning.
      
      From-SVN: r151495
      Jerry DeLisle committed
    • Daily bump. · 21a4564b
      From-SVN: r151494
      GCC Administrator committed
  2. 07 Sep, 2009 15 commits
    • From Jie Zhang <jie.zhang@analog.com>: · b3187e24
      	* config/bfin/predicates.md (p_register_operand): New
      	predicate.
      	(dp_register_operand): New predicate.
      	* config/bfin/bfin-protos.h (WA_05000074): Define.
      	(ENABLE_WA_05000074): Define.
      	* config/bfin/bfin.c (bfin_cpus[]): Add WA_05000074 for
      	all cpus.
      	(bfin_gen_bundles): Put dsp32shiftimm instruction in slot[0].
      	* config/bfin/bfin.md (define_attr type): Add dsp32shiftimm.
      	(define_attr addrtype): Allow load/store register to be
      	P register.
      	(define_attr storereg): New.
      	(define_cpu_unit anomaly_05000074): New.
      	(define_insn_reservation dsp32shiftimm): New.
      	(define_insn_reservation dsp32shiftimm_anomaly_05000074): New.
      	(define_insn_reservation loadp): Cannot use slot2.
      	(define_insn_reservation loadsp): Cannot use slot2.
      	(define_insn_reservation storep): Cannot use slot2. Does not
      	apply when working around 05000074.
      	(define_insn_reservation storep_anomaly_05000074): New.
      	(define_insn_reservation storei): Does not apply when working
      	around 05000074.
      	(define_insn_reservation storei_anomaly_05000074): New.
      	(define_attr length): Add dsp32shiftimm case.
      	(define_insn movsi_insn32, movsi_insv, ashlsi3_insn, ashrsi3,
      	ror_one, rol_one, lshrsi3, lshrpdi3, ashrpdi3, movhiv2hi_low,
      	movhiv2hi_high, composev2hi, packv2hi, movv2hi_hi,
      	ssashiftv2hi3, ssashifthi3, ssashiftsi3, lshiftv2hi3, lshifthi3):
      	Set type as dsp32shiftimm for dsp32shiftimm alternatives.
      
      From-SVN: r151490
      Bernd Schmidt committed
    • gcc/ · 5254cd50
      	From Mike Frysinger  <michael.frysinger@analog.com>
      	* config/bfin/bfin-protos.h (bfin_cpu_type): Add BFIN_CPU_BF542M,
      	BFIN_CPU_BF544M, BFIN_CPU_BF547M, BFIN_CPU_BF548M, and BFIN_CPU_BF549M.
      	* config/bfin/bfin.c (bfin_cpus[]): Add 0.3 for bf542m, bf544m, bf547m,
      	bf548m, and bf549m.
      	* config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __ADSPBF542M__
      	for BFIN_CPU_BF542M, __ADSPBF544M__ for BFIN_CPU_BF544M, __ADSPBF547M__
      	for BFIN_CPU_BF547M, __ADSPBF548M__ for BFIN_CPU_BF548M, and
      	__ADSPBF549M__ for BFIN_CPU_BF549M.
      	* config/bfin/t-bfin-elf (MULTILIB_MATCHES): Select bf532-none for
      	bf542m-none, bf544m-none, bf547m-none, bf548m-none, and bf549m-none.
      	* config/bfin/t-bfin-linux (MULTILIB_MATCHES): Likewise.
      	* config/bfin/t-bfin-uclinux (MULTILIB_MATCHES): Likewise.
      	* doc/invoke.texi (Blackfin Options): Document that -mcpu now accepts
      	bf542m, bf544m, bf547m, bf548m, and bf549m.
      
      gcc/testsuite/
      	From Mike Frysinger  <michael.frysinger@analog.com>
      	* gcc.target/bfin/mcpu-bf542m.c: New file.
      	* gcc.target/bfin/mcpu-bf544m.c: Likewise.
      	* gcc.target/bfin/mcpu-bf546m.c: Likewise.
      	* gcc.target/bfin/mcpu-bf548m.c: Likewise.
      	* gcc.target/bfin/mcpu-bf549m.c: Likewise.
      
      From-SVN: r151488
      Bernd Schmidt committed
    • From Jie Zhang <jie.zhang@analog.com>: · 4dce27df
      	* config/bfin/bfin-protos.h (enum bfin_cpu_type, bfin_cpu_type,
      	bfin_si_revision, bfin_workarounds): Move these ...
      	* config/bfin/bfin.h: ... here.
      
      From-SVN: r151487
      Bernd Schmidt committed
    • bfin.md (UNSPEC_VOLATILE_STALL): New constant. · c7cb1555
      	* config/bfin/bfin.md (UNSPEC_VOLATILE_STALL): New constant.
      	(attr "addrtype"): New member "spreg".
      	Use it if mem_spfp_address_operand is true for the address.
      	(attr "type"): New entry "stall".
      	(cpu_unit "load"): New.
      	(insn_reservations "load32", "loadp", "loadi"): Add reservation of
      	"load".
      	(insn_reservation "loadsp"): New.
      	(insn_reservation "load_stall1"): New.
      	(insn_reservation "load_stall3"): New.
      	(stall): New insn.	
      	* config/bfin/predicates.md (const1_operand, const3_operand): New.
      	(mem_p_address_operand): Exclude stack and frame pointer based
      	addresses.
      	(mem_spfp_address_operand): New; match them here.
      	* config/bfin/bfin.c (add_sched_insns_for_speculation): New function.
      	(bfin_reorg): Call it if scheduling insns.
      	(bfin_gen_bundles): Remove dummy insns created by
      	add_sched_insns_for_speculation.
      
      From-SVN: r151486
      Bernd Schmidt committed
    • re PR middle-end/41282 (Revision 151394 failed to compile mplayer) · 4a50e99c
      2009-09-07  Martin Jambor  <mjambor@suse.cz>
      
      	PR middle-end/41282
      	* tree-sra.c (create_artificial_child_access): Return NULL if
      	build_ref_for_offset fails.
      	(propagate_subacesses_accross_link): Allow build_ref_for_offset
      	and create_artificial_child_access to fail.
      
      	* testsuite/gcc.c-torture/compile/pr41282.c: New test.
      
      From-SVN: r151484
      Martin Jambor committed
    • re PR c++/41214 (Null pointer dereferenced in _Unwind_SetGR()) · e5b258a4
      PR c++/41214
              * unwind-dw2.c (uw_init_context_1): Mark noinline.
              * config/ia64/unwind-ia64.c (uw_init_context_1): Likewise.
              * config/xtensa/unwind-dw2-xtensa.c (uw_init_context_1): Likewise.
      
      From-SVN: r151482
      Dmitry Gorbachev committed
    • re PR fortran/41197 (ICE with ALLOCATE and nonscalar STAT= variable) · 6c145259
      2009-09-07  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/41197
      	* resolve_c (resolve_allocate_deallocate):  Complain
      	if stat or errmsg varaible is an array.
      
      2009-09-07  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/41197
      	* gfortran.dg/allocate_alloc_opt_1.f90:  Use scalar
      	variables for stat and errmsg.
      	* gfortran.dg/deallocate_alloc_opt_1.f90:  Likewise.
      	* gfortran.dg/allocate_stat_2.f90:  New test.
      
      From-SVN: r151480
      Thomas Koenig committed
    • bfin.c (bfin_optimize_loop): When creating a new basic block, ensure it has an exit edge. · 8ff7f824
      gcc/
      	* config/bfin/bfin.c (bfin_optimize_loop): When creating a new basic
      	block, ensure it has an exit edge.  Emit a barrier after a jump.
      
      gcc/testsuite/
      	* gcc.c-torture/compile/20090907-1.c: New test.
      
      From-SVN: r151479
      Bernd Schmidt committed
    • gcc.c (this_is_linker_script): New variable. · 3beb864c
              * gcc.c (this_is_linker_script): New variable.  Like
              this_is_library_file but for the %T constructor.
              (end_going_arg): If this_is_linker_script is set then locate the
              script and insert a --script switch before it
              (do_spec_2): Initialise this_is_linker_script.
              (do_spec_1): Likewise.  Handle %T construct.
              (eval_spec_function): Preserve this_is_linker_script.
              * doc/invoke.texi: Document %T construct in spec files.
              * config/m32c/m32c.h (LIB_SPEC): Use it.
      
      From-SVN: r151477
      Nick Clifton committed
    • re PR libstdc++/41280 (Revision 151352 breaks 32bit libstdc++) · d4e0a1c0
      2009-09-07  H.J. Lu  <hongjiu.lu@intel.com>
                  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
      
      	PR libstdc++/41280
      	* configure.ac: Run "${multi_basedir}/config-ml.in" to generate
      	MULTISUBDIR = in subdirectory Makefiles, with ml_norecursion set.
      	* configure: Regenerate.
      
      Co-Authored-By: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
      
      From-SVN: r151476
      H.J. Lu committed
    • rtl.h (PREFETCH_SCHEDULE_BARRIER_P): New macro. · 3fce100b
      2009-09-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* rtl.h (PREFETCH_SCHEDULE_BARRIER_P): New macro.	
      	* sched-deps.c (sched_analyze_2): Make prefetches a hard barrier
      	when volatile flag is set.
      	* doc/rtl.texi (PREFETCH_SCHEDULE_BARRIER_P): Add documentation pieces.
      
      From-SVN: r151475
      Andreas Krebbel committed
    • targtyps.c: Add missing include for tm_p.h. · 2dcbb2c0
      2009-09-07  Laurent GUERBY  <laurent@guerby.net>
      
      	* gcc-interface/targtyps.c: Add missing include for tm_p.h.
      	* gcc-interface/Make-lang.in: Update dependencies.
      
      From-SVN: r151474
      Laurent GUERBY committed
    • make.adb: Add missing documentation for multilib handling. · e9491f46
      2009-09-07  Laurent GUERBY  <laurent@guerby.net>
      
              * make.adb: Add missing documentation for multilib handling.
      
      From-SVN: r151473
      Laurent GUERBY committed
    • Fix typo · 7717df30
      From-SVN: r151468
      Eric Botcazou committed
    • Daily bump. · a7303f2b
      From-SVN: r151466
      GCC Administrator committed
  3. 06 Sep, 2009 6 commits
  4. 05 Sep, 2009 2 commits