1. 27 Mar, 2009 5 commits
    • re PR c++/36799 ([c++0x] error on va_copy in -std=c++0x mode) · b0957daf
      gcc/
      
      2009-03-27  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
      	PR c++/36799
      	* ginclude/stdarg.h (va_copy): Define also for __GXX_EXPERIMENTAL_CXX0X__.
      
      gcc/testsuite/
      
      2009-03-27  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
      	PR c++/36799
      	* g++.dg/other/var_copy-1.C: New test.
      
      From-SVN: r145106
      Andrew Pinski committed
    • re PR c++/37647 (ICE with invalid use of constructor) · 48b6cd9d
      gcc/cp/
      
      2009-03-27  Simon Martin  <simartin@users.sourceforge.net>
      
      	PR c++/37647
      	* decl.c (grokdeclarator): Reject [con|de]stuctors in a non-class
      	scope.
      
      gcc/testsuite/
      
      2009-03-27  Simon Martin  <simartin@users.sourceforge.net>
      
      	PR c++/37647
      	* g++.dg/parse/ctor9.C: New test.
      
      From-SVN: r145105
      Simon Martin committed
    • re PR c++/29727 (ICE on invalid initializer for template member) · 6a837908
      gcc/cp/
      
      2009-03-27  Simon Martin  <simartin@users.sourceforge.net>
      
      	PR c++/29727
      	* decl.c (check_array_designated_initializer): Handle error_mark_node.
      
      gcc/testsuite/
      
      2009-03-27  Simon Martin  <simartin@users.sourceforge.net>
      
      	PR c++/29727
      	* g++.dg/init/error2.C: New test.
      
      From-SVN: r145104
      Simon Martin committed
    • re PR c++/35652 (offset warning should be given in the front-end) · a5f805df
      gcc/
      
      2009-03-27  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	PR c++/35652
      	* builtins.h (c_strlen): Do not warn here.
      	* c-typeck.c (build_binary_op): Adjust calls to pointer_int_sum.
      	* c-common.c (pointer_int_sum): Take an explicit location.
      	Warn about offsets out of bounds.
      	* c-common.h (pointer_int_sum): Adjust declaration.
      
      gcc/cp/
      
      2009-03-27  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	PR c++/35652
      	* typeck.c (cp_pointer_sum): Adjust call to pointer_int_sum.
      
      gcc/testsuite/
      
      2009-03-27  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	PR c++/35652
      	* gcc.dg/pr35652.C: New.
      	* g++.dg/warn/pr35652.C: New.
      	* gcc.dg/format/plus-1.c: Adjust message.
      
      From-SVN: r145102
      Manuel López-Ibáñez committed
    • Daily bump. · 9fd1d854
      From-SVN: r145100
      GCC Administrator committed
  2. 26 Mar, 2009 7 commits
  3. 25 Mar, 2009 14 commits
  4. 24 Mar, 2009 11 commits
  5. 23 Mar, 2009 3 commits
    • re PR debug/39524 (Duplicate C++ DW_TAG_variable breaking its DW_AT_location resolution) · 603f5959
      	PR debug/39524
      	* dwarf2out.c (gen_variable_die): Avoid adding duplicate declaration
      	nodes.
      
      	* g++.dg/debug/dwarf2/imported-decl-1.C: New test.
      
      Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
      
      From-SVN: r145018
      Dodji Seketeli committed
    • add PR tag · 27425fe7
      From-SVN: r145015
      Jason Merrill committed
    • re PR c/39495 (OMP parallel loop w/ unsigned index var rejected) · c5cdb03f
      	PR c/39495
      	* c-parser.c (c_parser_omp_for_loop): Call c_parser_binary_expression
      	instead of c_parser_expression_conv, if original_code isn't one of the
      	4 allowed comparison codes, fail.
      
      	* semantics.c (handle_omp_for_class_iterator): Swap cond operands and
      	code if iter is the second operand.
      	* parser.c (cp_parser_binary_expression): Add no_toplevel_fold_p
      	argument.  If it is set, don't build the toplevel expression with
      	build_x_binary_op, but build2.
      	(cp_parser_assignment_expression,  cp_parser_omp_for_incr): Adjust
      	callers.
      	(cp_parser_omp_for_cond): Don't assume the first operand of the
      	comparison must be decl.
      
      	* gcc.dg/gomp/pr39495-2.c: Remove xfails.
      
      	* testsuite/libgomp.c/loop-12.c: New test.
      	* testsuite/libgomp.c/loop-11.c: New test.
      	* testsuite/libgomp.c++/loop-11.C: New test.
      	* testsuite/libgomp.c++/loop-12.C: New test.
      	* testsuite/libgomp.c++/for-8.C: New test.
      
      From-SVN: r145014
      Jakub Jelinek committed