re PR testsuite/90331 (New test case gcc.dg/pr87314-1.c fails)
2019-05-06 Richard Biener <rguenther@suse.de> PR testsuite/90331 * gcc.dg/pr87314-1.c: Align the substring to open up string merging for targets aligning strings to 8 bytes. From-SVN: r270900
This commit is contained in:
parent
080629d32e
commit
33a0bfcdca
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2019-05-06 Richard Biener <rguenther@suse.de>
|
||||
|
||||
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 <mliska@suse.cz>
|
||||
|
||||
PR sanitizer/90312
|
||||
|
|
|
@ -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" } } */
|
||||
|
|
Loading…
Add table
Reference in a new issue