arm: Testcase for PR86640

gcc/testsuite/
	PR target/86640
	* gcc.target/arm/pr86640.c: New testcase.

From-SVN: r263114
This commit is contained in:
Segher Boessenkool 2018-07-31 16:01:29 +02:00
parent e2844b1358
commit 8810325ff6
2 changed files with 22 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2018-07-31 Segher Boessenkool <segher@kernel.crashing.org>
PR target/86640
* gcc.target/arm/pr86640.c: New testcase.
2018-07-31 Martin Liska <mliska@suse.cz>
PR gcov-profile/85338

View File

@ -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];
}