projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57e4228
)
Somehow, I missed to checkin this test when I fixed pr17635 (with
author
Devang Patel
<dpatel@gcc.gnu.org>
Tue, 16 Nov 2004 20:04:08 +0000
(12:04 -0800)
committer
Devang Patel
<dpatel@gcc.gnu.org>
Tue, 16 Nov 2004 20:04:08 +0000
(12:04 -0800)
appropriate ChangeLog entry).
From-SVN: r90757
gcc/testsuite/gcc.dg/pr17635.c
[new file with mode: 0644]
patch
|
blob
diff --git a/gcc/testsuite/gcc.dg/pr17635.c
b/gcc/testsuite/gcc.dg/pr17635.c
new file mode 100644
(file)
index 0000000..
d2154c3
--- /dev/null
+++ b/
gcc/testsuite/gcc.dg/pr17635.c
@@ -0,0
+1,11
@@
+/* PR 17635 */
+/* Contributed by Devang Patel <dpatel@apple.com> */
+/* { dg-do compile } */
+/* { dg-options "-O2 -ftree-vectorize" } */
+
+void foo(int i)
+{
+ while (1)
+ if (i) ++i;
+}
+