Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>

Alan Modra  <alan@SPRI.Levels.UniSA.Edu.Au>
        * gcc.c-torture/execute/20000205-1.c: New.

From-SVN: r31815
This commit is contained in:
Alan Modra 2000-02-06 05:39:32 +00:00 committed by Richard Henderson
parent 75874af96c
commit cc6c6c234f
2 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-02-05 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
* gcc.c-torture/execute/20000205-1.c: New.
2000-02-03 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.jason/cast3.C: Return void.

View File

@ -0,0 +1,17 @@
static int f (int a)
{
if (a == 0)
return 0;
do
if (a & 128)
return 1;
while (f (0));
return 0;
}
int main(void)
{
if (f (~128))
abort ();
exit (0);
}