diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3e4bf2b56ee..1dec62f5d97 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-05-06 Richard Biener + + PR testsuite/90331 + * gcc.dg/pr87314-1.c: Align the substring to open up + string merging for targets aligning strings to 8 bytes. + 2019-05-06 Martin Liska PR sanitizer/90312 diff --git a/gcc/testsuite/gcc.dg/pr87314-1.c b/gcc/testsuite/gcc.dg/pr87314-1.c index 4dc85c8eee6..9bc905612b5 100644 --- a/gcc/testsuite/gcc.dg/pr87314-1.c +++ b/gcc/testsuite/gcc.dg/pr87314-1.c @@ -3,9 +3,9 @@ int f(){ int a; return &a==(void *)"hello"; } int g(){ return "bye"=="hello"; } -int h() { return "bye"=="hellobye"+5; } +int h() { return "bye"=="helloooobye"+8; } /* { dg-final { scan-tree-dump-times "hello" 1 "original" } } */ /* The test in h() should be retained because the result depends on string merging. */ -/* { dg-final { scan-assembler "hello" } } */ +/* { dg-final { scan-assembler "hellooo" } } */