aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr64817-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr64817-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/pr64817-1.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pr64817-1.c b/gcc/testsuite/gcc.dg/pr64817-1.c
new file mode 100644
index 0000000..9d016da
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/pr64817-1.c
@@ -0,0 +1,20 @@
+/* PR debug/64817 */
+/* { dg-do compile } */
+/* { dg-options "-O3 -g" } */
+
+int a, b, d;
+
+void
+foo (void)
+{
+ for (b = 0; b < 9; b++)
+ {
+ int e;
+ for (d = 0; d < 5; d++)
+ {
+ a &= 231;
+ a ^= 14;
+ }
+ e = (a ^= 1) < 0;
+ }
+}