Commit Graph

90098 Commits

Author SHA1 Message Date
Daniel Kraft
b82657f4a8 re PR fortran/37638 (ICE in update_arglist_pass)
2008-10-05  Daniel Kraft  <d@domob.eu>

	PR fortran/37638
	* gfortran.h (struct gfc_typebound_proc): New flag `error'.
	* resolve.c (update_arglist_pass): Added assertion.
	(update_compcall_arglist): Fail early for erraneous procedures to avoid
	confusion later.
	(resolve_typebound_generic_call): Ignore erraneous specific targets
	and added assertions.
	(resolve_typebound_procedure): Set new `error' flag.

2008-10-05  Daniel Kraft  <d@domob.eu>

	PR fortran/37638
	* gfortran.dg/typebound_call_9.f03: New test.

From-SVN: r140880
2008-10-05 08:39:37 +02:00
Paul Thomas
ee9ef10338 re PR fortran/37706 (ICE with use only and equivalent)
2008-10-04  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/37706
	* module.c (load_equiv): Check the module before negating the
	unused flag.

2008-10-04  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/37706
	* gfortran.dg/module_equivalence_4.f90: New test.

From-SVN: r140879
2008-10-05 05:50:00 +00:00
GCC Administrator
7f23df4ebb Daily bump.
From-SVN: r140877
2008-10-05 00:16:35 +00:00
John David Anglin
0b076fea2a re PR target/37603 (FAIL: gcc.c-torture/compile/pr36141.c at -O1 and above)
PR target/37603
	* pa.c (legitimize_pic_address): Force function labels to memory in
	word mode.

From-SVN: r140870
2008-10-04 18:03:07 +00:00
Anton Blanchard
a3cb4b82a7 rs6000.c (rs6000_emit_sync): Use gen_lwsync().
2008-10-04  Anton Blanchard  <anton@samba.org>

        * config/rs6000/rs6000.c (rs6000_emit_sync): Use gen_lwsync().
        (rs6000_split_atomic_op): Same.
        (rs6000_split_compare_and_swap): Same.
        (rs6000_split_compare_and_swapqhi): Same.

From-SVN: r140869
2008-10-04 12:22:06 -04:00
Richard Guenther
63a14fa3cd tree-ssa-sccvn.c (vn_reference_op_eq): Use types_compatible_p instead of pointer equality.
2008-10-04  Richard Guenther  <rguenther@suse.de>

	* tree-ssa-sccvn.c (vn_reference_op_eq): Use types_compatible_p
	instead of pointer equality.
	(vn_nary_op_eq): Likewise.

	* gcc.dg/tree-ssa/ssa-pre-21.c: New testcase.

From-SVN: r140868
2008-10-04 14:19:48 +00:00
Gerald Pfeifer
f913dcd658 * gcc_release: Fix a couple of comments.
From-SVN: r140867
2008-10-04 13:46:23 +00:00
GCC Administrator
27829eaad6 Daily bump.
From-SVN: r140865
2008-10-04 00:16:41 +00:00
Andrew Pinski
3a86d13b10 rs6000.md (fseldfsf4): Add TARGET_SINGLE_FLOAT condition.
2008-10-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * config/rs6000/rs6000.md (fseldfsf4): Add TARGET_SINGLE_FLOAT 
        condition.
        (fselsfdf4): Make condition on "TARGET_HARD_FLOAT && TARGET_FPRS &&
        TARGET_DOUBLE_FLOAT && TARGET_SINGLE_FLOAT".

From-SVN: r140862
2008-10-03 14:14:25 -07:00
Danny Smith
12df950813 Add this missing ChangeLog entry:
* config/i386/winnt.c (i386_pe_strip_name_encoding_full):
	Add a null terminator to the stripped name.
and revert it:
	* config/i386/winnt.c (i386_pe_strip_name_encoding_full):
	Revert previous change.

From-SVN: r140860
2008-10-03 20:50:54 +00:00
Tom Tromey
d1f43464d8 * stringpool.c (ggc_alloc_string): Terminate string.
From-SVN: r140859
2008-10-03 20:36:17 +00:00
Jakub Jelinek
32001f69b9 gimplify.c (gimplify_function_tree): For -finstrument-functions use gimple_bind_{,set_}block instead of...
* gimplify.c (gimplify_function_tree): For -finstrument-functions
	use gimple_bind_{,set_}block instead of gimple_{,set_}block.
	* gimple.h (gimple_bind_set_block): Allow second argument to be NULL.

From-SVN: r140858
2008-10-03 21:28:09 +02:00
Jakub Jelinek
524d9a4532 re PR debug/37726 (Even at -O0 -g debuginfo for vars mentioned in nested fns is not emitted)
PR debug/37726
	* gimplify.c (declare_vars): Use gimple_bind_block instead of
	gimple_block.

	* gcc.dg/debug/dwarf2/pr37726.c: New test.

From-SVN: r140857
2008-10-03 20:55:39 +02:00
Paolo Carlini
4d4e036d31 re PR c++/37719 (incorrect type on warning of mismatched exception specification with templates)
/cp
2008-10-03  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/37719
	* error.c (dump_function_decl): Save the exceptions in case of
	error about incompatible specifications in a specialization.

/testsuite
2008-10-03  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/37719
	* g++.dg/template/error36.C: New.

From-SVN: r140855
2008-10-03 16:29:07 +00:00
Pascal Obry
2f07423c8c gcov.c (create_file_names): Properly handle UNIX and DOS directory separators.
* gcov.c (create_file_names): Properly handle UNIX and DOS
        directory separators.
        (make_gcov_file_name): Likewise + convert the ':' DOS drive
        separator to '~' to ensure clean filenames on Windows.

From-SVN: r140854
2008-10-03 12:49:38 +00:00
Danny Smith
b268558f8a winnt.c (i386_pe_strip_name_encoding_full): Add a null terminator to the stripped name.
* config/i386/winnt.c (i386_pe_strip_name_encoding_full):
	Add a null terminator to the stripped name.

From-SVN: r140849
2008-10-03 04:36:36 +00:00
GCC Administrator
fe7b06b783 Daily bump.
From-SVN: r140847
2008-10-03 00:16:36 +00:00
David Edelsohn
56f4cc0462 rs6000.c (USE_FP_FOR_ARG_P): Revert TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT.
* config/rs6000/rs6000.c (USE_FP_FOR_ARG_P): Revert
        TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT.
        (function_arg_advance): Condition on TARGET_DOUBLE_FLOAT,
        TARGET_SINGLE_FLOAT.
        Revert SCALAR_FLOAT_MODE_P condition.
        (function_arg): Condition on TARGET_DOUBLE_FLOAT,
        TARGET_SINGLE_FLOAT.
        (rs6000_function_value): Revert TARGET_DOUBLE_FLOAT,
        TARGET_SINGLE_FLOAT.

From-SVN: r140838
2008-10-02 14:53:04 -04:00
Steven Bosscher
414f00e997 re PR fortran/37635 (Fortran 2008: Support LEADZ / TRAILZ)
testsuite
	* gfortran.fortran-torture/execute/intrinsic_leadz.f90: New test.
	* gfortran.fortran-torture/execute/intrinsic_trailz.f90: New test.

fortran/
	PR fortran/37635
	* intrinsic.c (add_functions): Add LEADZ and TRAILZ as generics.
	* intrinsic.h (gfc_simplify_leadz, gfc_simplify_trailz): New protos.
	* gfortran.h <enum gfc_isym_id>: (GFC_ISYM_LEADZ, GFC_ISYM_TRAILZ): New.
	* f95-lang (gfc_init_builtin_functions): Add BUILT_IN_CLZ,
	BUILT_IN_CLZL, BUILT_IN_CLZLL, BUILT_IN_CTZ, BUILT_IN_CTZL, and
	BUILT_IN_CTZLL.
	* trans-intrinsic.c (gfc_conv_intrinsic_leadz,
	gfc_conv_intrinsic_trails): New code-generation functions for LEADZ
	and TRAILZ intrinsics.
	(gfc_conv_intrinsic_function): Use them
	* intrinsic.texi: Add documentation for LEADZ and TRAILZ.
	* simplify.c (gfc_simplify_leadz, gfc_simplify_trailz): New functions.

From-SVN: r140837
2008-10-02 18:51:12 +00:00
Janis Johnson
3057d7cfab * gcc.dg/torture/pr36891.c: Ignore an irrelevant warning.
From-SVN: r140836
2008-10-02 17:53:16 +00:00
Janis Johnson
4e5b36bd43 ppc64-abi-3.c: Initialize variables to suppress warning.
* gcc.target/powerpc/ppc64-abi-3.c: Initialize variables to suppress
	warning.

From-SVN: r140835
2008-10-02 17:52:16 +00:00
Daniel Jacobowitz
17372f8cc5 * builtins.c (fold_builtin_pow): Check for 0 ** NEGATIVE.
From-SVN: r140833
2008-10-02 15:15:40 +00:00
Richard Guenther
0d17b70a0a re PR middle-end/37713 (ice for legal code with -O3 on 20080926)
2008-10-02  Richard Guenther  <rguenther@suse.de>

	PR middle-end/37713
	* tree-ssa.c (useless_type_conversion_p_1): For COMPLEX_TYPE
	and VECTOR_TYPE recurse with useless_type_conversion_p which
	properly handles void pointer conversion.
 
	* gcc.c-torture/compile/pr37713.c: New testcase.

From-SVN: r140832
2008-10-02 13:11:12 +00:00
Danny Smith
068450d045 re PR target/37528 (boostrap failure due to configure problems)
PR target/37528
	* config/i386/mingw32.h (LIBGCC_SPEC) : Replace with ..
	(REAL_LIBGCC_SPEC): New.  Always include -lgcc.

From-SVN: r140830
2008-10-02 08:37:36 +00:00
Uros Bizjak
4e5821d340 ChangeLog: Fix whitespace.
* ChangeLog: Fix whitespace.
	* testsuite/ChangeLog: Ditto.

From-SVN: r140829
2008-10-02 09:41:32 +02:00
GCC Administrator
7f6caa850e Daily bump.
From-SVN: r140826
2008-10-02 00:19:44 +00:00
Andrew Pinski
ffecec4dce c_locale.cc (__convert_to_v): Fix !__FLT_HAS_INFINITY__ case.
2008-10-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * config/locale/generic/c_locale.cc (__convert_to_v): Fix
        !__FLT_HAS_INFINITY__ case.

From-SVN: r140823
2008-10-01 16:16:19 -07:00
Chris Fairles
3e93b27552 tuple (tuple<>::swap): Implement swap for tuple as per DR 522 [Ready].
2008-09-30  Chris Fairles  <cfairles@gcc.gnu.org>

        * include/std/tuple (tuple<>::swap): Implement swap for tuple as per
        DR 522 [Ready].
        * testsuite/20_util/tuple/swap.cc: New.

From-SVN: r140822
2008-10-01 22:04:02 +00:00
Andrew Pinski
266b48906a rs6000-c.c (altivec_resolve_overloaded_builtin): Handle ALTIVEC_BUILTIN_VEC_SPLATS...
2008-10-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
        Handle ALTIVEC_BUILTIN_VEC_SPLATS, ALTIVEC_BUILTIN_VEC_PROMOTE,
        ALTIVEC_BUILTIN_VEC_EXTRACT, and ALTIVEC_BUILTIN_VEC_INSERT specially,
        they translate to non builtins.
        * config/rs6000/rs6000.c (altivec_init_builtins): Add new variable
        opaque_ftype_opaque.  Define builtins __builtin_vec_splats,
        __builtin_vec_promote, __builtin_vec_extract, and
        __builtin_vec_insert.
        * config/rs6000/rs6000.h (enum rs6000_builtins): Add
        ALTIVEC_BUILTIN_VEC_EXTRACT, ALTIVEC_BUILTIN_VEC_PROMOTE,
        ALTIVEC_BUILTIN_VEC_INSERT, and ALTIVEC_BUILTIN_VEC_SPLATS.
        * config/rs6000/altivec.h (vec_extract): Define
        (vec_insert): Define.
        (vec_splats): Define.
        (vec_promote): Define.

2008-10-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * gcc.target/powerpc/altivec-cell-1.c: New test.
        * gcc.target/powerpc/altivec-cell-2.c: New test.
        * gcc.target/powerpc/altivec-cell-3.c: New test.
        * gcc.target/powerpc/altivec-cell-4.c: New test.
        * gcc.target/powerpc/altivec-cell-5.c: New test.
        * g++.dg/ext/altivec-cell-1.C: New test.
        * g++.dg/ext/altivec-cell-2.C: New test.
        * g++.dg/ext/altivec-cell-3.C: New test.
        * g++.dg/ext/altivec-cell-4.C: New test.
        * g++.dg/ext/altivec-cell-5.C: New test.

2008-10-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * tree.c (lvalue_p_1): COMPOUND_LITERAL_EXPR is also an lvalue.

From-SVN: r140821
2008-10-01 12:06:58 -07:00
Andrew Pinski
0b61703ca6 rs6000-c.c (altivec_overloaded_builtins): Add Cell Altivec intrinsics.
2008-10-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>
            Yukishige Shibata <shibata@rd.scei.sony.co.jp>
            Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>

        * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add Cell
        Altivec intrinsics.
        * config/rs6000/rs6000.c (altivec_expand_lv_builtin): Delete
        prototype.  Add new parameter, blk.
        Use BLKmode for the MEM if blk is true.
        (altivec_expand_builtin): Handle ALTIVEC_BUILTIN_STVLX,
        ALTIVEC_BUILTIN_STVLXL, ALTIVEC_BUILTIN_STVRX, and
        ALTIVEC_BUILTIN_STVRXL.
        Update usage of altivec_expand_lv_builtin.
        Handle ALTIVEC_BUILTIN_LVLX, ALTIVEC_BUILTIN_LVLXL,
        ALTIVEC_BUILTIN_LVRX, and ALTIVEC_BUILTIN_LVRXL.
        (altivec_init_builtins): If compiling for the Cell, also define the
        cell VMX builtins.
        * config/rs6000/rs6000.h (rs6000_builtins): Define
        ALTIVEC_BUILTIN_LVLX, ALTIVEC_BUILTIN_LVLXL, ALTIVEC_BUILTIN_LVRX,
        ALTIVEC_BUILTIN_LVRXL, ALTIVEC_BUILTIN_STVLX, ALTIVEC_BUILTIN_STVLXL,
        ALTIVEC_BUILTIN_STVRX, ALTIVEC_BUILTIN_STVRXL,
        ALTIVEC_BUILTIN_VEC_LVLX, ALTIVEC_BUILTIN_VEC_LVLXL,
        ALTIVEC_BUILTIN_VEC_LVRX, ALTIVEC_BUILTIN_VEC_LVRXL,
        ALTIVEC_BUILTIN_VEC_STVLX, ALTIVEC_BUILTIN_VEC_STVLXL,
        ALTIVEC_BUILTIN_VEC_STVRX, and ALTIVEC_BUILTIN_VEC_STVRXL.
        * config/rs6000/altivec.md (define_constants): Define UNSPEC_LVLX,
        UNSPEC_LVLXL, UNSPEC_LVRX, UNSPEC_LVRXL, UNSPEC_STVLX, UNSPEC_STVLXL,
        UNSPEC_STVRX, and UNSPEC_STVRXL.
        (altivec_lvlx): New pattern.
        (altivec_lvlxl): New pattern.
        (altivec_lvrx): New pattern.
        (altivec_lvrxl): New pattern.
        (altivec_stvlx): New pattern.
        (altivec_stvlxl): New pattern.
        (altivec_stvrx): New pattern.
        (altivec_stvrxl): New pattern.
        * config/rs6000/altivec.h (vec_lvlx): Define if PPU is defined.
        (vec_lvlxl): Likewise.
        (vec_lvrx): Define if PPU is defined.
        (vec_lvrxl): Likewise.
        (vec_stvlx): Define if PPU is defined.
        (vec_stvlxl): Likewise.
        (vec_stvrx): Define if PPU is defined.
        (vec_stvrxl): Likewise.

2008-10-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * gcc.target/powerpc/altivec_check.h (altivec_cell_check): New function.
        * gcc.target/powerpc/altivec-cell-6.c: New test.
        * gcc.target/powerpc/altivec-cell-7.c: New test.
        * gcc.target/powerpc/altivec-cell-8.c: New test.

From-SVN: r140820
2008-10-01 11:45:35 -07:00
Geert Bosch
522aa637e4 tree.c (contains_placeholder_p): Return 0 for a SAVE_EXPR.
* tree.c (contains_placeholder_p): Return 0 for a SAVE_EXPR.

From-SVN: r140819
2008-10-01 20:43:09 +02:00
Mark Mitchell
8fe005eeee * MAINTAINERS (Blanket Write Privs): Change to Global Reviewers.
From-SVN: r140817
2008-10-01 18:38:07 +00:00
Richard Guenther
c8ce33fa7f re PR tree-optimization/37617 (ICE on valid code)
2008-10-01  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/37617
	* tree-ssa-pre.c (create_expression_by_pieces): During FRE
	do not add to the NEW_SETS.

	* gcc.c-torture/compile/pr37617.c: New testcase.

From-SVN: r140816
2008-10-01 16:23:23 +00:00
Richard Guenther
256f88c6c0 re PR middle-end/37285 (ICE while building binutils on ppc)
2008-10-01  Richard Guenther  <rguenther@suse.de>

        PR middle-end/37285
        * tree-vrp.c (execute_vrp): If we optimized away the default
        case make sure to promote the label that got in place of it
        to a default case label.

        * gcc.c-torture/compile/pr37285.c: New testcase.

From-SVN: r140814
2008-10-01 15:09:26 +00:00
Richard Henderson
35a45bd40e re PR tree-optimization/35737 (ICE with __builtin_setjmp and complex variable)
PR tree-opt/35737
        * tree-complex.c (set_component_ssa_name): Don't optimize
        is_gimple_min_invariant values with ssa_names in abnormal phis.

From-SVN: r140812
2008-10-01 07:28:04 -07:00
H.J. Lu
2d66eeeb56 re PR c++/37683 (Revision 140780 caused g++.dg/warn/Wparentheses-3.C)
2008-09-30  H.J. Lu  <hongjiu.lu@intel.com>

	PR c++/37683
	* parser.c (cp_parser_selection_statement): Fix uninitialized
	variable.

From-SVN: r140810
2008-10-01 12:26:02 +00:00
Paolo Bonzini
001003c265 re PR tree-optimization/37662 (ice: tree check: expected ssa_name, have integer_cst in get_value_range, at tree-vrp.c:612)
2008-09-30  Paolo Bonzini  <bonzini@gnu.org>

	PR tree-optimization/37662
	* tree-ssa-ccp.c (fold_gimple_assign): Invert the operands of a
	commutative binary operation if they are in the wrong order and
	fold_build2 produces non-GIMPLE.

From-SVN: r140809
2008-10-01 12:22:17 +00:00
Andreas Schwab
9e81dbc753 system-linux-ppc64.ads: New file.
* system-linux-ppc64.ads: New file.
* gcc-interface/Makefile.in: Add multilib handling for
powerpc-linux.

From-SVN: r140808
2008-10-01 08:33:54 +00:00
Kai Tietz
7ec5944526 offsetof.C (main): Use __SIZE_TYPE__ instead of unsigned long for pointer cast.
2008-10-01  Kai Tietz  <kai.tietz@onevision.com>

        * g++.dg/abi/offsetof.C (main): Use __SIZE_TYPE__ instead of
        unsigned long for pointer cast.
        * g++.dg/init/struct1.C: Likewise.
        * g++.dg/init/struct2.C: Likewise.
        * g++.dg/init/struct3.C: Likewise.
        * g++.dg/ext/utf-cvt.C: Correct for w64.
        * gcc.dg/utf-cvt.c: Likewise.
        * lib/target-supports.exp (check_effective_target_llp64): New.

From-SVN: r140807
2008-10-01 09:38:53 +02:00
GCC Administrator
40ed87f7a5 Daily bump.
From-SVN: r140803
2008-10-01 00:16:28 +00:00
Andreas Tobler
d26c47530e libjava.exp (libjava_arguments): Do not append "no-install" to additional_flags for *-*-darwin.
2008-09-30  Andreas Tobler  <a.tobler@schweiz.org>

	* testsuite/lib/libjava.exp (libjava_arguments): Do not append
	"no-install" to additional_flags for *-*-darwin.

From-SVN: r140797
2008-09-30 22:08:42 +02:00
Simon Martin
dcbdf612f5 re PR c++/37555 (ICE with invalid typedef)
gcc/cp/

2008-09-30  Simon Martin  <simartin@users.sourceforge.net>

	    PR c++/37555
	    PR c++/37556
	    * decl.c (grokdeclarator): Set the type for typedefs to a
	    nested-name-specifier to error_mark_node.

gcc/testsuite/

2008-09-30  Simon Martin  <simartin@users.sourceforge.net>

	    PR c++/37555
	    * g++.dg/parse/error32.C: New test.

	    PR c++/37556
	    * g++.dg/parse/error33.C: New test.

From-SVN: r140794
2008-09-30 19:25:35 +00:00
Jakub Jelinek
61b70fcb8c re PR tree-optimization/37662 (ice: tree check: expected ssa_name, have integer_cst in get_value_range, at tree-vrp.c:612)
PR tree-optimization/37662
	PR tree-optimization/37663
	* tree-vrp.c (simplify_truth_ops_using_ranges): Don't call
	get_value_range with non-SSA_NAME.  Don't assert operands have been
	folded, instead just bail out.

	* gcc.c-torture/compile/pr37662.c: New test.
	* gcc.dg/pr37663.c: New test.

From-SVN: r140792
2008-09-30 19:00:49 +02:00
Janus Weil
00625faea4 re PR fortran/36592 (F2003: Procedure pointer in COMMON)
2008-09-30  Janus Weil  <janus@gcc.gnu.org>

        PR fortran/36592
        * symbol.c (check_conflict): If a symbol in a COMMON block is a
        procedure, it must be a procedure pointer.
        (gfc_add_in_common): Symbols in COMMON blocks may be variables or
        procedure pointers.
        * trans-types.c (gfc_sym_type): Make procedure pointers in
        * COMMON
        blocks work.


2008-09-30  Janus Weil  <janus@gcc.gnu.org>

        PR fortran/36592
        * gfortran.dg/proc_ptr_common_1.f90: New.
        * gfortran.dg/proc_ptr_common_2.f90: New.

From-SVN: r140790
2008-09-30 17:19:25 +02:00
Paolo Carlini
f249018cc2 2008-09-30 Paolo Carlini <paolo.carlini@oracle.com>
* Minor formatting tweaks to the ChangeLog.

From-SVN: r140789
2008-09-30 14:53:53 +00:00
Paolo Carlini
18657c4d9f PR libstdc++/30085 (again)
2008-09-30  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/30085 (again)
	* include/debug/unordered_map (unordered_map<>, unordered_multimap<>):
	Do not derive from _Safe_association, derive from _GLIBCXX_STD_D::
	unordered_map / unordered_multimap; add missing member functions.
	* include/debug/unordered_set (unordered_set<>, unordered_multiset<>):
	Likewise for _GLIBCXX_STD_D::unordered_set / unordered_multiset.
	* include/debug/safe_association.h: Remove.
	* include/Makefile.am: Adjust.
	* include/Makefile.in: Regenerate.
	* testsuite/23_containers/unordered_multimap/init-list.cc: Remove
	xfail.

From-SVN: r140787
2008-09-30 13:49:15 +00:00
Paolo Carlini
ced3cb9f72 PR libstdc++/30085 (again)
2008-09-30  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/30085 (again)
	* include/debug/unordered_map (unordered_map<>, unordered_multimap<>):
	Do not derive from _Safe_association, derive from _GLIBCXX_STD_D::
	unordered_map / unordered_multimap; add missing member functions.
	* include/debug/unordered_set (unordered_set<>, unordered_multiset<>):
	Likewise for _GLIBCXX_STD_D::unordered_set / unordered_multiset.
	* include/debug/safe_association.h: Remove.
	* include/Makefile.am: Adjust.
	* include/Makefile.in: Regenerate.
	* testsuite/23_containers/unordered_multimap/init-list.cc: Remove
	xfail.

From-SVN: r140786
2008-09-30 13:48:55 +00:00
Andrew Pinski
1847ea4d9f rs6000.md (fnmadds combiner): Revert typo.
2008-09-30  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * config/rs6000/rs6000.md (fnmadds combiner): Revert typo.

From-SVN: r140785
2008-09-30 09:14:48 -04:00
Richard Guenther
516c743fe7 re PR middle-end/37491 (Revision 140257 causes vectorizer tests failures)
2008-09-30  Richard Guenther  <rguenther@suse.de>

	PR middle-end/37491
	* tree-vect-transform.c (vect_create_data_ref_ptr): Properly
	build restrict-qualified pointers.
	(vectorizable_store): Move alias check later.
	(vectorizable_load): Likewise.

From-SVN: r140781
2008-09-30 10:36:22 +00:00
Paolo Bonzini
626c34b5c9 c-common.c (empty_if_body_warning): Remove.
2008-09-30  Paolo Bonzini  <bonzini@gnu.org>

	* c-common.c (empty_if_body_warning): Remove.
	* c-common.h (empty_if_body_warning): Remove.
	* c-parser.c (c_parser_if_body, c_parser_else_body): Implement
	here the -Wempty-body warning for `if' and `else' statements.
	* c-typeck.c (c_finish_if_stmt): Do not call empty_body_warning.

cp:
2008-09-30  Paolo Bonzini  <bonzini@gnu.org>

	* parser.c (cp_parser_selection_statement): Implement here the
	-Wempty-body warning for `if' and `else' statements.
	* semantics.c (finish_if_stmt): Do not call empty_body_warning.

testsuite:
2008-09-30  Paolo Bonzini  <bonzini@gnu.org>

	* g++.dg/warn/if-empty-1.C: Copy from gcc.dg/if-empty-1.c.

From-SVN: r140780
2008-09-30 09:52:41 +00:00