Debian Codegraph @

gcc/testsuite/g++.target/i386/pr104540.C

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fharden-conditional-branches -mforce-drap -mstackrealign --param=max-grow-copy-bb-insns=125" } */
3
4 char c;
5 int i;
6
7 void bar(int);
8
9 struct S {
10 int mi;
11 long ml;
12 S(int);
13 };
14
15
16 void foo() {
17 int s = c == 0 ? 1 : 2;
18 bar(s);
19 if (i)
20 S s(0);
21 }