* gcc.c-torture/execute/pr20187-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102490
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-07-28 Richard Sandiford <richard@codesourcery.com>
+
+ PR c/20187
+ * gcc.c-torture/execute/pr20187-1.c: New test.
+
2005-07-28 Jeff Law <law@redhat.com>
* gcc.dg/tree-ssa/vrp17.c: Update expected output.
--- /dev/null
+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 ();
+}