blob: 9bc905612b5b3995597c2cddfd319aed049e9505 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-original" } */
int f(){ int a; return &a==(void *)"hello"; }
int g(){ return "bye"=="hello"; }
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 "hellooo" } } */