From 4acc3f420cff369d281f61038c4bcdde6c68b8a0 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Wed, 26 Mar 2008 14:08:08 +0100 Subject: [PATCH] sse-13.c: Include before redefinitions of extern and __inline. * gcc.target/i386/sse-13.c: Include before redefinitions of extern and __inline. * gcc.target/i386/sse-13.c: Ditto. From-SVN: r133602 --- gcc/ChangeLog | 25 +++++-------- gcc/testsuite/ChangeLog | 52 ++++++++++++++------------ gcc/testsuite/gcc.target/i386/sse-13.c | 2 + gcc/testsuite/gcc.target/i386/sse-14.c | 2 + 4 files changed, 42 insertions(+), 39 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e1f0e34f2eb..fc1bb0477c9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -98,8 +98,7 @@ * config/v850/t-v850 (v850-c.o): Update. * config/t-vxworks (vxworks.o): Update. * config/t-sol2 (sol2-c.o, sol2.o): Update. - * config/t-darwin (darwin.o, darwin-c.o, darwin-driver.o): - Update. + * config/t-darwin (darwin.o, darwin-c.o, darwin-driver.o): Update. * config/spu/t-spu-elf (spu-c.o): Update. (spu.o): Remove. * config/sh/t-symbian (sh-c.o): Update. @@ -174,21 +173,17 @@ (collect2.o, c-opts.o, gcc.o, gccspec.o, gcc-options.o, cppdefault.o, protoize.o, unprotoize.o, intl.o, version.o, prefix.o, toplev.o): Reduce to variable setting. - (libbackend.o): Use COMPILE. Remove most dependencies. Move - later. + (libbackend.o): Use COMPILE. Remove most dependencies. Move later. ($(out_object_file), gcc-options.o): New targets. - ($(ALL_HOST_OBJS)): New target. - Include dependency files. + ($(ALL_HOST_OBJS)): New target. Include dependency files. * configure: Rebuilt. - * configure.ac: Call ZW_CREATE_DEPDIR, - ZW_PROG_COMPILER_DEPENDENCIES. - * doc/sourcebuild.texi (Front End Directory): Document new - variable. + * configure.ac: Call ZW_CREATE_DEPDIR, ZW_PROG_COMPILER_DEPENDENCIES. + * doc/sourcebuild.texi (Front End Directory): Document new variable. 2008-03-25 Douglas Gregor - * c-common.c (c_sizeof_or_alignof_type): If we're not allowed to - complain when we hit an error, return ERROR_MARK_NODE. + * c-common.c (c_sizeof_or_alignof_type): If we're not allowed to + complain when we hit an error, return ERROR_MARK_NODE. 2008-03-25 Naveen.H.S @@ -198,8 +193,7 @@ 2008-03-25 Naveen.H.S - * config/sh/sh.c (sh_expand_t_scc): Emit movrt for SH2A if - possible. + * config/sh/sh.c (sh_expand_t_scc): Emit movrt for SH2A if possible. * config/sh/sh.md (xorsi3_movrt, movrt): New insns. 2008-03-25 Naveen.H.S @@ -212,8 +206,7 @@ * config/sh/constraints.md (I28): New constraint. * config/sh/sh.c (broken_move): Add support for movi20s. - * config/sh/sh.md (movsi_ie): Add the alternative for - movi20s. + * config/sh/sh.md (movsi_ie): Add the alternative for movi20s. 2008-03-25 Anil Paranjape Jayant Sonar diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index aee3aac7344..a8f5511bb8e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2008-03-26 Uros Bizjak + + * gcc.target/i386/sse-13.c: Include + before redefinitions of extern and __inline. + * gcc.target/i386/sse-13.c: Ditto. + 2008-03-26 Jakub Jelinek PR c++/35332 @@ -19,15 +25,15 @@ 2008-03-26 Douglas Gregor - * g++.dg/cpp0x/variadic84.C: Update to reflect the change in - variadic template template parameter binding semantics. - * g++.dg/cpp0x/variadic85.C: Ditto. - * g++.dg/cpp0x/variadic88.C: New. - * g++.dg/cpp0x/variadic89.C: New. - * g++.dg/cpp0x/variadic90.C: New. - * g++.dg/cpp0x/variadic-ex14.C: Update to reflect the change in - variadic template template parameter binding semantics. - * g++.dg/cpp0x/variadic-lambda.C: New. + * g++.dg/cpp0x/variadic84.C: Update to reflect the change in + variadic template template parameter binding semantics. + * g++.dg/cpp0x/variadic85.C: Ditto. + * g++.dg/cpp0x/variadic88.C: New. + * g++.dg/cpp0x/variadic89.C: New. + * g++.dg/cpp0x/variadic90.C: New. + * g++.dg/cpp0x/variadic-ex14.C: Update to reflect the change in + variadic template template parameter binding semantics. + * g++.dg/cpp0x/variadic-lambda.C: New. 2008-03-25 Andrew Pinski @@ -46,18 +52,18 @@ 2008-03-25 Douglas Gregor - * g++.dg/template/sfinae4.C: New. - * g++.dg/template/sfinae5.C: New. - * g++.dg/template/sfinae6.C: New. - * g++.dg/template/sfinae6_neg.C: New. - * g++.dg/template/sfinae7.C: New. - * g++.dg/template/sfinae8.C: New. - * g++.dg/template/sfinae9.C: New. - * g++.dg/template/sfinae10.C: New. - * g++.dg/template/sfinae11.C: New. - * g++.dg/template/sfinae12.C: New. - * g++.dg/template/sfinae13.C: New. - * g++.dg/template/sfinae14C: New. + * g++.dg/template/sfinae4.C: New. + * g++.dg/template/sfinae5.C: New. + * g++.dg/template/sfinae6.C: New. + * g++.dg/template/sfinae6_neg.C: New. + * g++.dg/template/sfinae7.C: New. + * g++.dg/template/sfinae8.C: New. + * g++.dg/template/sfinae9.C: New. + * g++.dg/template/sfinae10.C: New. + * g++.dg/template/sfinae11.C: New. + * g++.dg/template/sfinae12.C: New. + * g++.dg/template/sfinae13.C: New. + * g++.dg/template/sfinae14C: New. 2008-03-25 Naveen.H.S @@ -140,8 +146,8 @@ * gcc.dg/tree-ssa/ssa-ccp-17.c: New testcase. -2008-03-20 Victor Kaplansky - Uros Bizjak +2008-03-20 Victor Kaplansky + Uros Bizjak PR testsuite/34168 * lib/target-supports.exp (check_sse2_hw_available): New procedure. diff --git a/gcc/testsuite/gcc.target/i386/sse-13.c b/gcc/testsuite/gcc.target/i386/sse-13.c index baf5f163960..3a444bf90aa 100644 --- a/gcc/testsuite/gcc.target/i386/sse-13.c +++ b/gcc/testsuite/gcc.target/i386/sse-13.c @@ -1,6 +1,8 @@ /* { dg-do compile } */ /* { dg-options "-O2 -Werror-implicit-function-declaration -march=k8 -m3dnow -msse4 -msse5" } */ +#include + /* Test that the intrinsics compile with optimization. All of them are defined as inline functions in {,x,e,p,t,s,a,b}mmintrin.h and mm3dnow.h that reference the proper builtin functions. Defining away "extern" and diff --git a/gcc/testsuite/gcc.target/i386/sse-14.c b/gcc/testsuite/gcc.target/i386/sse-14.c index 708313dab84..286748a8594 100644 --- a/gcc/testsuite/gcc.target/i386/sse-14.c +++ b/gcc/testsuite/gcc.target/i386/sse-14.c @@ -1,6 +1,8 @@ /* { dg-do compile } */ /* { dg-options "-O0 -Werror-implicit-function-declaration -march=k8 -m3dnow -msse4 -msse5" } */ +#include + /* Test that the intrinsics compile without optimization. All of them are defined as inline functions in {,x,e,p,t,s,a,b}mmintrin.h and mm3dnow.h that reference the proper builtin functions. Defining away "extern" and -- 2.30.2