1. 06 Jul, 2007 4 commits
    • re PR c++/32245 (wrong POD type initialization with pointer to member) · 32a11c08
      	PR c++/32245
      	* init.c (build_zero_init): Always build an initializer for
      	non-static storage.
      	* typeck2.c (build_functional_cast): Use build_zero_init.
      
      	PR c++/32251
      	* init.c (build_new_1): Always pass the allocation function to
      	build_op_delete_call.
      	* call.c (build_op_delete_call): Handle operator delete with a
      	variable-argument list.  Do not issue an error when no matching
      	deallocation function is available for a new operator.
      
      	PR c++/31992
      	* cp-tree.h (any_value_dependent_elements_p): Declare it.
      	* decl.c (value_dependent_init_p): New function.
      	(cp_finish_decl): Use it.
      	* pt.c (value_dependent_expression_p): Use
      	any_value_dependent_elements_p.
      	* parser.c (cp_parser_primary_expression): Add comment about
      	treating dependent qualified names as integral
      	constant-expressions.
      
      	PR c++/32245
      	* g++.dg/init/ptrmem4.C: New test.
      
      	PR c++/32251
      	* g++.dg/init/new21.C: Likewise.
      
      	PR c++/31992
      	* g++.dg/template/static30.C: Likewise.
      
      From-SVN: r126399
      Mark Mitchell committed
    • rtlanal.c (num_sign_bit_copies1): Improve cases of ANDing or IORing with a constant. · 22761ec3
      	* rtlanal.c (num_sign_bit_copies1): Improve cases of ANDing or
      	IORing with a constant.
      
      From-SVN: r126397
      Adam Nemet committed
    • Daily bump. · 4f0a96f5
      From-SVN: r126395
      GCC Administrator committed
    • libstdc++.exp (v3-build_support): Use env(AR) and env(RANLIB), not… · 6ed80bc4
      libstdc++.exp (v3-build_support): Use env(AR) and env(RANLIB), not env(AR_FOR_TARGET) and env(RANLIB_FOR_TARGET).
      
      	* testsuite/lib/libstdc++.exp (v3-build_support): Use env(AR)
      	and env(RANLIB), not env(AR_FOR_TARGET) and env(RANLIB_FOR_TARGET).
      
      From-SVN: r126392
      Hans-Peter Nilsson committed
  2. 05 Jul, 2007 33 commits
  3. 04 Jul, 2007 3 commits
    • re PR tree-optimization/32604 (miscompilation at -O2) · c1130b62
      2007-07-04  Daniel Berlin  <dberlin@dberlin.org>
      
      	PR tree-optimization/32604
      	PR tree-optimization/32606
      	
      	* tree-ssa-pre.c (bb_bitmap_sets): Removed antic_safe_loads.
      	(compute_antic_safe): Removed.
      	(ANTIC_SAFE_LOADS): Ditto.
      	(compute_antic_aux): Don't print ANTIC_SAFE_LOADS.
      	(execute_pre): Don't call compute_antic_safe.
      	(vuse_equiv): New function.
      	(make_values_for_stmt): Use it
      	* tree-ssa-sccvn.c (set_ssa_val_to): Remove assert, since it is
      	not always true.
      
      From-SVN: r126338
      Daniel Berlin committed
    • re PR target/31331 ([avr] ICE on function attribute syntax for main()) · 44190aed
      	PR target/31331
      	* config/avr/avr.c (avr_naked_function_p): Handle receiving a type
      	rather than a decl. 
      	(avr_attribute_table): Make "naked" attribute apply to function types
      	rather than to decls.
      	(avr_handle_fntype_attribute): New function.
      
      From-SVN: r126337
      Anatoly Sokolov committed
    • visibility-12.c: New test. · 73ed1968
      	* gcc.dg/visibility-12.c: New test.
      	* gcc.dg/visibility-13.c: Likewise.
      	* g++.dg/ext/visibility-9.C: Likewise.
      	* g++.dg/ext/visibility-10.C: Likewise.
      
      From-SVN: r126330
      Mark Mitchell committed