Commit 9fecf303 by Kaveh R. Ghazi Committed by Kaveh Ghazi

i386-1.C, [...]: Also test on x86_64.

2005-12-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* g++.dg/other/i386-1.C, gcc.c-torture/execute/990413-2.x,
	gcc.dg/torture/pr18582-1.c,
	gcc.target/i386/attributes-error.c: Also test on x86_64.

	* gcc.dg/pr18928-1.c: Test on all targets supporting pic.

From-SVN: r108209
parent d3ca869a
2005-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* g++.dg/other/i386-1.C, gcc.c-torture/execute/990413-2.x,
gcc.dg/torture/pr18582-1.c,
gcc.target/i386/attributes-error.c: Also test on x86_64.
* gcc.dg/pr18928-1.c: Test on all targets supporting pic.
2005-12-07 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/19397
/* { dg-do run { target i?86-*-* } } */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-march=pentium4" } */
/* { dg-require-effective-target ilp32 } */
#include <xmmintrin.h>
#include <stdio.h>
......
# This test is x86 specific.
if { ! [istarget "i?86-*-*"] } { return 1 }
return 0
if { [istarget "i?86-*-*"] || [istarget "x86_64-*-*"] } { return 0 }
return 1
/* PR rtl-optimization/18928 */
/* { dg-do compile { target i?86-*-linux* } } */
/* { dg-do compile { target fpic } } */
/* { dg-options "-O2 -fPIC" } */
const char *toHex( unsigned short u )
......
/* { dg-do compile { target i?86-*-* } } */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-msse3" } */
typedef char v16qi __attribute__((vector_size (16)));
typedef float v4sf __attribute__((vector_size (16)));
......
/* { dg-do compile { target i?86-*-* } } */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target ilp32 } */
void foo1(int i, int j) __attribute__((fastcall, cdecl)); /* { dg-error "not compatible" } */
void foo2(int i, int j) __attribute__((fastcall, stdcall)); /* { dg-error "not compatible" } */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment