From b9207e90c010284d91771501024a23fe259c3925 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 22 Nov 2018 20:58:50 +0100 Subject: [PATCH] re PR tree-optimization/85794 ([AArch64] ICE in expand_vector_condition in GIMPLE pass: veclower2) PR tree-optimization/85794 * gcc.dg/vect/O3-pr85794.c: New test. From-SVN: r266387 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/vect/O3-pr85794.c | 12 ++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 gcc/testsuite/gcc.dg/vect/O3-pr85794.c diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b3675a4ec2d..b8a793fa759 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-11-22 Jakub Jelinek + + PR tree-optimization/85794 + * gcc.dg/vect/O3-pr85794.c: New test. + 2018-11-22 Vladimir Makarov PR rtl-optimization/87718 diff --git a/gcc/testsuite/gcc.dg/vect/O3-pr85794.c b/gcc/testsuite/gcc.dg/vect/O3-pr85794.c new file mode 100644 index 00000000000..0def0fa0855 --- /dev/null +++ b/gcc/testsuite/gcc.dg/vect/O3-pr85794.c @@ -0,0 +1,12 @@ +/* { dg-do compile } */ + +int a, b, *c, d; +int *f[6]; + +void +foo (void) +{ + for (b = 1; b >= 0; b--) + for (d = 0; d <= 3; d++) + a |= f[b * 5] != c; +} -- 2.30.2