* gcc.dg/ultrasp2.c: New test.

From-SVN: r30798
This commit is contained in:
Alexandre Oliva 1999-12-06 10:50:26 +00:00 committed by Alexandre Oliva
parent 883298a5e7
commit 8ab56d5de5
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,7 @@
1999-12-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* gcc.dg/ultrasp2.c: New test.
1999-12-05 Alex Samuel <samuel@codesourcery.com>
* g++.old-deja/g++.abi/align.C (main): Fix typo.

View File

@ -0,0 +1,16 @@
/* Copyright (C) 1999 Free Software Foundation
by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
Simplified from libg++/src/Fix16.cc */
/* { dg-do compile } */
/* { dg-options "" } */
/* { dg-options "-O0 -m64" { target sparc64-*-* } } */
/* { dg-options "-O0 -m64" { target sparcv9-*-* } } */
/* { dg-options "-O0 -m64" { target sparc-*-solaris* } } */
/* { dg-options "" { target sparc-*-solaris2.[0-6] } } */
/* { dg-options "" { target sparc-*-solaris2.[0-6].* } } */
short foo() {
short i = (short)(1<<15);
return i;
}