20030110-1.c: New test.
* gcc.c-torture/compile/20030110-1.c: New test. Test for http://gcc.gnu.org/ml/gcc-patches/2003-01/msg00519.html From-SVN: r61153
This commit is contained in:
parent
d330ce1532
commit
7558f66e3d
@ -1,3 +1,7 @@
|
||||
2003-01-10 Josef Zlomek <zlomekj@suse.cz>
|
||||
|
||||
* gcc.c-torture/compile/20030110-1.c: New test.
|
||||
|
||||
2003-01-09 Geoffrey Keating <geoffk@apple.com>
|
||||
|
||||
Merge from pch-branch:
|
||||
|
39
gcc/testsuite/gcc.c-torture/compile/20030110-1.c
Normal file
39
gcc/testsuite/gcc.c-torture/compile/20030110-1.c
Normal file
@ -0,0 +1,39 @@
|
||||
extern char bpp;
|
||||
|
||||
void foo()
|
||||
{
|
||||
if (bpp == 32)
|
||||
{
|
||||
if (2 < 8)
|
||||
{
|
||||
do
|
||||
{
|
||||
while (inb(0x9ae8) & (0x0100 >> (2 +1)));
|
||||
}
|
||||
while(0);
|
||||
}
|
||||
else
|
||||
{
|
||||
do
|
||||
{
|
||||
while (inb(0x9ae8) & (0x0100 >> (2)));
|
||||
}
|
||||
while(0);
|
||||
}
|
||||
}
|
||||
else
|
||||
do
|
||||
{
|
||||
while (inb(0x9ae8) & (0x0100 >> (1)));
|
||||
}
|
||||
while(0);
|
||||
if (8 < 8)
|
||||
{
|
||||
do
|
||||
{
|
||||
while (inb(0x9ae8) & (0x0100 >> (8 +1)));
|
||||
}
|
||||
while(0);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user