1. 09 Sep, 2009 13 commits
  2. 08 Sep, 2009 27 commits
    • Use -fno-merge-debug-string for some dwarf tests · c0389e92
      	Use -fno-merge-debug-string to comply with Darwin
      	* g++.dg/debug/dwarf2/namespace-1.C: Use -fno-merge-debug-string
      	and adjust.
      	* g++.dg/debug/dwarf2/template-func-params-6.C: Likewise.
      	* g++.dg/debug/dwarf2/template-func-params-7.C: Likewise.
      	* g++.dg/debug/dwarf2/template-params-6.C: Likewise.
      	* g++.dg/debug/dwarf2/pubnames-1.C: Likewise. Also, adjust to
      	take darwin specifics in account.
      
      From-SVN: r151538
      Dodji Seketeli committed
    • profile-dir-1.c, [...]: Disable for remote-host testing. · edf736cb
      	* gcc.dg/profile-dir-1.c, gcc.dg/profile-dir-2.c,
      	gcc.dg/profile-dir-3.c: Disable for remote-host testing.
      
      From-SVN: r151537
      Joseph Myers committed
    • re PR c++/39923 ([C++0x] ICE in build_init_list_var_init) · f8c6dba2
      /cp
      2009-09-08  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/39923
      	* decl.c (build_init_list_var_init): Check return value of
      	perform_implicit_conversion.
      
      /testsuite
      2009-09-08  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/39923
      	* g++.dg/cpp0x/initlist24.C: New.
      
      From-SVN: r151536
      Paolo Carlini committed
    • decl.c (gnat_to_gnu_entity): Tidy flow of control. · 7c20033e
      	* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Tidy
      	flow of control.
      	Avoid useless work when processing the Treat_As_Volatile flag.
      
      From-SVN: r151535
      Eric Botcazou committed
    • tree.c (tree_find_value): Remove. · d5df7223
      	* tree.c (tree_find_value): Remove.
      	* tree.h: Remove prototype.
      	* varasm.c (assemble_external): Use value_member instead.
      
      From-SVN: r151534
      Jason Merrill committed
    • large-size-array-2.c: Fix target requirement. · 60adb641
      2009-09-08  Ozkan Sezer  <sezeroz@gmail.com>
      
              * gcc.dg/large-size-array-2.c: Fix target requirement.
              * gcc.dg/large-size-array-4.c: Likewise.
              * gcc.dg/c90-const-expr-2.c: Define ZERO as 0LL for _WIN64.
              * gcc.dg/c99-const-expr-2.c: Likewise.
              * gcc.dg/c90-const-expr-6.c: Typedef ptrdiff_t with __extension__.
              * gcc.dg/c90-const-expr-9.c: Typedef size_t with __extension__.
              * gcc.dg/c90-const-expr-10.c: Likewise.
              * gcc.dg/torture/pr39074.c: Use intptr_t typedef'ed as __PTRDIFF_TYPE__
              instead of long.
              * gcc.dg/tree-ssa/pr33920.c: Likewise.
              * gcc.dg/vect/pr33846.c: Likewise.
              * gcc.dg/vect/pr33833.c: Use uintptr_t, typedef'ed as unsigned
              __PTRDIFF_TYPE__, instead of unsigned long.
              * gcc.dg/vect/O1-pr33854.c: Use __SIZE_TYPE__ instead of unsigned long.
      
      From-SVN: r151533
      Ozkan Sezer committed
    • tree-ssa-sccvn.c (vn_reference_lookup_3): Don't assume there are more… · 35ecd408
      tree-ssa-sccvn.c (vn_reference_lookup_3): Don't assume there are more VR->OPERANDS than LHS operands.
      
      * tree-ssa-sccvn.c (vn_reference_lookup_3): Don't assume there are
              more VR->OPERANDS than LHS operands.  Free LHS before returning.
      
      From-SVN: r151530
      Richard Henderson committed
    • class.c (currently_open_class): Make sure we're dealing with the main variant. · 3e5e84be
      	* class.c (currently_open_class): Make sure we're dealing with the
      	main variant.
      
      From-SVN: r151529
      Jason Merrill committed
    • cp-tree.h (enum overload_flags): Remove OP_FLAG. · ee18fe39
      	* 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 committed
    • name-lookup.c (is_class_level): Remove. · f33ab5c3
      	* 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 committed
    • decl.c (grokmethod): Rename from start_method. · 02c5ff73
      	* 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
      Jason Merrill committed
    • Fix toplevel config.status for HP-UX sed. · 3e54529c
      /:
      	* 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
      Ralf Wildenhues committed
    • toplev.c (process_options): Choose default debugging type when gtoggle enables… · 6a57e634
      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 committed
    • re PR debug/41276 (Segmentation fault in lookup_page_table_entry) · da4a9479
      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 committed
    • 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