- 08 Sep, 2009 17 commits
-
-
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 -
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. (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 -
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 -
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 -
From-SVN: r151516
Kai Tietz committed -
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 -
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 -
* 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 -
* doc/invoke.texi (early-inlining-insns): Reduce from 12 to 8. * params.def (early-inlining-insns): Likewise. From-SVN: r151511
Jan Hubicka committed -
From-SVN: r151508
Joseph Myers committed -
* 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 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 -
From-SVN: r151498
Eric Botcazou committed -
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 -
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 -
From-SVN: r151494
GCC Administrator committed
-
- 07 Sep, 2009 15 commits
-
-
* 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 -
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 -
* 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 -
* 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 -
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 -
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 -
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 -
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. 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 -
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 -
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 -
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 -
2009-09-07 Laurent GUERBY <laurent@guerby.net> * make.adb: Add missing documentation for multilib handling. From-SVN: r151473
Laurent GUERBY committed -
From-SVN: r151468
Eric Botcazou committed -
From-SVN: r151466
GCC Administrator committed
-
- 06 Sep, 2009 6 commits
-
-
PR bootstrap/41241 * combine-stack-adj.c (try_apply_stack_adjustment): Handle stores. (combine_stack_adjustments_for_block): Allow insns between stack adjustments and stores with corresponding with pre-(dec|inc)rement or pre-modify. From-SVN: r151463
Eric Botcazou committed -
PR bootstrap/41241 * combine-stack-adj.c (struct csa_memlist): Rename to... (struct csa_reflist): ... this. Rename mem field to ref. (free_csa_memlist): Rename to... (free_csa_reflist): ... this. (record_one_stack_memref): Rename to... (record_one_stack_ref): ... this. Handle also REG_P. (try_apply_stack_adjustment): Handle also REG_P. (struct record_stack_memrefs_data): Rename to... (struct record_stack_refs_data): ... this. Rename memlist field to reflist. (record_stack_memrefs): Rename to... (record_stack_refs): ... this. For DEBUG_INSNs keep traversing subexpressions instead of failing when a MEM contains SP references. For SP itself in DEBUG_INSNs queue it also onto reflist chain. (combine_stack_adjustments_for_block): Adjust for mem to ref renaming. * gcc.dg/pr41241.c: New test. From-SVN: r151462
Jakub Jelinek committed -
2009-09-06 Richard Guenther <rguenther@suse.de> PR middle-end/41144 * tree.c (build_array_type): Do not record types marked with structural equality in the canonical type hashtable. * g++.dg/torture/pr41144.C: New testcase. From-SVN: r151461
Richard Guenther committed -
2009-09-06 Richard Guenther <rguenther@suse.de> PR middle-end/41261 * tree-ssa-alias.c (refs_may_alias_p_1): Bail out for function decls. * gcc.dg/torture/pr41261.c: New testcase. From-SVN: r151460
Richard Guenther committed -
re PR libstdc++/41267 (vector<>::resize() from an empty vector calls memmove for 0 bytes (twice), wasting a lot of cpu time in a production PowerDNS) 2009-09-06 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/41267 * include/bits/stl_algobase.h (__copy_move::__copy_m, __copy_move_backward::__copy_move_b): Don't call __builtin_memmove with a null third argument. From-SVN: r151459
Paolo Carlini committed -
From-SVN: r151458
GCC Administrator committed
-
- 05 Sep, 2009 2 commits
-
-
re PR tree-optimization/41181 (internal compiler error when using x86_64-w64-mingw32-gcc to build ffmpeg ac3enc.c) 2009-09-05 Richard Guenther <rguenther@suse.de> PR middle-end/41181 * tree-ssa-ccp.c (maybe_fold_stmt_addition): Use the correct type. * gcc.c-torture/compile/pr41181.c: New testcase. From-SVN: r151455
Richard Guenther committed -
2009-09-05 Richard Guenther <rguenther@suse.de> PR debug/41273 * tree-ssa-operands.c (get_tmr_operands): Pass through opf_no_vops. * g++.dg/torture/pr41273.C: New testcase. From-SVN: r151454
Richard Guenther committed
-