Jason Merrill [Tue, 8 Sep 2009 18:13:02 +0000 (14:13 -0400)]
class.c (currently_open_class): Make sure we're dealing with the main variant.
* class.c (currently_open_class): Make sure we're dealing with the
main variant.
From-SVN: r151529
Jason Merrill [Tue, 8 Sep 2009 18:12:54 +0000 (14:12 -0400)]
cp-tree.h (enum overload_flags): Remove OP_FLAG.
* cp-tree.h (enum overload_flags): Remove OP_FLAG.
* method.c (lazily_declare_fn): Check for dtorness in ABI warning.
From-SVN: r151528
Jason Merrill [Tue, 8 Sep 2009 18:12:45 +0000 (14:12 -0400)]
name-lookup.c (is_class_level): Remove.
* name-lookup.c (is_class_level): Remove.
(push_binding_level, leave_scope, resume_scope): Adjust.
(pushlevel_class): Adjust.
(poplevel_class): Make sure we're on class_binding_level.
From-SVN: r151527
Jason Merrill [Tue, 8 Sep 2009 18:12:37 +0000 (14:12 -0400)]
decl.c (grokmethod): Rename from start_method.
* decl.c (grokmethod): Rename from start_method.
(finish_method): Remove.
* cp-tree.h: Adjust.
* parser.c (cp_parser_save_member_function_body): Adjust.
From-SVN: r151526
Ralf Wildenhues [Tue, 8 Sep 2009 17:55:03 +0000 (17:55 +0000)]
Fix toplevel config.status for HP-UX sed.
/:
* configure.ac: Do not use $extrasub for replacing @if/@endif
parts in Makefile; instead, use additional arguments to
AC_CONFIG_COMMANDS to do the replacement manually, with several
sed invocations, to avoid HP-UX sed command limits.
* configure: Regenerate.
From-SVN: r151525
Alexandre Oliva [Tue, 8 Sep 2009 17:44:50 +0000 (17:44 +0000)]
toplev.c (process_options): Choose default debugging type when gtoggle enables debug info and type is unset.
* toplev.c (process_options): Choose default debugging type when
gtoggle enables debug info and type is unset.
From-SVN: r151524
Alexandre Oliva [Tue, 8 Sep 2009 17:44:10 +0000 (17:44 +0000)]
re PR debug/41276 (Segmentation fault in lookup_page_table_entry)
PR debug/41276
PR debug/41307
* cselib.c (cselib_expand_value_rtx_1): Don't return copy of
invalid subreg.
From-SVN: r151523
Alexandre Oliva [Tue, 8 Sep 2009 17:43:37 +0000 (17:43 +0000)]
libtool.m4 (output_verbose_link_cmd): Require leading blank, and blank before -L.
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 [Tue, 8 Sep 2009 17:42:11 +0000 (17:42 +0000)]
re PR debug/41229 (VTA: internal compiler error: verify_ssa failed)
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 [Tue, 8 Sep 2009 17:40:45 +0000 (17:40 +0000)]
tree-ssa-loop-ivopts.c (get_phi_with_result): Remove.
* 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 [Tue, 8 Sep 2009 17:39:42 +0000 (17:39 +0000)]
re PR debug/41232 (VTA: SSA name in freelist but still referenced)
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
Ralf Wildenhues [Tue, 8 Sep 2009 17:30:31 +0000 (17:30 +0000)]
sed portability fixes in fixincludes
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
Kai Tietz [Tue, 8 Sep 2009 15:28:27 +0000 (17:28 +0200)]
Missed regeneration.
From-SVN: r151516
Kai Tietz [Tue, 8 Sep 2009 15:26:50 +0000 (15:26 +0000)]
tree-ssa-reassoc.c (find_operand_rank): Cast pointer via intptr_t to long type.
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 [Tue, 8 Sep 2009 15:21:07 +0000 (17:21 +0200)]
[multiple changes]
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
Bernd Schmidt [Tue, 8 Sep 2009 14:52:02 +0000 (14:52 +0000)]
bfin.c (np_check_regno, [...]): New static variables.
* 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
Jan Hubicka [Tue, 8 Sep 2009 13:59:20 +0000 (15:59 +0200)]
invoke.texi (early-inlining-insns): Reduce from 12 to 8.
* doc/invoke.texi (early-inlining-insns): Reduce from 12 to 8.
* params.def (early-inlining-insns): Likewise.
From-SVN: r151511
Joseph Myers [Tue, 8 Sep 2009 12:15:41 +0000 (13:15 +0100)]
* id.po: Update.
From-SVN: r151508
Joseph Myers [Tue, 8 Sep 2009 10:55:09 +0000 (11:55 +0100)]
i386-prefetch.exp: Skip tests when multilib flags contain -march.
* 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
Jakub Jelinek [Tue, 8 Sep 2009 09:25:47 +0000 (11:25 +0200)]
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
Eric Botcazou [Tue, 8 Sep 2009 06:57:47 +0000 (06:57 +0000)]
* gcc-interface/targtyps.c: Reorder include directives.
From-SVN: r151498
Jerry DeLisle [Tue, 8 Sep 2009 01:18:48 +0000 (01:18 +0000)]
re PR fortran/41192 (NAMELIST input with just a comment ("&NAME ! comment \") fails)
2009-09-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/41192
* gfortran.dg/namelist_59.f90: New test.
From-SVN: r151496
Jerry DeLisle [Tue, 8 Sep 2009 00:59:05 +0000 (00:59 +0000)]
re PR fortran/41192 (NAMELIST input with just a comment ("&NAME ! comment \") fails)
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
GCC Administrator [Tue, 8 Sep 2009 00:17:08 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r151494
Bernd Schmidt [Mon, 7 Sep 2009 21:40:23 +0000 (21:40 +0000)]
From Jie Zhang <jie.zhang@analog.com>:
* 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 [Mon, 7 Sep 2009 18:59:49 +0000 (18:59 +0000)]
gcc/
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 [Mon, 7 Sep 2009 18:42:50 +0000 (18:42 +0000)]
From Jie Zhang <jie.zhang@analog.com>:
* 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 [Mon, 7 Sep 2009 18:06:51 +0000 (18:06 +0000)]
bfin.md (UNSPEC_VOLATILE_STALL): New constant.
* 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
Martin Jambor [Mon, 7 Sep 2009 17:08:12 +0000 (19:08 +0200)]
re PR middle-end/41282 (Revision 151394 failed to compile mplayer)
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
Dmitry Gorbachev [Mon, 7 Sep 2009 15:41:52 +0000 (15:41 +0000)]
re PR c++/41214 (Null pointer dereferenced in _Unwind_SetGR())
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
Thomas Koenig [Mon, 7 Sep 2009 15:23:15 +0000 (15:23 +0000)]
re PR fortran/41197 (ICE with ALLOCATE and nonscalar STAT= variable)
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
Bernd Schmidt [Mon, 7 Sep 2009 15:13:40 +0000 (15:13 +0000)]
bfin.c (bfin_optimize_loop): When creating a new basic block, ensure it has an exit edge.
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
Nick Clifton [Mon, 7 Sep 2009 14:48:02 +0000 (14:48 +0000)]
gcc.c (this_is_linker_script): New variable.
* 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
H.J. Lu [Mon, 7 Sep 2009 13:38:27 +0000 (13:38 +0000)]
re PR libstdc++/41280 (Revision 151352 breaks 32bit libstdc++)
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
Andreas Krebbel [Mon, 7 Sep 2009 10:30:32 +0000 (10:30 +0000)]
rtl.h (PREFETCH_SCHEDULE_BARRIER_P): New macro.
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
Laurent GUERBY [Mon, 7 Sep 2009 09:25:08 +0000 (09:25 +0000)]
targtyps.c: Add missing include for tm_p.h.
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 [Mon, 7 Sep 2009 09:00:51 +0000 (09:00 +0000)]
make.adb: Add missing documentation for multilib handling.
2009-09-07 Laurent GUERBY <laurent@guerby.net>
* make.adb: Add missing documentation for multilib handling.
From-SVN: r151473
Eric Botcazou [Mon, 7 Sep 2009 06:25:59 +0000 (06:25 +0000)]
Fix typo
From-SVN: r151468
GCC Administrator [Mon, 7 Sep 2009 00:17:01 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r151466
Eric Botcazou [Sun, 6 Sep 2009 21:15:45 +0000 (21:15 +0000)]
re PR bootstrap/41241 (bootstrap comparison failure)
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
Jakub Jelinek [Sun, 6 Sep 2009 19:31:55 +0000 (21:31 +0200)]
re PR bootstrap/41241 (bootstrap comparison failure)
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
Richard Guenther [Sun, 6 Sep 2009 16:49:48 +0000 (16:49 +0000)]
re PR c++/41144 (ice for legal code with -O2 in get_alias_set)
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 [Sun, 6 Sep 2009 16:48:41 +0000 (16:48 +0000)]
re PR middle-end/41261 (ice with -O2 -fprofile-arcs when compiling Linux kernel)
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
Paolo Carlini [Sun, 6 Sep 2009 15:41:38 +0000 (15:41 +0000)]
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
GCC Administrator [Sun, 6 Sep 2009 00:16:51 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r151458
Richard Guenther [Sat, 5 Sep 2009 19:32:25 +0000 (19:32 +0000)]
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 [Sat, 5 Sep 2009 15:15:16 +0000 (15:15 +0000)]
re PR c++/41273 (ICE in add_virtual_operand, at tree-ssa-operands.c:638)
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 [Sat, 5 Sep 2009 15:14:12 +0000 (15:14 +0000)]
re PR tree-optimization/41271 (FAIL: gcc.dg/matrix/matrix-2.c scan-ipa-dump-times matrix-reorg "Flattened 2 dimensions" 1)
2009-09-05 Richard Guenther <rguenther@suse.de>
PR middle-end/41271
* tree-ssa.c (useless_type_conversion_p): Drop qualifiers
before comparing function argument types.
From-SVN: r151453
Paul Thomas [Sat, 5 Sep 2009 14:20:51 +0000 (14:20 +0000)]
re PR fortran/41258 (internal compiler error: in find_typebound_proc_uop, at fortran/symbol.c:4575)
2009-09-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/41258
* primary.c (gfc_match_varspec): Do not look for typebound
procedures unless the derived type has a f2k_derived namespace.
2009-09-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/41258
* gfortran.dg/typebound_proc_12.f90 : New test.
From-SVN: r151451
Francois-Xavier Coudert [Sat, 5 Sep 2009 14:14:28 +0000 (14:14 +0000)]
re PR target/41024 (driver passes wrong parameter to as)
PR target/41024
* config/i386/mingw-w64.h (ASM_SPEC): Pass -v instead of -V to
the assembler.
From-SVN: r151450
Benjamin Kosnik [Sat, 5 Sep 2009 00:18:07 +0000 (00:18 +0000)]
revert: compatibility.cc: Make C++0x safe, add in explicit casts to bool for stream sentry objects.
2009-09-04 Benjamin Kosnik <bkoz@redhat.com>
Revert.
2009-08-06 Benjamin Kosnik <bkoz@redhat.com>
* src/compatibility.cc: Make C++0x safe, add in explicit casts to
bool for stream sentry objects.
* include/bits/istream.tcc: Same.
* include/bits/ostream.tcc: Same.
* include/bits/basic_string.tcc: Same.
* include/bits/ostream_insert.h: Same.
* src/istream.cc: Same.
From-SVN: r151445
GCC Administrator [Sat, 5 Sep 2009 00:16:50 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r151444
Uros Bizjak [Fri, 4 Sep 2009 19:57:51 +0000 (21:57 +0200)]
revert: alpha.c (alpha_output_mi_thunk_osf): Allocate insn locators before emit_insn is called.
2009-09-04 Uros Bizjak <ubizjak@gmail.com>
Revert:
2009-08-18 Uros Bizjak <ubizjak@gmail.com>
* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Allocate insn
locators before emit_insn is called.
From-SVN: r151441
Vladimir Makarov [Fri, 4 Sep 2009 19:36:26 +0000 (19:36 +0000)]
re PR bootstrap/41241 (bootstrap comparison failure)
2009-09-04 Vladimir Makarov <vmakarov@redhat.com>
PR bootstrap/41241
* ira.c (update_equiv_reg): Revert my previous patch for the PR.
* reginfo.c (resize_reg_info): Call allocate_reg_info if necessary.
(reginfo_init): Don't call allocate_reg_info.
From-SVN: r151440
Uros Bizjak [Fri, 4 Sep 2009 19:32:04 +0000 (21:32 +0200)]
re PR target/41262 (ICE compiling 09/03/09 snapshot of gcc on DEC Alpha)
PR target/41262
* config/alpha/alpha.c (alpha_does_function_need_gp): Use
NONDEBUG_INSN_P instead of INSN_P.
From-SVN: r151439
Alexandre Oliva [Fri, 4 Sep 2009 19:03:49 +0000 (19:03 +0000)]
re PR debug/41225 (VTA: internal compiler error: in vect_stmt_relevant_p, at tree-vect-stmts.c:150)
gcc/ChangeLog:
PR debug/41225
* tree-vect-stmts.c (vect_stmt_relevant_p): Skip debug uses.
gcc/testsuite/ChangeLog:
PR debug/41225
* gfortran.dg/pr41225.f90: New.
From-SVN: r151438
Alexandre Oliva [Fri, 4 Sep 2009 18:59:50 +0000 (18:59 +0000)]
re PR target/41252 (Var tracking by default breaks arm-none-eabi build of newlib)
PR target/41252
* config/arm/vfp.md (*cmpdf_split_vfp): Fix src mode in the second
pattern of the split.
From-SVN: r151437
Alexandre Oliva [Fri, 4 Sep 2009 18:59:15 +0000 (18:59 +0000)]
* compare-debug: Grep for blank before dash to avoid grep -e.
From-SVN: r151436
Alexandre Oliva [Fri, 4 Sep 2009 18:58:34 +0000 (18:58 +0000)]
configure.ac (with-build-config): Document.
* configure.ac (with-build-config): Document. Handle without.
Handle missing argument.
* configure: Rebuilt.
From-SVN: r151435
Alexandre Oliva [Fri, 4 Sep 2009 18:56:39 +0000 (18:56 +0000)]
guality.h: Include stdint.h.
* gcc.dg/guality/guality.h: Include stdint.h. Drop unnecessary
unistd.h, sys/types.h and sys/wait.h.
(gualchk_t): New.
(GUALCVT): New.
(GUALCHKXPR, GUALCHKVAL, GUALCHKFLA): Use it.
(GUALITY_GDB_REDIRECT): New.
(GUALITY_GDB_ARGS): Use it.
From-SVN: r151434
Alexandre Oliva [Fri, 4 Sep 2009 18:55:45 +0000 (18:55 +0000)]
toplev.c (process_options): Move setter of flag_var_tracking before other tests that depend on it.
* toplev.c (process_options): Move setter of flag_var_tracking
before other tests that depend on it. Move down setter of
flag_rename_registers. Don't enable var-tracking-assignments
by default if selective scheduling is enabled. Warn if both
are enabled.
From-SVN: r151433
Alexandre Oliva [Fri, 4 Sep 2009 18:55:25 +0000 (18:55 +0000)]
var-tracking.c (dv_is_decl_p): Adjust NULL behavior to match comment.
* var-tracking.c (dv_is_decl_p): Adjust NULL behavior to match
comment. Use switch statement to catch overlaps between rtx
and tree codes. Accept FUNCTION_DECLs in addition to those in...
(IS_DECL_CODE): ... here. Remove.
(check_value_is_not_decl): Remove.
(dv_from_decl, dv_from_value): Check after conversion.
From-SVN: r151432
Richard Guenther [Fri, 4 Sep 2009 18:54:01 +0000 (18:54 +0000)]
re PR middle-end/41257 (Bogus error '*.LTHUNK0' aliased to undefined symbol '_ZN1CD1Ev')
2009-09-04 Richard Guenther <rguenther@suse.de>
PR middle-end/41257
* (cgraph_finalize_compilation_unit): Move finalizing aliases
after emitting tunks. Move emitting thunks and ctors from ...
(cgraph_optimize): ... here. Remove redundant
cgraph_analyze_functions.
* varasm.c (find_decl_and_mark_needed): Remove no longer
necessary check.
(finish_aliases_1): Adjust check for thunk aliases.
* g++.dg/torture/pr41257.C: New testcase.
From-SVN: r151431
Daniel Gutson [Fri, 4 Sep 2009 15:42:05 +0000 (15:42 +0000)]
arm.md (ctzsi2): Added braces to avoid warning that broke booststrap.
2009-09-04 Daniel Gutson <dgutson@codesourcery.com>
* config/arm/arm.md (ctzsi2): Added braces
to avoid warning that broke booststrap.
From-SVN: r151427
Ozkan Sezer [Fri, 4 Sep 2009 14:33:16 +0000 (14:33 +0000)]
re PR target/39065 (libiberty hashtab.c:hash_pointer() needs intptr_t)
2009-09-04 Ozkan Sezer <sezeroz@gmail.com>
PR target/39065
* configure.ac: Replace AC_CHECK_TYPE() for intptr_t and uintptr_t
with AC_TYPE_INTPTR_T and AC_TYPE_UINTPTR_T.
* config.in: Regenerated.
* configure: Regenerated.
From-SVN: r151423
Martin Jambor [Fri, 4 Sep 2009 11:08:12 +0000 (13:08 +0200)]
re PR tree-optimization/41112 (ACATS
c43205b fails at -O2 (tree-sra))
2009-09-04 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/41112
* tree-sra.c (build_ref_for_offset_1): Signal that we cannot
handle variable-bounded arrays.
(expr_with_var_bounded_array_refs_p): New function.
(analyze_access_subtree): Call expr_with_var_bounded_array_refs_p.
* testsuite/gnat.dg/array8.adb: New test.
From-SVN: r151420
Wolfgang Gellerich [Fri, 4 Sep 2009 10:11:00 +0000 (10:11 +0000)]
2097.md: Removed two incorrect bypasses.
2009-09-04 Wolfgang Gellerich <gellerich@de.ibm.com>
* config/s390/2097.md: Removed two incorrect bypasses.
(z10_fsimpdf): Fixed latency.
(z10_fhex): New insn_reservation.
(z10_floaddf): Fixed latency.
(z10_floadsf): Fixed latency.
(z10_ftrunctf): Fixed latency.
(z10_ftruncdf): Fixed latency.
* config/s390/s390.c (z10_cost): Fixed values.
(s390_adjust_priority): Added z10 path.
* config/s390/s390.md (type): Added fhex.
(*mov<mode>_64dfp): Updated type attribute.
(*mov<mode>_64): Updated type attribute.
(*mov<mode>_31): Updated type attribute.
(*mov<mode>"): Likewise.
* config/s390/2084.md (x_fsimpdf): Updated condition.
From-SVN: r151419
Tobias Burnus [Fri, 4 Sep 2009 09:25:00 +0000 (11:25 +0200)]
re PR fortran/41219 (libgfortran build warnings)
2009-09-04 Tobias Burnus <burnus@net-b.de>
PR fortran/41219
* intrinsics/getlog.c: Define _POSIX for MINGW32.
From-SVN: r151417
Andreas Krebbel [Fri, 4 Sep 2009 07:48:09 +0000 (07:48 +0000)]
s390.md ("*fmadd<mode>", [...]): Enable mem RTXs in the predicate for operand 1.
2009-09-04 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.md ("*fmadd<mode>", "*fmsub<mode>"): Enable mem
RTXs in the predicate for operand 1.
From-SVN: r151416
Jakub Jelinek [Fri, 4 Sep 2009 06:56:55 +0000 (08:56 +0200)]
guality.exp: Only run guality tests if a trivial testcase using guality.h compiles and links...
* gcc.dg/guality/guality.exp: Only run guality tests if a trivial
testcase using guality.h compiles and links and if a global variable
can be verified by gdb.
From-SVN: r151410
Daniel Gutson [Fri, 4 Sep 2009 02:52:08 +0000 (02:52 +0000)]
arm.md (UNSPEC_RBIT): New constant.
2009-09-03 Daniel Gutson <dgutson@codesourcery.com>
* config/arm/arm.md (UNSPEC_RBIT): New constant.
(rbitsi2): New insn.
(ctzsi2): New expand.
* config/arm/arm.h (CTZ_DEFINED_VALUE_AT_ZERO): New macro.
testsuite/
* gcc.target/arm/ctz.c: New test case.
From-SVN: r151402
Daniel Gutson [Fri, 4 Sep 2009 00:20:27 +0000 (00:20 +0000)]
Daniel Gutson added.
From-SVN: r151400
GCC Administrator [Fri, 4 Sep 2009 00:17:45 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r151399
Martin Jambor [Thu, 3 Sep 2009 21:25:00 +0000 (23:25 +0200)]
tree-sra.c (duplicate_expr_for_different_base): Removed.
2009-09-03 Martin Jambor <mjambor@suse.cz>
* tree-sra.c (duplicate_expr_for_different_base): Removed.
(create_artificial_child_access): Use build_ref_for_offset instead
of duplicate_expr_for_different_base.
(propagate_subacesses_accross_link): Likewise.
From-SVN: r151394
Eric Botcazou [Thu, 3 Sep 2009 20:26:12 +0000 (20:26 +0000)]
Fix long line
From-SVN: r151393
Alexandre Oliva [Thu, 3 Sep 2009 20:11:24 +0000 (20:11 +0000)]
Move misplaced contrib/ChangeLog entry to config/.
From-SVN: r151392
Richard Sandiford [Thu, 3 Sep 2009 19:50:30 +0000 (19:50 +0000)]
mips.c (USEFUL_INSN_P): Use NONDEBUG_INSN_P instead of INSN_P.
gcc/
* config/mips/mips.c (USEFUL_INSN_P): Use NONDEBUG_INSN_P instead
of INSN_P.
(mips16e_collect_argument_saves): Skip debug instructions.
(mips_74k_agen_init): Use CALL_P || JUMP_P instead of !NONJUMP_INSN_P.
(mips16_lay_out_constants): Use USEFUL_INSN_P instead of INSN_P.
(r10k_insert_cache_barriers): Likewise.
(mips_reorg_process_insns): Likewise.
From-SVN: r151391
Joseph Myers [Thu, 3 Sep 2009 19:22:55 +0000 (20:22 +0100)]
* fi.po: Update.
From-SVN: r151389
Vladimir Makarov [Thu, 3 Sep 2009 18:33:25 +0000 (18:33 +0000)]
re PR bootstrap/41241 (bootstrap comparison failure)
2009-09-03 Vladimir Makarov <vmakarov@redhat.com>
PR bootstrap/41241
* ira.c (update_equiv_reg): Remove check on class likely spill.
From-SVN: r151388
Loren J. Rittle [Thu, 3 Sep 2009 16:53:35 +0000 (16:53 +0000)]
dyn_load.c (HAVE_DL_ITERATE_PHDR): Break definition from use.
2009-09-03 Loren J. Rittle <ljrittle@acm.org>
* dyn_load.c (HAVE_DL_ITERATE_PHDR): Break definition from use.
Define for FreeBSD 7.0+.
From-SVN: r151387
Ozkan Sezer [Thu, 3 Sep 2009 16:46:00 +0000 (16:46 +0000)]
re PR target/39065 (libiberty hashtab.c:hash_pointer() needs intptr_t)
2009-09-03 Ozkan Sezer <sezeroz@gmail.com>
PR target/39065
* configure.ac: Also check for intptr_t.
* config.h.in: Regenerated.
* configure: Regenerated.
* hashtab.c (hash_pointer): Cast the pointer argument to intptr_t
instead of of long.
From-SVN: r151386
Jakub Jelinek [Thu, 3 Sep 2009 16:33:27 +0000 (18:33 +0200)]
re PR debug/41236 (RTL checking failure compiling libgcc)
PR debug/41236
* dwarf2out.c (loc_descriptor): Don't use SUBREG_REG macro on
SIGN_EXTEND or ZERO_EXTEND. Don't assume there is a REG inside of
it or SUBREG.
From-SVN: r151385
Jakub Jelinek [Thu, 3 Sep 2009 16:32:07 +0000 (18:32 +0200)]
re PR debug/41238 (VTA: bootstrap failure, ICE in loc_cmp, at var-tracking.c:2456)
PR debug/41238
* function.c (assign_parm_find_stack_rtl): Don't set mem attributes on
the stack slot if it is passed by invisible reference.
* var-tracking.c (vt_add_function_parameters): Handle arguments passed by
invisible reference.
From-SVN: r151384
Kai Tietz [Thu, 3 Sep 2009 15:49:00 +0000 (17:49 +0200)]
Revert revision 151379 for linux bootstrap failure for gstdint.h
From-SVN: r151382
Bernd Schmidt [Thu, 3 Sep 2009 15:37:28 +0000 (15:37 +0000)]
linux.h (TARGET_SUPPORTS_SYNC_CALLS): Define to 1.
gcc/
* config/bfin/linux.h (TARGET_SUPPORTS_SYNC_CALLS): Define to 1.
* config/bfin/uclinux.h (TARGET_SUPPORTS_SYNC_CALLS): Define to 1.
* config/bfin/bfin.h (TARGET_SUPPORTS_SYNC_CALLS): Provide default of
0.
* config/bfin/sync.md: New file.
* config/bfin/bfin.md: Include it.
(UNSPEC_ATOMIC): New.
(UNSPEC_ONES): Provide a unique number.
From Jie Zhang <jie.zhang@analog.com>:
* config/bfin/bfin.c (ret_regs): New.
(must_save_fp_p): Don't return true because of frame_pointer_needed.
(must_save_rets_p): New.
(n_regs_saved_by_prologue): Use must_save_rets_p instead of
current_function_is_leaf.
(do_link): Likewise.
(do_unlink): Likewise.
(expand_interrupt_handler_prologue): Use ret_regs array.
(expand_interrupt_handler_epilogue): Use ret_regs array and
pass return register to gen_return_internal.
(bfin_expand_epilogue): Pass return register to
gen_return_internal.
(bfin_expand_call): Explicitly clobber RETS.
* config/bfin/bfin.h (FUNCTION_RETURN_REGISTERS): Define.
* config/bfin/bfin.md (call_symbol_fdpic, call_value_symbol_fdpic,
call_insn_fdpic, call_value_insn_fdpic, call_symbol,
call_value_symbol, call_insn, call_value_insn): Explicitly clobber
RETS.
(return_internal): Take a reg rtx rather than the register number.
gcc/testsuite/
* lib/target-supports.exp (check_effective_target_sync_int_long):
Supported on Blackfin Linux targets.
From-SVN: r151381
Kai Tietz [Thu, 3 Sep 2009 14:18:38 +0000 (16:18 +0200)]
config.in (HAVE_STDINT_H): New.
2009-09-03 Kai Tietz <kai.tietz@onevision.com>
* config.in (HAVE_STDINT_H): New.
* configure.ac (GCC_HEADER_STDINT): Generated gstdint.h.
* configure: Regenerated.
* system.h (gstdint.h): Add include.
* Makefile.in (aclocal): Add config/stdint.m4.
* aclocal.m4: Regenerated.
From-SVN: r151379
H.J. Lu [Thu, 3 Sep 2009 13:19:01 +0000 (13:19 +0000)]
tree-parloops.c (parallelize_loops): Cast to HOST_WIDE_INT when comparing against estimated_loop_iterations_int return.
2009-09-03 H.J. Lu <hongjiu.lu@intel.com>
* tree-parloops.c (parallelize_loops): Cast to HOST_WIDE_INT
when comparing against estimated_loop_iterations_int return.
From-SVN: r151378
Richard Guenther [Thu, 3 Sep 2009 11:11:08 +0000 (11:11 +0000)]
dwarf2out.c (dwarf2out_do_cfi_asm): Remove check of eh_personality_libfunc.
2009-09-03 Richard Guenther <rguenther@suse.de>
* dwarf2out.c (dwarf2out_do_cfi_asm): Remove check of
eh_personality_libfunc.
From-SVN: r151376
Razya Ladelsky [Thu, 3 Sep 2009 09:38:54 +0000 (09:38 +0000)]
tree-parloops.c (separate_decls_in_region): Add space
* tree-parloops.c (separate_decls_in_region): Add space
From-SVN: r151374
Razya Ladelsky [Thu, 3 Sep 2009 09:10:36 +0000 (09:10 +0000)]
tree-parloops.c (separate_decls_in_region): Change the condition checking if there are reductions in the loop.
* tree-parloops.c (separate_decls_in_region): Change the condition
checking if there are reductions in the loop.
From-SVN: r151373
Razya Ladelsky [Thu, 3 Sep 2009 08:59:25 +0000 (08:59 +0000)]
re PR tree-optimization/38275 (bootstrap failure when -ftree-parallelize-loops=4 is enabled)
PR tree-optimization/38275
* tree-parloops.c (parallelize_loops): Replace profitability condition
for expected number of iterations.
* testsuite/gcc.dg/autopar/reduc-1char.c: Increase number
of iterations. Adjust the logic accordingly.
* testsuite/gcc.dg/autopar/reduc-2char.c: Ditto.
* testsuite/gcc.dg/autopar/reduc-1.c: Ditto.
* testsuite/gcc.dg/autopar/reduc-2.c: Ditto.
* testsuite/gcc.dg/autopar/reduc-3.c: Ditto.
* testsuite/gcc.dg/autopar/reduc-6.c: Ditto.
* testsuite/gcc.dg/autopar/reduc-7.c: Ditto.
* testsuite/gcc.dg/autopar/reduc-8.c: Ditto.
* testsuite/gcc.dg/autopar/reduc-9.c: Ditto.
* testsuite/gcc.dg/autopar/pr39500-1.c: Ditto.
* testsuite/gcc.dg/autopar/reduc-1short.c: Ditto.
* testsuite/gcc.dg/autopar/reduc-2short.c: Ditto.
* testsuite/gcc.dg/autopar/parallelization-1.c: Ditto.
From-SVN: r151372
Tobias Burnus [Thu, 3 Sep 2009 07:36:36 +0000 (09:36 +0200)]
re PR fortran/41219 (libgfortran build warnings)
2009-09-03 Tobias Burnus <burnus@net-b.de>
PR fortran/41219
* intrinsics/iso_c_binding.c (c_f_pointer_u0): Move variable
declaration out of the loop.
From-SVN: r151371
Alexandre Oliva [Thu, 3 Sep 2009 05:55:57 +0000 (05:55 +0000)]
configure.ac (--with-build-config): New.
ChangeLog:
* configure.ac (--with-build-config): New. Set BUILD_CONFIG.
Default to bootstrap-debug only if compare-debug works.
* configure: Rebuilt.
* Makefile.tpl: Make BUILD_CONFIG configure-configurable.
* Makefile.in: Rebuilt.
contrib/ChangeLog:
* bootstrap-debug-big.mk (STAGE2_CFLAGS): Drop -gtoggle.
* bootstrap-debug-lean.mk: Update comments.
(STAGE2_CFLAGS): Likewise.
(do-compare): Don't override.
gcc/ChangeLog:
* doc/invoke.texi (BUILD_CONFIG): Document --with-build-config.
(bootstrap-debug): Explain conditions in which it becomes default.
(bootstrap-debug-big): Rather than duplicate bootstrap-debug,
make it add to it.
From-SVN: r151367
Namhyung Kim [Thu, 3 Sep 2009 05:31:42 +0000 (05:31 +0000)]
invoke.texi (Optimize Options): Move -finline-small-functions to the -O2 list.
2009-09-03 Namhyung Kim <namhyung@gmail.com>
* doc/invoke.texi (Optimize Options): Move
-finline-small-functions to the -O2 list.
From-SVN: r151366
Alexandre Oliva [Thu, 3 Sep 2009 05:24:57 +0000 (05:24 +0000)]
toplev.c (process_options): Enable var-tracking-assignments by default if var-tracking is enabled.
* toplev.c (process_options): Enable var-tracking-assignments
by default if var-tracking is enabled.
From-SVN: r151362
David Daney [Thu, 3 Sep 2009 05:01:40 +0000 (05:01 +0000)]
cfgbuild.c (find_bb_boundaries): Split blocks containing a barrier.
2009-09-02 David Daney <ddaney@caviumnetworks.com>
* cfgbuild.c (find_bb_boundaries): Split blocks containing a
barrier.
* emit-rtl.c (prev_nonnote_insn_bb): New function.
* rtl.h (prev_nonnote_insn_bb): Declare it.
2009-09-02 David Daney <ddaney@caviumnetworks.com>
* gcc.c-torture/compile/builtin_unreachable-1.c: New testcase.
From-SVN: r151361
Diego Novillo [Thu, 3 Sep 2009 04:07:12 +0000 (00:07 -0400)]
[multiple changes]
2009-09-01 Diego Novillo <dnovillo@google.com>
* c-lang.c (lang_hooks): Remove const qualifier.
java/ChangeLog
* lang.c (lang_hooks): Remove const qualifier.
objc/ChangeLog
* objc-lang.c (lang_hooks): Remove const qualifier.
objcp/ChangeLog
* objcp-lang.c (lang_hooks): Remove const qualifier.
ada/ChangeLog
* gcc-interface/misc.c (lang_hooks): Remove const qualifier.
fortran/ChangeLog
* f95-lang.c (lang_hooks): Remove const qualifier.
cp/ChangeLog
* cp-lang.c (lang_hooks): Remove const qualifier.
2009-09-01 Diego Novillo <dnovillo@google.com>
* cgraph.c (cgraph_node_for_decl): New.
* cgraph.h (cgraph_node_for_decl): Declare.
* tree.c (host_integerp): Return 0 if T is NULL.
2009-09-01 Diego Novillo <dnovillo@google.com>
* tree.h (struct alias_pair): Move from varasm.c.
(alias_pairs): Likewise.
(TYPE_MAXVAL): Define.
(TYPE_MINVAL): Define.
(iterative_hash_host_wide_int): Declare.
(remove_unreachable_alias_pairs): Declare.
* tree-pass.h (pass_ipa_free_lang_data): Declare.
* diagnostic.c (default_diagnostic_starter): Make extern.
(default_diagnostic_finalizer): Make extern.
* diagnostic.h (default_diagnostic_starter): Declare.
(default_diagnostic_finalizer): Declare.
(default_tree_printer): Declare.
* toplev.c (default_tree_printer): Make extern.
2009-09-01 Richard Guenther <rguenther@suse.de>
Diego Novillo <dnovillo@google.com>
* cgraph.c (cgraph_add_new_function): Remove gimplification.
* cgraphunit.c (cgraph_expand_function): Do not emit
associated thunks from here.
(cgraph_emit_thunks): New.
(cgraph_optimize): Call it.
Return if any IPA pass finds an error.
* varasm.c (finish_aliases_1): Ignore errorneous aliases used
by thunks.
2009-09-01 Simon Baldwin <simonb@google.com>
Rafael Espindola <espindola@google.com>
Richard Guenther <rguenther@suse.de>
Doug Kwan <dougkwan@google.com>
Diego Novillo <dnovillo@google.com>
* tree.c: Include tree-pass.h, langhooks-def.h,
diagnostic.h, cgraph.h, timevar.h, except.h and debug.h.
(free_lang_data_in_type): New.
(need_assembler_name_p): New.
(free_lang_data_in_block): New.
(free_lang_data_in_decl): New.
(struct free_lang_data_d): New.
(add_tree_to_fld_list): New.
(find_decls_types_r): New.
(get_eh_types_for_runtime): New.
(find_decls_types_in_eh_region): New.
(find_decls_types_in_node): New.
(find_decls_types_in_var): New.
(free_lang_data_in_cgraph): New.
(free_lang_data): New.
(gate_free_lang_data): New.
(pass_ipa_free_lang_data): New.
2009-09-01 Diego Novillo <dnovillo@google.com>
* timevar.def (TV_IPA_FREE_LANG_DATA): Define.
* langhooks.h (struct lang_hooks): Add field free_lang_data.
(lang_hooks): Remove const qualifier.
* ipa.c (cgraph_remove_unreachable_nodes): Call
remove_unreachable_alias_pairs.
* except.c (add_type_for_runtime): Check if TYPE has
already been converted.
(lookup_type_for_runtime): Likewise.
(check_handled): Handle converted types.
* varasm.c (remove_unreachable_alias_pairs): New.
* gimple.c: Include demangle.h.
(gimple_decl_printable_name): New.
(gimple_fold_obj_type_ref): New.
* gimple.h (gimple_decl_printable_name): Declare.
(gimple_fold_obj_type_ref): Declare.
* passes.c (init_optimization_passes): Add pass
pass_ipa_free_lang_data.
* langhooks-def.h (LANG_HOOKS_FREE_LANG_DATA): Define.
(LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_FREE_LANG_DATA.
testsuite/ChangeLog
2009-09-01 Diego Novillo <dnovillo@google.com>
* gcc.dg/gomp/combined-1.c: Adjust expected pattern.
* g++.dg/tree-prof/inline_mismatch_args.C: Likewise.
* g++.dg/warn/unit-1.C: Likewise.
* g++.dg/ipa/iinline-1.C: Likewise.
* g++.dg/template/cond2.C: Adjust expected line location for the
error.
* g++.dg/template/pr35240.C: Likewise.
cp/ChangeLog
2009-09-01 Doug Kwan <dougkwan@google.com>
* tree.c (cp_fix_function_decl_p): New.
(cp_free_lang_data): New.
2009-09-01 Diego Novillo <dnovillo@google.com>
* Make-lang.in (decl2.o): Add dependency on $(POINTER_SET_H).
* decl2.c: Include pointer-set.h.
(collect_candidates_for_java_method_aliases): New.
(cp_write_global_declarations): Call it.
Add local variable CANDIDATES. If set, call
build_java_method_aliases.
(build_java_method_aliases): Add argument CANDIDATES.
Use it to determine if FNDECL should get a hidden alias.
* cp-objcp-common.h (LANG_HOOKS_FREE_LANG_DATA): Define.
* cp-tree.h (cp_free_lang_data): Declare.
2009-09-03 Richard Guenther <rguenther@suse.de>
* method.c (use_thunk): Use cgraph_finalize_function to hand
off thunks to the cgraph.
* semantics.c (emit_associated_thunks): Do not emit thunks
for really extern functions.
From-SVN: r151360
Alan Modra [Thu, 3 Sep 2009 02:02:09 +0000 (11:32 +0930)]
update copyright dates
From-SVN: r151359
GCC Administrator [Thu, 3 Sep 2009 00:16:36 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r151358
Richard Henderson [Thu, 3 Sep 2009 00:07:41 +0000 (17:07 -0700)]
* tb-gcc.c (__gnat_backtrace): Mark all arguments unused.
From-SVN: r151355