Commit Graph

91094 Commits

Author SHA1 Message Date
Joseph Myers
1cdc0d8f36 rs6000.c (rs6000_generate_compare): Condition choice of e500 comparison instructions on flag_finite_math_only &&...
* config/rs6000/rs6000.c (rs6000_generate_compare): Condition
	choice of e500 comparison instructions on flag_finite_math_only &&
	!flag_trapping_math, not flag_unsafe_math_optimizations.
	* config/rs6000/rs6000.md (abstf2): Condition choice of e500
	instructions on flag_finite_math_only && !flag_trapping_math, not
	flag_unsafe_math_optimizations.
	(bltgt, sltgt): Disable for TARGET_HARD_FLOAT && !TARGET_FPRS.
	* config/rs6000/spe.md (cmpsfeq_gpr, tstsfeq_gpr, cmpsfgt_gpr,
	tstsfgt_gpr, cmpsflt_gpr, tstsflt_gpr, cmpdfeq_gpr, tstdfeq_gpr,
	cmpdfgt_gpr, tstdfgt_gpr, cmpdflt_gpr, tstdflt_gpr, cmptfeq_gpr,
	tsttfeq_gpr, cmptfgt_gpr, tsttfgt_gpr, cmptflt_gpr, tsttflt_gpr):
	Condition choice of comparison instructions on
	flag_finite_math_only && !flag_trapping_math, not
	flag_unsafe_math_optimizations.

From-SVN: r142822
2008-12-18 22:13:05 +00:00
Andrew Pinski
6559c761d4 re PR middle-end/38565 (ICE with vector code)
2008-12-18  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/38565
        * testsuite/g++.dg/torture/pr38565.C: New test.

From-SVN: r142821
2008-12-18 14:00:46 -08:00
Jack Howarth
c3329535ac 21674.cc: Add xfail on all targets except darwin.
2008-12-18  Jack Howarth  <howarth@bromo.med.uc.edu>

	* testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
	Add xfail on all targets except darwin.
	* libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/
	1674.cc: Same.
	* libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc: Correct syntax
	for xfailing on all targets except linux.

From-SVN: r142819
2008-12-18 21:08:28 +00:00
Jakub Jelinek
0f737a30c0 re PR c++/38427 (crash for reference init code)
PR c++/38427
	* init.c (perform_member_init): For value-initialized
	references call permerror instead of warning and don't emit any
	INIT_EXPR.

	* g++.dg/init/ctor9.C: New test.

From-SVN: r142818
2008-12-18 21:51:07 +01:00
Ralf Wildenhues
baafc53472 Backport from upstream Libtool:
* libltdl.m4 (_LT_SYS_DYNAMIC_LINKER)
	(_LT_LINKER_SHLIBS): Add cache variables to tests that
	require the linker to work.  For shlibpath_overrides_runpath,
	this also changes the semantics to let the result from the C
	compiler take precedence.

boehm-gc/

	* configure: Regenerate.

fixincludes/

	* configure: Regenerate.

gcc/

	* configure: Regenerate.

libffi/

	* configure: Regenerate.

libgfortran/

	* configure: Regenerate.

libgomp/

	* configure: Regenerate.

libjava/classpath/

	* configure: Regenerate.

libjava/

	* configure: Regenerate.

libmudflap/

	* configure: Regenerate.

libobjc/

	* configure: Regenerate.

libssp/

	* configure: Regenerate.

libstdc++-v3/

	* configure: Regenerate.

zlib/

	* configure: Regenerate.

From-SVN: r142817
2008-12-18 20:04:55 +00:00
Jason Merrill
a11669269b re PR c++/38485 (GCC can't parse a parenthesized comma in a template-id within a default argument)
PR c++/38485
        * parser.c (cp_parser_token_starts_cast_expression): An EOF
        can't start a cast-expression.

From-SVN: r142815
2008-12-18 10:54:59 -05:00
Jason Merrill
938e76ad6d re PR c++/38561 (Revision 142799 may cause C++ demangle failures)
PR c++/38561
        * cp-demangle.c (d_expression, d_print_comp): Revert
        cast changes.

From-SVN: r142814
2008-12-18 09:51:56 -05:00
Jason Merrill
0dec126200 avoid target dependency
From-SVN: r142813
2008-12-18 09:31:01 -05:00
Jan Hubicka
f2ecb626bb df-scan.c (persistent_obstack, [...]): Remove.
* df-scan.c (persistent_obstack, df_invalidated_by_call): Remove.
	(df_scan_start_dump, df_get_call_refs, df_hard_reg_init): Rename
	df_invalidated_by_call to invalidated_by_call_regset.
	* df.h (df_invalidated_by_call): Remove.
	* regclass.c (regs_invalidated_by_call_regset, persistent_obstack): New
	variables.
	(init_reg_sets_1): Initialize regs_invalidated_by_call_regset.
	(globalize_reg): Likewise.
	* df-problems.c (df_rd_local_compute, df_lr_confluence_n,
	df_byte_lr_alloc): Rename df_invalidated_by_call to
	invalidated_by_call_regset.
	* basic-block.h (regs_invalidated_by_call_regset): Declare.

Co-Authored-By: Kai Tietz <kai.tietz@onevision.com>

From-SVN: r142812
2008-12-18 13:52:45 +00:00
Jan Hubicka
20377b474e ira-cost.c (copy_cost): Lazilly initialize move_cost if needed.
* ira-cost.c (copy_cost): Lazilly initialize move_cost if needed.

Co-Authored-By: Kai Tietz <kai.tietz@onevision.com>

From-SVN: r142811
2008-12-18 13:49:47 +00:00
Jan Hubicka
877a0b76e1 i386.h (CONDITIONAL_REGISTER_USAGE): Initialize for current function ABI.
* i386.h (CONDITIONAL_REGISTER_USAGE): Initialize for current function
	ABI.
	* i386.c (ix86_call_abi_override): Do not trigger target re-init and
	do not try to modify call used regs.
	(ix86_maybe_switch_abi): New function.
	(TARGET_EXPAND_TO_RTL_HOOK): New macro.

Co-Authored-By: Kai Tietz <kai.tietz@onevision.com>

From-SVN: r142810
2008-12-18 13:48:36 +00:00
Kenneth Zadeck
02b47899e1 re PR rtl-optimization/37922 (code generation error)
2008-12-18  Kenneth Zadeck <zadeck@naturalbridge.com>

	PR rtl-optimization/37922
	* dse.c (bb_info): Added regs_live field.
	(look_for_hardregs): New function.
	(replace_read): Added regs_live parameter and code to check that
	shift sequence does not clobber live hardregs.
	(check_mem_read_rtx): Added parameter to replace_read.
	(dse_step1): Added regs_live bitmap and initialize it.
	(rest_of_handle_dse): Added DF_NOTES problem and earlier call to
	df_analyze.
	* df-problems.c Renamed to 
	df_simulate_initialize_backwards.
	(df_simulate_one_insn): Renamed to
	df_simulate_one_insn_backwards.
	(df_simulate_artificial_refs_at_top): Renamed to 
	df_simulate_finalize_backwards.
	(df_simulate_initialized_forwards,
	df_simulate_one_insn_forwards,
	df_simulate_finalize_backwards): New functions.
	* df.h (df_simulate_artificial_refs_at_end): Renamed to 
	df_simulate_initialize_backwards.
	(df_simulate_one_insn): Renamed to
	df_simulate_one_insn_backwards.
	(df_simulate_artificial_refs_at_top): Renamed to 
	df_simulate_finalize_backwards.
	(df_simulate_initialized_forwards,
	df_simulate_one_insn_forwards,
	df_simulate_finalize_backwards): New functions.
	* ra-conflict.c (global_conflicts): Renamed
	df_simulate_artificial_refs_at_end to
	df_simulate_initialize_backwards.
	* sel-sched.c (propagate_lv_set): Renamed df_simulate_one_insn to
	df_simulate_one_insn_backwards.
	* ifcvt.c (dead_or_predicable): Renamed
	df_simulate_artificial_refs_at_end to
	df_simulate_initialize_backwards. Renamed df_simulate_one_insn to
	df_simulate_one_insn_backwards.
	* recog.c (peephole2_optimize): Ditto.
	* rtl-factoring (collect_pattern_seqs, clear_regs_live_in_seq): Ditto.

2008-12-18  Kenneth Zadeck <zadeck@naturalbridge.com>

	PR rtl-optimization/37922
	* g++.dg/torture/pr37922.C: New test.

From-SVN: r142809
2008-12-18 13:38:39 +00:00
Daniel Kraft
fb5bc08bb3 re PR fortran/31822 (Missing run-time bound checks for character pointer => target)
2008-12-18  Daniel Kraft  <d@domob.eu>

	PR fortran/31822
	* gfortran.h (gfc_check_same_strlen): Made public.
	* trans.h (gfc_trans_same_strlen_check): Made public.
	* check.c (gfc_check_same_strlen): Made public and adapted error
	message output to be useful not only for intrinsics.
	(gfc_check_merge): Adapt to gfc_check_same_strlen change.
	* expr.c (gfc_check_pointer_assign): Use gfc_check_same_strlen for
	string length compile-time check.
	* trans-expr.c (gfc_trans_pointer_assignment): Add runtime-check for
	equal string lengths using gfc_trans_same_strlen_check.
	* trans-intrinsic.c (gfc_trans_same_strlen_check): Renamed and made
	public from conv_same_strlen_check.
	(gfc_conv_intrinsic_merge): Adapted accordingly.

2008-12-18  Daniel Kraft  <d@domob.eu>

	PR fortran/31822
	* gfortran.dg/char_pointer_assign_2.f90: Updated expected error message
	to be more detailed.
	* gfortran.dg/char_pointer_assign_4.f90: New test.
	* gfortran.dg/char_pointer_assign_5.f90: New test.

From-SVN: r142808
2008-12-18 11:05:54 +01:00
Jakub Jelinek
ec81df7d4e re PR middle-end/38533 (tree-ssa-reassoc.c increases register pressure several times)
PR middle-end/38533
	* tree-ssa-reassoc.c (remove_visited_stmt_chain): New function.
	(rewrite_expr_tree): Add moved argument, move stmts together if
	needed.  Call remove_visited_stmt_chain.
	(linearize_expr_tree): Don't move stmts here.
	(reassociate_bb): Call remove_visited_stmt_chain if num ops is 1.
	Adjust rewrite_expr_tree caller.

	* gcc.dg/tree-ssa/pr38533.c: New test.
	* gcc.c-torture/execute/pr38533.c: New test.

From-SVN: r142807
2008-12-18 08:54:43 +01:00
Jakub Jelinek
9f68560cb5 re PR middle-end/38505 (Revision 142061 caused ICE on __builtin_memcpy)
PR middle-end/38505
	* tree-ssa.c (useless_type_conversion_p_1): Return
	false if inner_type is incomplete and outer_type is complete.

	* gcc.c-torture/compile/pr38505.c: New test.

From-SVN: r142806
2008-12-18 08:52:07 +01:00
Ben Elliston
18430d277c * config.sub, config.guess: Update from upstream sources.
From-SVN: r142805
2008-12-18 14:27:27 +11:00
GCC Administrator
27937508d1 Daily bump.
From-SVN: r142803
2008-12-18 00:16:47 +00:00
Jason Merrill
a77f94e240 semantics.c (describable_type): New function.
gcc/cp:
        * semantics.c (describable_type): New function.
        (finish_decltype_type): Use it for dependent exprs.
        * cp-tree.h: Declare it.
        * mangle.c (write_type) [DECLTYPE_TYPE]: Set skip_evaluation.
        (write_expression): If skip_evaluation, use type stubs.
        * tree.c (cp_tree_equal): Handle PARM_DECLs from different
        declarations of a function.
        * init.c (build_new): Do auto deduction if type is describable.
        * decl.c (cp_finish_decl): Likewise.
        * parser.c (cp_parser_omp_for_loop): Likewise.
gcc/testsuite:
        * g++.dg/cpp0x/auto6.C: Test more stuff.
        * g++.dg/cpp0x/auto12.C: New test.
libiberty:
        * cp-demangle.c (d_expression): Handle rvalue stubs too.
        [DEMANGLE_COMPONENT_CAST]: Update mangling.
        (d_print_comp): Avoid extra ", " with empty template argument packs.
        Remove handling for obsolete T() mangling.

From-SVN: r142799
2008-12-17 14:08:14 -05:00
Sebastian Pop
3aea2d1ce2 install.texi (Prerequisites): Document PPL and CLooG-PPL dependences and the configure options.
2008-12-17  Sebastian Pop  <sebastian.pop@amd.com>
        
        * doc/install.texi (Prerequisites): Document PPL and CLooG-PPL
        dependences and the configure options.
        (Configuration): Document --with-cloog, --with-ppl, --with-cloog-lib,
         --with-ppl-lib, --with-cloog-incude, --with-ppl-include.

From-SVN: r142798
2008-12-17 18:56:33 +00:00
Jack Howarth
d711bdded5 c99_classification_macros_c.cc: Don't xfail test on darwin8 or later.
2008-12-17  Jack Howarth  <howarth@bromo.med.uc.edu>

        * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
	Don't xfail test on darwin8 or later.

From-SVN: r142797
2008-12-17 17:51:49 +00:00
H.J. Lu
130423d789 re PR middle-end/38556 (Revision 142792 breaks bootstrap)
2008-12-17  H.J. Lu  <hongjiu.lu@intel.com>

	PR middle-end/38556
	* calls.c (expand_call): Check outgoing_reg_parm_stack_space
	only if REG_PARM_STACK_SPACE is defined.

From-SVN: r142794
2008-12-17 09:05:05 -08:00
Jan Hubicka
0e45662527 calls.c (expand_call): Do not sibcall if outgoing_reg_parm_stack_space does not match.
* calls.c (expand_call): Do not sibcall if
	outgoing_reg_parm_stack_space does not match.

Co-Authored-By: Kai Tietz <kai.tietz@onevision.com>

From-SVN: r142792
2008-12-17 12:03:04 +00:00
Daniel Kraft
8c13133cc3 re PR fortran/38137 (MERGE: -fbounds-check runtime check for same string length)
2008-12-17  Daniel Kraft  <d@domob.eu>

	PR fortran/38137
	* trans-intrinsic.c (conv_same_strlen_check): New method.
	(gfc_conv_intrinsic_merge): Call it here to actually do the check.

2008-12-17  Daniel Kraft  <d@domob.eu>

	PR fortran/38137
	* gfortran.dg/merge_char_3.f90: New test.

From-SVN: r142791
2008-12-17 11:16:28 +01:00
GCC Administrator
af8a63d21d Daily bump.
From-SVN: r142789
2008-12-17 00:17:41 +00:00
Anatoly Sokolov
f15a9aa2e4 avr.c (avr_mcu_t): Add attiny87...
* config/avr/avr.c (avr_mcu_t): Add attiny87, attiny327, at90pwm81,
	atmega16m1, at90scr100, atmega128rfa1, m3000f, m3000s and m3001b
	devices.
	* config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
	* config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).

From-SVN: r142783
2008-12-17 00:05:59 +03:00
Jack Howarth
91102877a1 c99_classification_macros_c.cc: Don't xfail excessive errors on darwin8 or later.
2008-12-16  Jack Howarth  <howarth@bromo.med.uc.edu>

        * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
	Don't xfail excessive errors on darwin8 or later.

From-SVN: r142782
2008-12-16 18:54:30 +00:00
Hariharan Sandanagobalane
95ffe01c05 re PR preprocessor/38842 (Problem with SystemC compilation using GCC 4.3.2)
PR target/38842
        * config/picochip/picochip.opt (mae): Squeezed the comments onto one
        line.

From-SVN: r142781
2008-12-16 16:30:26 +00:00
Rainer Orth
5e87dc23ef configure.ac (gcc_cv_ld_hidden): Sun ld on Solaris 9 and up supports hidden.
* configure.ac (gcc_cv_ld_hidden): Sun ld on Solaris 9 and up
	supports hidden.
	* configure: Regenerate.

From-SVN: r142779
2008-12-16 13:09:57 +00:00
Richard Earnshaw
01577df779 re PR target/37436 (arm-cross-g++. internal compiler error: in extract_insn, at recog.c:1990)
PR target/37436
* arm.c (arm_legitimate_index): Only accept addresses that are in
canonical form.
* predicates.md (arm_reg_or_extendqisi_mem_op): New predicate.
* arm.md (extendqihi2): Use arm_reg_or_extendqisi_mem_op predicate
for operand1.
(extendqisi2): Likewise.
(arm_extendqisi, arm_extendqisi_v6): Use arm_extendqisi_mem_op
predicate for operand1.

From-SVN: r142778
2008-12-16 12:03:41 +00:00
Benjamin Kosnik
d4e1b0727a cstdatomic: Remove assert include.
2008-12-15  Benjamin Kosnik  <bkoz@redhat.com>

	* include/c_global/cstdatomic: Remove assert include.
	* include/debug/debug.h: Consolidate __replacement_assert...
	* include/parallel/base.h: Consolidate __replacement_assert...
	* include/bits/c++config: ...here.
	* include/bits/atomic_0.h: Use it.
	* include/bits/atomic_2.h: Same.
	* testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
	* testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.

From-SVN: r142777
2008-12-16 01:28:46 +00:00
GCC Administrator
f2d6c7fb16 Daily bump.
From-SVN: r142775
2008-12-16 00:17:29 +00:00
Adam Nemet
4cba945dad mips.c (mips_output_conditional_branch): Assert that openrands[1] is a CODE_LABEL.
* config/mips/mips.c (mips_output_conditional_branch): Assert that
	openrands[1] is a CODE_LABEL.

From-SVN: r142772
2008-12-15 21:59:51 +00:00
Richard Sandiford
aaeee6d616 mips.c (mips_expand_builtin_direct): Set TARGET to the result of mips_prepare_builtin_target.
gcc/
	* config/mips/mips.c (mips_expand_builtin_direct): Set TARGET to
	the result of mips_prepare_builtin_target.

From-SVN: r142771
2008-12-15 21:23:37 +00:00
Richard Sandiford
cf51e47926 mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_abicalls if TARGET_ABICALLS is true.
gcc/
	* config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_abicalls
	if TARGET_ABICALLS is true.

From-SVN: r142770
2008-12-15 21:11:09 +00:00
Richard Sandiford
dd021c27bf mips.md (move_doubleword_fpr<mode>): Use TARGET_FLOAT64 && !TARGET_64BIT to detect the mxhc1 case.
gcc/
	* config/mips/mips.md (move_doubleword_fpr<mode>): Use
	TARGET_FLOAT64 && !TARGET_64BIT to detect the mxhc1 case.

From-SVN: r142769
2008-12-15 21:10:00 +00:00
Steve Ellcey
8739b9c795 inclhack.def (hpux_spu_info): Match PA as well as IA64.
* inclhack.def (hpux_spu_info): Match PA as well as IA64.
	* fixincl.x: Regenerate.

From-SVN: r142767
2008-12-15 18:11:19 +00:00
Mikael Morin
ea4547bbfa re PR fortran/38487 (Bogus Warning: INTENT(INOUT) actual argument might interfere with actual argument)
2008-12-15  Mikael Morin  <mikael.morin@tele2.fr>

	PR fortran/38487
	* gfortran.dg/elemental_dependency_2.f90: New test.

2008-12-15  Mikael Morin  <mikael.morin@tele2.fr>

	PR fortran/38487
	* dependency.c (gfc_is_data_pointer): New function.
	(gfc_check_argument_var_dependency): Disable the warning
	in the pointer case.
	(gfc_check_dependency): Use gfc_is_data_pointer.

From-SVN: r142766
2008-12-15 18:08:42 +00:00
Hariharan Sandanagobalane
5c08ab4eae picochip.c (picochip_override_options): Disable CFI asm and change the signature of brev and byteSwap functions to use...
* config/picochip/picochip.c (picochip_override_options): Disable CFI
        asm and change the signature of brev and byteSwap functions to use
        unsigned values.
        * config/picochip/picochip.md (commsTestPort): This is a complex
        instruction and should not be vliwed. Dont set insn type.

From-SVN: r142765
2008-12-15 16:20:44 +00:00
Mikael Morin
618f4f46bd re PR fortran/38113 (on warning/error: skip whitespaces, move position marker to actual variable name)
2008-12-15  Mikael Morin  <mikael.morin@tele2.fr>

	PR fortran/38113
	* error.c (show_locus): Start counting columns at 0.
	* primary.c (match_actual_arg): Eat spaces
	before copying the current locus.
	(match_variable): Copy the locus before matching.

From-SVN: r142763
2008-12-15 14:46:22 +00:00
Wolfgang Gellerich
d277db6b0f s390.c (s390_swap_cmp): New function.
2008-12-15  Wolfgang Gellerich  <gellerich@de.ibm.com>

	* config/s390/s390.c (s390_swap_cmp): New function.
	(s390_non_addr_reg_read_p): New function.
	(s390_z10_optimize_cmp): New function.
	(s390_reorg): Added call to s390_optimize_cmp.
	* config/s390/s390.md (nop1): New insn.

From-SVN: r142762
2008-12-15 14:24:03 +00:00
GCC Administrator
d7fda78bf4 Daily bump.
From-SVN: r142760
2008-12-15 00:16:51 +00:00
Uros Bizjak
ef7e6df5d6 i386-5.C: Include x86intrin.h.
* g++.dg/other/i386-5.C: Include x86intrin.h.
	* g++.dg/other/i386-6.C: Ditto.

From-SVN: r142752
2008-12-14 20:51:03 +01:00
Paul Thomas
18dd272dfd re PR fortran/35937 (Wrong type for charlength of function)
2008-12-14  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/35937
	* trans-expr.c (gfc_finish_interface_mapping): Fold convert the
	character length to gfc_charlen_type_node.

2008-12-14  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/35937
	* gfortran.dg/char_length_14.f90: New test.

From-SVN: r142750
2008-12-14 16:00:25 +00:00
Jerry DeLisle
7379374526 re PR fortran/38504 (double minus sign when printing integer?)
2008-12-13  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/38504
	* gfortran.dg/fmt_int_sign.f90: New test.

From-SVN: r142748
2008-12-14 06:58:38 +00:00
Jerry DeLisle
07e9d8beb7 re PR fortran/38504 (double minus sign when printing integer?)
2008-12-13  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/38504
	io/write.c (write_decimal): Skip extra sign '-' at beginning of string
	returned by gfc_itoa.

From-SVN: r142747
2008-12-14 06:50:53 +00:00
GCC Administrator
7b5be687fc Daily bump.
From-SVN: r142745
2008-12-14 00:16:49 +00:00
Benjamin Kosnik
1a6e675339 atomic.cc: Revert last change.
2008-12-13  Benjamin Kosnik  <bkoz@redhat.com>

	* src/atomic.cc: Revert last change.
	* include/bits/atomic_2.h: Move cassert include to...
	* include/c_global/cstdatomic: ...here.
	* testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
	* testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.

From-SVN: r142742
2008-12-13 20:01:57 +00:00
Sebastian Pop
521f3e9930 pr38409.c: Fixed commit problem.
* gcc.dg/graphite/pr38409.c: Fixed commit problem.

From-SVN: r142741
2008-12-13 19:53:29 +00:00
Uros Bizjak
98c62941ac sse-12.c: Include x86intrin.h.
* gcc.target/i386/sse-12.c: Include x86intrin.h.
	(dg-options): Use -mavx instead of -msse4. Add -maes -mpclmul.
	* gcc.target/i386/sse-13.c: Include x86intrin.h. Define immintrin.h
	intrinsics that require immediate arguments.
	(dg-options): Use -mavx instead of -msse4.
	* gcc.target/i386/sse-14.c: Include x86intrin.h. Define immintrin.h
	intrinsics that require immediate arguments.
	(test_3): New macro.
	(dg-options): Use -mavx instead of -msse4.
	* g++.dg/other/i386-2.C: Include x86intrin.h.
	(dg-options): Use -mavx instead of -msse4.
	* g++.dg/other/i386-3.C: Include x86intrin.h.
	(dg-options): Use -mavx instead of -msse4.

From-SVN: r142739
2008-12-13 15:10:28 +01:00
Benjamin Kosnik
7581b88af9 Makefile.am: Remove -x c++ for atomic build rules.
2008-12-12  Benjamin Kosnik  <bkoz@redhat.com>

	* src/Makefile.am: Remove -x c++ for atomic build rules.
	* src/Makefile.in: Regenerate.
	* src/atomic.cc: Move mutex include before cstdatomic.

From-SVN: r142738
2008-12-13 07:57:51 +00:00