Debian Codegraph @

gcc/testsuite/g++.dg/opt/pr58864.C

raw
1 // PR target/58864
2 // { dg-do compile }
3 // { dg-options "-Os" }
4 // { dg-additional-options "-march=i686" { target { { i?86-*-* x86_64-*-* } && ia32 } } }
5
6 struct A { A (); ~A (); };
7 struct B { B (); };
8
9 float d, e;
10
11 void
12 foo ()
13 {
14 A a;
15 float c = d;
16 while (1)
17 {
18 B b;
19 e = c ? -c : 0;
20 }
21 }