Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/alias-15.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* { dg-do compile } */ | |
2 /* { dg-additional-options "-O2 -fdump-ipa-cgraph" } */ | |
3 | |
4 /* RTL-level CSE shouldn't introduce LCO (for the string) into varpool */ | |
5 char *p; | |
6 | |
7 void foo () | |
8 { | |
9 p = "abc\n"; | |
10 | |
11 while (*p != '\n') | |
12 p++; | |
13 } | |
14 | |
15 /* { dg-final { scan-ipa-dump-not "LC0" "cgraph" } } */ |