Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/lto/pr45736_0.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-lto-do link } */ |
131 | 2 /* { dg-lto-options {{-flto -r -O}} } */ |
3 /* { dg-extra-ld-options "-flinker-output=nolto-rel" } */ | |
111 | 4 |
5 extern void baz (void); | |
6 | |
7 static void __attribute__ ((constructor)) | |
8 bar (void) | |
9 { | |
10 baz (); | |
11 } | |
12 | |
13 void | |
14 foo (void) | |
15 { | |
16 bar (); | |
17 } |