Message ID | 540ED455.7060402@arm.com |
---|---|
State | New |
Headers | show |
On 9 September 2014 11:20, Alan Lawrence <alan.lawrence@arm.com> wrote: > The 'scan-assembler-not not' test in > gcc.target/aarch64/simd/int_comparisons_1.c fails on aarch64-linux-gnu > because the compiler adds a ".note" at the end of the .s file. This patch > tightens the regex to only match a not with surrounding whitespace. (I've > verified it still catches such if e.g. the changes to vcond_internal are > reverted). > > Test now passing on aarch64-none-elf and aarch64-none-linux-gnu. > > gcc/testsuite/ChangeLog: > > * gcc.target/aarch64/simd/inc_comparisons_1.c: Tighten regexp. OK /Marcus
diff --git a/gcc/testsuite/gcc.target/aarch64/simd/int_comparisons_1.c b/gcc/testsuite/gcc.target/aarch64/simd/int_comparisons_1.c index 86c6ed28538affcc4c3ef6cacd74d002e32b0931..cb0f4a04c0fb5f2c93064c47a141556f7fd0f89a 100644 --- a/gcc/testsuite/gcc.target/aarch64/simd/int_comparisons_1.c +++ b/gcc/testsuite/gcc.target/aarch64/simd/int_comparisons_1.c @@ -44,4 +44,4 @@ /* { dg-final { scan-assembler-times "\[ \t\](?:cmlt|sshr)\[ \t\]+d\[0-9\]+,\[ \t\]*d\[0-9\]+,\[ \t\]*#?(?:0|63)" 4 } } */ // All should have been compiled into single insns without inverting result: -/* { dg-final { scan-assembler-not "not" } } */ +/* { dg-final { scan-assembler-not "\[ \t\]not\[ \t\]" } } */