]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR tree-optimization/38359 (ICE in set_lattice_value, at tree-ssa-ccp.c:466)
authorRichard Biener <rguenth@gcc.gnu.org>
Tue, 2 Dec 2008 14:55:04 +0000 (14:55 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 2 Dec 2008 14:55:04 +0000 (14:55 +0000)
2008-12-02  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38359
* gcc.c-torture/compile/pr38359.c: New testcase.

From-SVN: r142357

gcc/testsuite/gcc.c-torture/compile/pr38359.c [new file with mode: 0644]

diff --git a/gcc/testsuite/gcc.c-torture/compile/pr38359.c b/gcc/testsuite/gcc.c-torture/compile/pr38359.c
new file mode 100644 (file)
index 0000000..cb77b71
--- /dev/null
@@ -0,0 +1,17 @@
+unsigned _ov_64_seek_lap (_Bool x1, _Bool x2, _Bool x3)
+{
+  unsigned ltmp_3978_7__PHI_TEMPORARY;
+  signed ltmp_4011_7;
+
+  if (!x1 || !x2)
+    while (1) ;
+
+  if (x3)
+    ltmp_3978_7__PHI_TEMPORARY = 0xffffff7e;
+  else
+    ltmp_3978_7__PHI_TEMPORARY = 1;
+
+  ltmp_4011_7 = -1;
+  return ltmp_4011_7 >> ltmp_3978_7__PHI_TEMPORARY;
+}
+