1. 02 Jul, 2009 11 commits
  2. 01 Jul, 2009 22 commits
  3. 30 Jun, 2009 7 commits
    • re PR c++/40566 (rejects promoted throw) · 5ccde5a0
      	PR c++/40566
      	* convert.c (convert_to_integer) <case COND_EXPR>: Don't convert
      	to type arguments that have void type.
      
      	* g++.dg/parse/cond5.C: New test.
      
      From-SVN: r149121
      Jakub Jelinek committed
    • re PR debug/40573 (DWARF for inlined subroutines refers to the outlined copy) · 085e05ac
      	PR debug/40573
      	* dwarf2out.c (gen_formal_parameter_die): Call
      	equate_decl_number_to_die if node is different from origin.
      
      From-SVN: r149120
      Jakub Jelinek committed
    • gen-vect-25.c (n): New variable. · 92ce2174
      	* gcc.dg/tree-ssa/gen-vect-25.c (n): New variable.
      	(main): Pass n to main_1 instead.
      	* gcc.dg/tree-ssa/gen-vect-28.c (off): New variable.
      	(main_1): New function, split off from...
      	(main): ...here.  Pass `off' to main_1 instead.
      
      From-SVN: r149119
      Nathan Froyd committed
    • re PR c++/40595 ([C++0x] ICE trying to use sfinae with variadic template pack expansion) · 0db906f1
      	PR c++/40595
      	* pt.c (tsubst_pack_expansion): Handle unexpanded packs in an
      	EXPR_PACK_EXPANSION.
      
      From-SVN: r149117
      Jason Merrill committed
    • utils2.c (build_binary_op): Do not use the type of the left operand if... · 342f368c
      	* gcc-interface/utils2.c (build_binary_op) <MODIFY_EXPR>: Do not use
      	the type of the left operand if it pads a self-referential type when
      	the right operand is a constructor.
      
      	* gcc-interface/lang-specs.h: Fix copyright date.
      
      From-SVN: r149115
      Eric Botcazou committed
    • Enable building with g++. · 9fb374d6
      From-SVN: r149114
      Anthony Green committed
    • gcc-defs.exp (gcc-set-multilib-library-path): Delete. · b30bfd40
      gcc/testsuite/
      	* lib/gcc-defs.exp (gcc-set-multilib-library-path): Delete.
      	* lib/target-libpath.exp (ld_library_path_vars): New variable.
      	(init_ld_library_path_env_vars): New function, replacing the
      	orig_*_saved assignments.  Call it after defining it.
      	(set_ld_library_path_env_vars): Rewrite to use ld_library_path_vars.
      	(restore_ld_library_path_env_vars): Likewise.
      	(add_path, find_libgcc_s): New functions.
      	* lib/objc.exp (objc_init): Use find_libgcc_s instead of
      	gcc-set-multilib-library-path.
      	(objc_target_compile): Don't add "." to ld_library_path.
      	Use add_path.
      	* lib/gfortran.exp (gfortran_link_flags): Don't add "." to
      	ld_library_path.  Use add_path.  Use find_libgcc_s instead of
      	gcc-set-multilib-library-path.
      	* lib/g++.exp (g++_link_flags): Likewise.
      	* lib/obj-c++.exp (obj-c++_link_flags): Likewise.
      	* lib/c-torture.exp: Do not manipulate ld_library_path at the
      	top level; do it...
      	(c-torture-execute): ...here instead.  Use $ld_library_path_multilib
      	to tell when this needs to happen.  Use find_libgcc_s instead of
      	gcc-set-multilib-library-path.
      	* lib/gcc-dg.exp: Likewise.
      	* lib/gnat.exp (gnat_target_compile): Don't add "." to ld_library_path.
      	* g++.dg/compat/compat.exp (alt_ld_library_path): Don't add "."
      	unless it is in $ALT_LD_LIBRARY_PATH.
      	* g++.dg/compat/struct-layout-1.exp (alt_ld_library_path): Likewise.
      
      libffi/
      	* testsuite/lib/libffi-dg.exp (libffi-init): Don't add "."
      	to ld_library_path.  Use add_path.  Add just find_libgcc_s
      	to ld_library_path, not every libgcc multilib directory.
      
      libgomp/
      	* testsuite/lib/libgomp.exp (libgomp_init): Don't add "." to
      	ld_library_path.  Use add_path.  Add just find_libgcc_s to
      	ld_library_path, not every libgcc multilib directory.
      	* testsuite/libgomp.c/c.exp (ld_library_path): Don't call
      	gcc-set-multilib-library-path; rely on $always_ld_library_path instead.
      	* testsuite/libgomp.c++/c++.exp (ld_library_path): Likewise.
      	Use add_path.
      	* testsuite/libgomp.fortran/fortran.exp (ld_library_path): Likewise.
      
      libjava/
      	* testsuite/lib/libjava.exp (libjava_init): Just add
      	find_libgcc_s to libjava_libgcc_s_path, rather than every
      	libgcc multilib directory.
      	(libjava_arguments): Explain why we add "." to ld_library_path.
      	(gcj_invoke, exec_gij, libjava_invoke): Use add_path.
      
      libmudflap/
      	* testsuite/lib/libmudflap.exp (libmudflap-init): Don't add "."
      	to ld_library_path.  Use add_path.  Add just find_libgcc_s to
      	ld_library_path, not every libgcc multilib directory.
      
      libstdc++-v3/
      	* testsuite/lib/libstdc++.exp (libstdc++_init): Don't add "."
      	to ld_library_path.  Use add_path.  Add just find_libgcc_s to
      	ld_library_path, not every libgcc multilib directory.
      
      From-SVN: r149113
      Richard Sandiford committed