]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc.c-torture/compile/20031002-1.c: New test.
authorJosef Zlomek <zlomekj@suse.cz>
Thu, 2 Oct 2003 15:26:33 +0000 (17:26 +0200)
committerJosef Zlomek <zlomek@gcc.gnu.org>
Thu, 2 Oct 2003 15:26:33 +0000 (15:26 +0000)
From-SVN: r72035

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

index 285b52e4db4178ef3efc102b35e3fe057019f02e..0866df33c503a19082861a76687330de2462eb08 100644 (file)
@@ -1,3 +1,7 @@
+2003-10-02  Josef Zlomek  <zlomekj@suse.cz>
+
+       * gcc.c-torture/compile/20031002-1.c: New test.
+
 2003-10-02  Jakub Jelinek  <jakub@redhat.com>
 
        * g++.dg/opt/cond1.C: New test.
diff --git a/gcc/testsuite/gcc.c-torture/compile/20031002-1.c b/gcc/testsuite/gcc.c-torture/compile/20031002-1.c
new file mode 100644 (file)
index 0000000..a023994
--- /dev/null
@@ -0,0 +1,9 @@
+/* PR/12292
+   http://gcc.gnu.org/ml/gcc-patches/2003-10/msg00143.html  */
+
+char flags;
+
+int bug12292(int t)
+{
+       flags &= ~(1 << (t + 4));
+}