]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
This commit was manufactured by cvs2svn to create branch
authorNo Author <no-author@gcc.gnu.org>
Fri, 10 Jan 2003 14:06:37 +0000 (14:06 +0000)
committerNo Author <no-author@gcc.gnu.org>
Fri, 10 Jan 2003 14:06:37 +0000 (14:06 +0000)
'gcc-3_2-branch'.

From-SVN: r61156

gcc/testsuite/gcc.c-torture/compile/20030110-1.c [new file with mode: 0644]

diff --git a/gcc/testsuite/gcc.c-torture/compile/20030110-1.c b/gcc/testsuite/gcc.c-torture/compile/20030110-1.c
new file mode 100644 (file)
index 0000000..1cbbaea
--- /dev/null
@@ -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);
+    }
+}
+