PR testsuite/86649
[official-gcc.git] / gcc / testsuite / g++.dg / tree-ssa / pr83523.C
blobd9adf90f0b5b9eb20c4b8a96c7f3dab5da27d44c
1 // PR tree-optimization/83523
2 // { dg-do compile }
3 // { dg-options "-O2 -fexceptions -fnon-call-exceptions -ftrapv" }
5 #ifdef __SIZEOF_INT128__
6 typedef __int128 T;
7 typedef long long int U;
8 #else
9 typedef long long int T;
10 typedef int U;
11 #endif
13 struct S { S (); ~S (); };
14 void bar ();
17 foo (U x, U y)
19   T z = x;
20   S s;
21   bar ();
22   z *= y;
23   bar ();
24   return z;