From 8810325ff666643de80110c5c6b4ce1cef921e1b Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Tue, 31 Jul 2018 16:01:29 +0200 Subject: [PATCH] arm: Testcase for PR86640 gcc/testsuite/ PR target/86640 * gcc.target/arm/pr86640.c: New testcase. From-SVN: r263114 --- gcc/testsuite/ChangeLog | 19 ++++++++++++------- gcc/testsuite/gcc.target/arm/pr86640.c | 10 ++++++++++ 2 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 gcc/testsuite/gcc.target/arm/pr86640.c diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index eaa6b198487..7aa44c20a6f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,18 +1,23 @@ +2018-07-31 Segher Boessenkool + + PR target/86640 + * gcc.target/arm/pr86640.c: New testcase. + 2018-07-31 Martin Liska - PR gcov-profile/85338 - PR gcov-profile/85350 - PR gcov-profile/85372 + PR gcov-profile/85338 + PR gcov-profile/85350 + PR gcov-profile/85372 * gcc.misc-tests/gcov-pr85338.c: New test. * gcc.misc-tests/gcov-pr85350.c: New test. * gcc.misc-tests/gcov-pr85372.c: New test. 2018-07-31 Martin Liska - PR gcov-profile/83813 - PR gcov-profile/84758 - PR gcov-profile/85217 - PR gcov-profile/85332 + PR gcov-profile/83813 + PR gcov-profile/84758 + PR gcov-profile/85217 + PR gcov-profile/85332 * gcc.misc-tests/gcov-pr83813.c: New test. * gcc.misc-tests/gcov-pr84758.c: New test. * gcc.misc-tests/gcov-pr85217.c: New test. diff --git a/gcc/testsuite/gcc.target/arm/pr86640.c b/gcc/testsuite/gcc.target/arm/pr86640.c new file mode 100644 index 00000000000..e1046027961 --- /dev/null +++ b/gcc/testsuite/gcc.target/arm/pr86640.c @@ -0,0 +1,10 @@ +/* { dg-options "-O3" } */ + +/* This ICEd with -O3 -mfpu=neon -mfloat-abi=hard -march=armv7-a . */ + +char fn1() { + long long b[5]; + for (int a = 0; a < 5; a++) + b[a] = ~0ULL; + return b[3]; +} -- 2.30.2