]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
This commit was manufactured by cvs2svn to create branch
authorNo Author <no-author@gcc.gnu.org>
Thu, 28 Jul 2005 16:34:42 +0000 (16:34 +0000)
committerNo Author <no-author@gcc.gnu.org>
Thu, 28 Jul 2005 16:34:42 +0000 (16:34 +0000)
'gcc-3_4-branch'.

From-SVN: r102494

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

diff --git a/gcc/testsuite/gcc.c-torture/execute/pr20187-1.c b/gcc/testsuite/gcc.c-torture/execute/pr20187-1.c
new file mode 100644 (file)
index 0000000..a1f0a09
--- /dev/null
@@ -0,0 +1,15 @@
+int a = 0x101;
+int b = 0x100;
+
+int
+test (void)
+{
+  return (((unsigned char) (unsigned long long) ((a ? a : 1) & (a * b)))
+         ? 0 : 1);
+}
+
+int
+main (void)
+{
+  return 1 - test ();
+}