Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/ipa/ipa-clone-1.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* PR ipa/64693 */ /* { dg-do compile } */ /* { dg-require-named-sections "" } */ /* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp" } */ static int __attribute__ ((noinline, section ("test_section"))) foo (int arg) { return 7 * arg; } int bar (int arg) { return foo (5); } /* { dg-final { scan-assembler "test_section" } } */ /* { dg-final { scan-ipa-dump "Creating a specialized node of foo" "cp" } } */