Mar 28 :-) Testcase for PR 3311.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53328
138bc75d-0d04-0410-961f-
82ee72b054a4
* g++.old-deja/g++.law/bit-fields2.C: Skip on mmix-knuth-mmixware.
+Thu Mar 28 16:38:09 2002 Jeffrey A Law (law@redhat.com)
+
+ * gcc.c-torture/execute/20020328-1.c: New test.
+
2002-03-27 Richard Henderson <rth@redhat.com>
* g++.dg/ext/instantiate1.C: Use scan-assembler, not link errors.
--- /dev/null
+int b = 0;
+
+func () { }
+
+void
+testit(int x)
+{
+ if (x != 20)
+ abort ();
+}
+
+int
+main()
+
+{
+ int a = 0;
+
+ if (b)
+ func();
+
+ /* simplify_and_const_int would incorrectly omit the mask in
+ the line below. */
+ testit ((a + 23) & 0xfffffffc);
+ exit (0);
+}