re PR tree-optimization/71994 (ICE: verify_gimple failed)
authorKugan Vivekanandarajah <kugan@gcc.gnu.org>
Wed, 27 Jul 2016 23:02:44 +0000 (23:02 +0000)
committerKugan Vivekanandarajah <kugan@gcc.gnu.org>
Wed, 27 Jul 2016 23:02:44 +0000 (23:02 +0000)
gcc/testsuite/ChangeLog:

2016-07-28  Kugan Vivekanandarajah  <kuganv@linaro.org>

PR middle-end/71994
* gcc.dg/torture/pr71994.c: New test.

From-SVN: r238803

gcc/testsuite/gcc.dg/torture/pr71994.c [new file with mode: 0644]

diff --git a/gcc/testsuite/gcc.dg/torture/pr71994.c b/gcc/testsuite/gcc.dg/torture/pr71994.c
new file mode 100644 (file)
index 0000000..8f5e92c
--- /dev/null
@@ -0,0 +1,14 @@
+/* PR tree-optimization/71994 */
+/* { dg-do compile } */
+int om, h6;
+
+void eo (void)
+{
+  const int tl = 1;
+  int ln;
+
+  h6 = (om + tl) > 0;
+  ln = om && (om & h6);
+  h6 = om;
+  om = ln < h6;
+}