uninit-C.c: Remove special-casing for SPARC.

* gcc.dg/uninit-C.c: Remove special-casing for SPARC.
	* gcc.dg/uninit-H.c: Define to "sp" on SPARC.

From-SVN: r89991
This commit is contained in:
Eric Botcazou 2004-11-02 17:43:15 +01:00 committed by Eric Botcazou
parent da1f8963a3
commit 571cfa750e
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-11-02 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/uninit-C.c: Remove special-casing for SPARC.
* gcc.dg/uninit-H.c: Define to "sp" on SPARC.
2004-11-02 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/16808

View File

@ -3,8 +3,8 @@
/* { dg-options "-O -Wuninitialized" } */
/* Not all platforms support TImode integers. */
#if defined(__LP64__) || defined(__sparc__)
typedef int TItype __attribute__ ((mode (TI))); /* { dg-error "no data type for mode" "TI" { target sparc-sun-solaris2.[0-6]* } } */
#if defined(__LP64__)
typedef int TItype __attribute__ ((mode (TI)));
#else
typedef long TItype;
#endif

View File

@ -12,6 +12,8 @@
# define ASM __asm__("r15")
#elif defined __mips
# define ASM __asm__("$sp")
#elif defined __sparc__
# define ASM __asm__("sp")
#else
# define ASM
#endif