1. 29 Dec, 2005 10 commits
  2. 28 Dec, 2005 21 commits
  3. 27 Dec, 2005 8 commits
    • fold-const.c (int_const_binop): Return NULL_TREE when an expression can't be… · fd6c76f4
      fold-const.c (int_const_binop): Return NULL_TREE when an expression can't be evaluated at compile-time (instead...
      
      
      	* fold-const.c (int_const_binop): Return NULL_TREE when an expression
      	can't be evaluated at compile-time (instead of calling abort).
      	Return NULL_TREE for division (and modulus) by zero.
      	(const_binop):  Return NULL_TREE for floating point operators that
      	aren't handled by real_arithmetic.
      	(fold_binary):  Eliminate "wins" variable, and "binary" label, by
      	folding operators with constant operands early.  Assert that
      	operands are non-NULL.
      
      From-SVN: r109088
      Roger Sayle committed
    • fp-int-convert-timode.c: Don't test IBM Extended Double long doubles or repeat tests when... · 5156c0c3
      	* gcc.dg/torture/fp-int-convert-timode.c: Don't test IBM
      	Extended Double long doubles or repeat tests when long double is
      	the same size as double.
      
      From-SVN: r109087
      Alan Modra committed
    • re PR testsuite/25442 (-fpic/-fPIC failures in gcc.dg/ipa/ipa-1.c ipa-2.c ipa-3.c ipa-4.c ipa-5.c) · 07722361
      	* g++.dg/rtti/tinfo1.C: Scan for ".global" also.
      
      	PR testsuite/25442
      	* gcc.dg/ipa/ipa-1.c, gcc.dg/ipa/ipa-2.c, gcc.dg/ipa/ipa-3.c,
      	gcc.dg/ipa/ipa-4.c, gcc.dg/ipa/ipa-5.c: Skip if -fpic/-fPIC.
      
      	PR testsuite/25441
      	* gcc.dg/pr23911.c: Make test variable static.
      
      	PR testsuite/25444
      	* gcc.dg/tree-ssa/pr14841.c: Likewise.
      
      From-SVN: r109083
      Kaveh R. Ghazi committed
    • re PR c++/25439 ("template<> int A<0>" accepted) · d85d3d57
      	PR c++/25439
      	* decl.c (grokdeclarator): Remove dead code.
      	* ptree.c (cxx_print_xnode): Handle BASELINK.
      	* parser.c (make_id_declarator): Add sfk parameter.  
      	(cp_parser_direct_declarator): Do not pass TYPE_DECLs to
      	make_id_declarator.
      	(cp_parser_declarator_id): Simplify BASELINKs here.
      	(cp_parser_member_declaration): Adjust calls to
      	make_id_declarator.
      	PR c++/25439
      	* g++.dg/parse/crash17.C: Adjust error markers.
      	* g++.dg/template/error20.C: New test.
      
      From-SVN: r109079
      Mark Mitchell committed
    • tree-vrp.c (extract_range_from_binary_expr): Use build_int_cst instead of fold_convert. · dec2f881
      	* tree-vrp.c (extract_range_from_binary_expr): Use
      	build_int_cst instead of fold_convert.
      
      From-SVN: r109078
      Kazu Hirata committed
    • PR c++/23171, c++/23172, c++/25417. · 3b2db49f
      	* c-decl.c (compound_literal_number): Remove.
      	(build_compound_literal): Use set_compound_literal_name.
      	* c-common.c (compound_literal_number): New variable.
      	(set_compound_literal_name): New function.
      	* c-common.h (set_compound_literal_name): Declare.
      
      	PR c++/23171, c++/23172, c++/25417.
      	* typeck.c (build_unary_op): Create temporary variables for
      	compound literals whose addresses are taken.
      	* init.c (expand_aggr_init_1): Use COMPOUND_LITERAL_P.
      	* decl.c (reshape_init_vector): Likewise.
      	(reshape_init): Give it external linkage.
      	(check_initializer): Use COMPOUND_LITERAL_P.
      	(initialize_artificial_var): Allow the initializer to be a
      	CONSTRUCTOR.
      	* call.c (make_temporary_var_for_ref_to_temp): Use
      	create_temporary_var.
      	* cp-tree.h (COMPOUND_LITERAL_P): New macro.
      	(rehape_init): Declare.
      	* typeck2.c (digest_init): Use COMPOUND_LITERAL_P.
      	* semantics.c (finish_compound_literal): Use reshape_init.
      
      	PR c++/23172
      	* g++.dg/ext/complit4.C: New test.
      
      	PR c++/25417
      	* g++.dg/ext/complit5.C: Likewise.
      
      From-SVN: r109075
      Mark Mitchell committed
    • * MAINTAINERS: Update my email address. · 103a4b39
      From-SVN: r109074
      Steven Bosscher committed
    • Daily bump. · e004b919
      From-SVN: r109071
      GCC Administrator committed
  4. 26 Dec, 2005 1 commit