1. 30 Jan, 2008 8 commits
  2. 29 Jan, 2008 12 commits
    • re PR middle-end/34969 (ICE with -fipa-cp -ffast-math) · 2bafad93
      	PR middle-end/34969
      	* cgraph.h (cgraph_update_edges_for_call_stmt): New prototype.
      	* cgraph.c (cgraph_update_edges_for_call_stmt): New function.
      	* tree-inline.c (fold_marked_statements): Call
      	cgraph_update_edges_for_call_stmt if folding a call statement.
      	* cgraphunit.c (verify_cgraph_node): Set cfun to this_cfun for
      	debug_generic_stmt calls, reset it back afterwards.
      
      	* gcc.dg/pr34969.c: New test.
      
      From-SVN: r131946
      Jakub Jelinek committed
    • re PR c/35017 (PR11377 pedwarns even about valid code) · 1033ffa8
      	PR c/35017
      	* c-decl.c (start_decl): Don't pedwarn about TREE_READONLY
      	static decls.
      	* c-typeck.c (build_external_ref): Don't pedwarn about
      	static vars in current function's scope.
      
      	* gcc.dg/inline-25.c: New test.
      	* gcc.dg/inline-26.c: New test.
      	* gcc.dg/inline-27.c: New test.
      
      From-SVN: r131945
      Jakub Jelinek committed
    • Fix 35004, grow tree_code bitfield to 16 bits · bdba2263
      From-SVN: r131943
      Michael Meissner committed
    • * config.gcc (i[34567]86-*-nto-qnx*): Remove deprecation. · ed32d842
      From-SVN: r131942
      Joseph Myers committed
    • * sv.po: Update. · 56cb4a28
      From-SVN: r131941
      Joseph Myers committed
    • re PR c/35002 (Incorrect spelling of "hottest") · ea429753
      2008-01-29  Bernhard Fischer  <aldot@gcc.gnu.org>
      
      	PR c/35002
      	* ipa-struct-reorg.c: Fix spelling.
      	* params.def: Ditto.
      
      From-SVN: r131940
      Bernhard Fischer committed
    • re PR tree-optimization/35006 (Segfault in remove_unused_locals with nested functions) · 4f5c64b8
      2008-01-29  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/35006
      	* tree-inline.h (struct copy_body_data): Add remapping_type_depth
      	field.
      	* tree-inline.c (remap_type): Increment remapping_type_depth
      	around remapping types.
      	(copy_body_r): Only add referenced variables if they are referenced
      	from code, not types.
      
      	* gcc.c-torture/compile/pr35006.c: New testcase.
      
      From-SVN: r131939
      Richard Guenther committed
    • re PR c++/34055 (ICE with invalid specialization of variadic template) · 7b3e2d46
      2008-01-29  Douglas Gregor  <doug.gregor@gmail.com>
      
      	PR c++/34055
      	PR c++/34103
      	PR c++/34219
      	PR c++/34606
      	PR c++/34753
      	PR c++/34754
      	PR c++/34755
      	PR c++/34919
      	PR c++/34961
      	* c-pretty-print.c (pp_c_type_qualifier_list): Don't try to print
      	qualifiers for an ERROR_MARK_NODE or a NULL_TREE.
      
      
      2008-01-29  Douglas Gregor  <doug.gregor@gmail.com>
      
      	PR c++/34055
      	PR c++/34103
      	PR c++/34219
      	PR c++/34606
      	PR c++/34753
      	PR c++/34754
      	PR c++/34755
      	PR c++/34919
      	PR c++/34961
      	* typeck.c (check_return_expr): Tweak call to
      	check_for_bare_parameter_packs.
      	* class.c (add_method): Be careful with error_mark_nodes.
      	* cp-tree.h (check_for_bare_parameter_packs): Remove "*" from
      	signature.
      	* pt.c (struct find_parameter_pack_data): Remove
      	SET_PACKS_TO_ERROR.
      	(find_parameter_packs_r): Don't use SET_PACKS_TO_ERROR.
      	(uses_parameter_packs): Don't set SET_PACKS_TO_ERROR.
      	(make_pack_expansion): Ditto.
      	(check_for_bare_parameter_packs): Parameter is now a tree, not a
      	tree*.
      	(process_template_parm): Tweak call to
      	check_for_bare_parameter_packs.  
      	(push_template_decl_real): Tweak calls to
      	check_for_bare_parameter_packs. If bare parameter packs are found
      	in the list of exceptions, clear out that list after giving an
      	error.
      	* semantics.c (finish_cond): Tweak call to
      	check_for_bare_parameter_packs.
      	(finish_expr_stmt): Ditto.
      	(finish_for_expr): Ditto.
      	(finish_switch_cond): Ditto.
      	(finish_mem_initializers): Ditto.
      	(finish_member_declaration): Ditto.
      	(finish_static_assert): Check for bare parameter packs in the
      	condition.
      	* decl2.c (cplus_decl_attributes): Check for bare parameter packs in the
      	attributes of a declaration.
      	* parser.c (cp_parser_using_declaration): Tweak call to
      	check_for_bare_parameter_packs.
      	(cp_parser_base_clause): Ditto.
      	
      
      2008-01-29  Douglas Gregor  <doug.gregor@gmail.com>
      
      	PR c++/34055
      	PR c++/34103
      	PR c++/34219
      	PR c++/34606
      	PR c++/34753
      	PR c++/34754
      	PR c++/34755
      	PR c++/34919
      	PR c++/34961
      	* g++.dg/cpp0x/vt-34219-2.C: New.
      	* g++.dg/cpp0x/pr32126.C: Tweak expected error messages.
      	* g++.dg/cpp0x/vt-34961.C: New.
      	* g++.dg/cpp0x/vt-34055.C: Tweak error messages; add new test
      	cases from the re-opened PR.
      	* g++.dg/cpp0x/vt-34753.C: New.
      	* g++.dg/cpp0x/vt-34919.C: New.
      	* g++.dg/cpp0x/vt-34754.C: New.
      	* g++.dg/cpp0x/vt-34606.C: New.
      	* g++.dg/cpp0x/vt-34219.C: New.
      	* g++.dg/cpp0x/pr32125.C: Tweak expected error messages.
      	* g++.dg/cpp0x/vt-34755.C: New.
      	* g++.dg/cpp0x/pr31438.C: Ditto.
      	* g++.dg/cpp0x/variadic81.C: Ditto.
      
      From-SVN: r131938
      Douglas Gregor committed
    • pr34641.C: Put the dg-do first. · f66816e8
      gcc/testsuite/
      	* g++.dg/torture/pr34641.C: Put the dg-do first.
      
      From-SVN: r131937
      Richard Sandiford committed
    • lazy-binding-1.c: Skip for mips16. · 4f2b2b0d
      gcc/testsuite/
      	* gcc.target/mips/lazy-binding-1.c: Skip for mips16.
      
      From-SVN: r131936
      Richard Sandiford committed
    • re PR c++/35007 (Firefox fails to build with affentry.cpp:94: error: ISO C++… · dc555429
      re PR c++/35007 (Firefox fails to build with affentry.cpp:94: error: ISO C++ forbids subscripting non-lvalue array)
      
              PR c++/35007
              * class.c (build_base_path): Fix !want_pointer case.
      
      From-SVN: r131931
      Jason Merrill committed
    • Daily bump. · 43fe0f76
      From-SVN: r131928
      GCC Administrator committed
  3. 28 Jan, 2008 19 commits
  4. 27 Jan, 2008 1 commit