Commit Graph

90084 Commits

Author SHA1 Message Date
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
Paolo Bonzini
b5d60b839f re PR tree-optimization/36891 (ICE with vector division and -ffast-math and LIM)
2008-09-30  Paolo Bonzini  <bonzini@gnu.org>

	PR testsuite/36891
	PR testsuite/37675
	* gcc.dg/torture/pr36891.c: Add -msse on 32-bit i386.

From-SVN: r140779
2008-09-30 09:26:22 +00:00
David Daney
be8f156fe8 * MAINTAINERS (Write After Approval): Update e-mail address.
From-SVN: r140778
2008-09-30 05:32:33 +00:00
H.J. Lu
bd459cb6ab i386.opt: Add msse2avx.
2008-09-29  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.opt: Add msse2avx.

	* config/i386/linux.h (ASM_SPEC): New.  Support -msse2avx.
	* config/i386/linux64.h (ASM_SPEC): Likewise.

	* doc/invoke.texi: Document -msse2avx.

From-SVN: r140774
2008-09-29 17:32:29 -07:00
GCC Administrator
78bf333c16 Daily bump.
From-SVN: r140772
2008-09-30 00:16:55 +00:00
Eric Botcazou
2eb20e13f1 * dwarf2out.c (constant_size): Use HOST_WIDE_INT in parameter type.
From-SVN: r140769
2008-09-29 23:56:19 +00:00
Andrew Pinski
2dda7d28ea re PR middle-end/37669 (ice for legal code with -O2)
2008-09-29  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/37669
        * gcc.c-torture/compile/pr37669.c: New test.

From-SVN: r140765
2008-09-29 14:23:52 -07:00
Joseph Myers
567075ed31 ifcvt.c (noce_emit_store_flag): If using condition from original jump, reverse it if if_info->cond was reversed.
* ifcvt.c (noce_emit_store_flag): If using condition from original
	jump, reverse it if if_info->cond was reversed.

From-SVN: r140764
2008-09-29 20:31:27 +01:00
Eric Botcazou
ae00112bf0 expr.c (expand_expr_real_1): Force op0 to non-constant memory if it cannot be forced to constant memory.
* expr.c (expand_expr_real_1) <normal_inner_ref>: Force op0 to
	non-constant memory if it cannot be forced to constant memory.
	Overhaul surrounding code and factor out common condition.

From-SVN: r140760
2008-09-29 18:15:28 +00:00
Jeff Law
6b5676ce6e reload1.c (alter_reg): Add missing curly braces.
* reload1.c (alter_reg): Add missing curly braces.

From-SVN: r140758
2008-09-29 10:20:21 -06:00
Michael J. Eager
696e45ba8e predicates.md (easy_fp_constant): Single FP consts are easy.
* config/rs6000/predicates.md (easy_fp_constant): Single FP consts
        are easy.
        * config/rs6000/rs6000.c (rs6000_override_options): Move
        rs6000_init_hard_regno_mode_ok after all options changed.
        Set rs6000_single_float, rs6000_double_float if TARGET_HARD_FLOAT.
        (rs6000_handle_option): Process -msingle-float, -mdouble-float,
        -msimple-fpu flags.  Add warning messages if single FP not configured.
        (rs6000_file_start): Output gnu_attribute for single-float.
        (legitimate_lo_sum_address_p): Condition on TARGET_DOUBLE_FLOAT.
        (rs6000_legitimize_address): Likewise.
        (rs6000_legitimize_reload_address): Likewise.
        (rs6000_emit_move): Condition on TARGET_DOUBLE_FLOAT,
        TARGET_SINGLE_FLOAT.
        (function_arg_advance): Likewise (partial conversion).
        (setup_incoming_varargs): Condition on TARGET_DOUBLE_FLOAT.
        (rs6000_gimplify_va_arg): Condition on TARGET_DOUBLE_FLOAT,
        TARGET_SINGLE_FLOAT.
        (rs6000_split_multireg_move): Condition on TARGET_DOUBLE_FLOAT.
        (rs6000_emit_prologue): Likewise.
        (rs6000_function_value): Condition on TARGET_DOUBLE_FLOAT,
        TARGET_SINGLE_FLOAT.
        (rs6000_libcall_value): Likewise.
        * config/rs6000/rs6000.h (TARGET_SINGLE_FLOAT): New default to 1.
        (TARGET_DOUBLE_FLOAT): New default to 1
        (TARGET_SIMPLE_FPU): New default to 0
        (TARGET_SINGLE_FPU): New default to 0
        (TARGET_SINGLE_FLOAT_MODE): New.
        (TARGET_DOUBLE_FLOAT_MODE): New.
        * config/rs6000/singlefp.h: New; redefine TARGET_SINGLE_FLOAT,
        TARGET_DOUBLE_FLOAT, TARGET_SIMPLE_FPU, TARGET_SINGLE_FPU,
        UNITS_PER_FP_WORD
        * config/rs6000/rs6000.md (define_mode_iterator): Condition on
        TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT.
        (extendsfdf2, extendsfdf2_fpr, truncdfsf2, truncdfsf2_fpr,
        copysigndf3,fseldfsf4, negdf2, negdf2_fpr, absdf2, absdf2_fpr,
        nabsdf2_fpr, adddf3, adddf3_fpr, subdf3, subdf3_fpr, muldf3,
        muldf3_fpr, divdf3, divdf3_fpr, sqrtdf2, smaxdf3, smindf3,
        movdfcc, *fseldfdf4, floatsidf2, *floatsidf2_internal,
        floatunssidf2, *floatunssidf2_internal, fix_truncdfsi2,
        *fix_truncdfsi2_internal, fix_truncdfsi2_internal_gfxopt,
        fix_truncdfsi2_mfpgpr, fctiwz, btruncdf2, ceildf2, floordf2,
        rounddf2, floatdidf2, floatsidf_ppc64_mfpgpr, floatsidf_ppc64,
        floatunssidf_ppc64, fix_truncdfdi2, movdf_hardfloat32,
        movdf_hardfloat64_mfpgpr, movdf_hardfloat64, extenddftf2_fprs,
        extenddftf2_internal, trunctfdf2_internal2, fix_trunc_helper,
        abstf2_internal, movdf_update1, movdf_update2, cmpdf_internal1,
        cmptf_internal1, *cmptf_internal2): Condition on
        TARGET_DOUBLE_FLOAT.
        (aux_truncdfsf2, negsf2, *negsf2, abssf2, *abssf2, addsf3, subsf3,
        mulsf3, divsf3, sqrtsf2, copysignsf3, smaxsf3, sminsf3, movsfcc,
        *fselsfsf4, fixuns_truncsfsi2, fix_truncsfsi2, floatunssisf2,
        btruncsf2, ceilsf2, floorsf2, roundsf2, floatdisf2_internal1,
        floatdisf2_internal2, *movsf_hardfloat, trunctfsf2_fprs,
        *movsf_update1, *movsf_update2, *cmpsf_internal1): Condition on
        TARGET_SINGLE_FLOAT.
        (divsf3, sqrtsf2, divdf3, divdf3_fpr): Condition on TARGET_SIMPLE_FPU.
        * config/rs6000/rs6000.opt (-msingle-float): New.
        (-mdouble-float): New.
        (-msimple-fpu): New.
        * doc/invoke.texi (RS/6000 and PowerPC Options): Add
        -msingle-float, -mdouble-float, -msimple-fpu options.
        * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Set
        _SOFT_DOUBLE for -msingle-float.
        * config.gcc: New config for target=powerpc-xilinx-eabi.

From-SVN: r140757
2008-09-29 12:05:32 -04:00
Eric Botcazou
ccad758975 Fix typo.
From-SVN: r140750
2008-09-29 07:19:33 +00:00
Tobias Grosser
a61e3d2a29 graphite.c (dot_all_scops_1): Remove unused checks.
2008-09-29  Tobias Grosser  <grosser@fim.uni-passau.de>

	* graphite.c (dot_all_scops_1): Remove unused checks. SCoPs always have
	exit and entry.
	(new_scop): Take entry and exit edge to define new SCoP.
	(sd_region_p): New structure used during SCoP detection.
	(move_scops): Delete.
	(move_sd_regions): New.
	(scopdet_info): Change the definition from edges back to basic_blocks.
	(scopdet_edge_info):  Work on basic_blocks and rename to
	scopdet_basic_block_info.
	(split_difficult_bb): At the moment removed. We should later
	add it at another place.
	(build_scops_1): Work on basic_blocks.
	(bb_in_sd_region): New.
	(find_single_entry_edge): New.
	(find_single_exit_edge): New.
	(create_single_entry_edge): New.
	(sd_region_without_exit): New.
	(create_single_exit_edge): New.
	(unmark_exit_edges): New.
	(mark_exit_edges): New.
	(create_sese_edges): New.
	(build_graphite_scops): New.
	(build_scops): Make SCoPs SESE.
	(limit_scops): Use the new functions.

From-SVN: r140746
2008-09-29 01:28:16 +00:00
Hans-Peter Nilsson
e53c26770b * config/cris/cris.h (IRA_COVER_CLASSES): Define.
From-SVN: r140745
2008-09-29 00:35:53 +00:00
GCC Administrator
c47c69cbf8 Daily bump.
From-SVN: r140743
2008-09-29 00:16:48 +00:00