Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr87314-1.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
line wrap: on
line source
/* { 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" } } */