Debian Codegraph @

gcc/testsuite/c-c++-common/torture/attr-noinit-3.c

raw
1 /* { dg-do link } */
2 /* { dg-do run { target { vma_equals_lma } } } */
3 /* { dg-require-effective-target noinit } */
4 /* { dg-options "-flto -save-temps" } */
5 /* { dg-skip-if "data LMA != VMA" { msp430-*-* } { "-mlarge" } } */
6 /* { dg-final { scan-file attr-noinit-3.ltrans0.ltrans.s ".section\t\.noinit,\"aw\"\n" } } */
7
8 /* Test the "noinit" attribute with -flto. Specifically examine the
9 final LTO assembly file, to ensure the "noinit" setting on the variable
10 hasn't been lost. */
11 #include "attr-noinit-main.inc"
12