summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/graphite/id-pr44676.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/graphite/id-pr44676.c')
-rw-r--r--gcc/testsuite/gcc.dg/graphite/id-pr44676.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/graphite/id-pr44676.c b/gcc/testsuite/gcc.dg/graphite/id-pr44676.c
new file mode 100644
index 000000000..65821edba
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/graphite/id-pr44676.c
@@ -0,0 +1,12 @@
+/* { dg-options "-O2 -fgraphite-identity -fprofile-generate" } */
+
+int
+extend_options (int h, int map, int x, int y, int dx)
+{
+ while (dx--)
+ {
+ if (x != dx && y != -x)
+ map++;
+ }
+ return map;
+}