Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr87314-1.c
blob0cb9c07e32c4eef9fdcbcc3d385fd2d7d2d0a937
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-original" } */
4 int f(){ int a; return &a==(void *)"hello"; }
5 int g(){ return "bye"=="hello"; }
6 int h() { return "bye"=="helloooobye"+8; }
8 /* { dg-final { scan-tree-dump-times "hello" 1 "original" } } */
9 /* The test in h() should be retained because the result depends on
10 string merging. */
11 /* { dg-final { scan-assembler "hellooo" { target { ! nvptx*-*-* } } } } */
12 /* { dg-final { scan-assembler "104, 101, 108, 108, 111, 111, 111" { target { nvptx*-*-* } } } } */