This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
testsuite addition
- To: gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Subject: testsuite addition
- From: Alan Modra <alan at SPRI dot Levels dot UniSA dot Edu dot Au>
- Date: Fri, 4 Feb 2000 14:04:04 +1030 (CST)
Would someone please add this to the gcc execute testsuite? Current x86
gcc miscompiles this code.
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);
}