1 // PR optimization/12215
2 // Origin: <nick@ilm.com>
3 // Reduced testcase by Wolfgang Bangerth <bangerth@ticam.utexas.edu>
5 // This used to fail because the CSE pass destroyed the CFG in presence
6 // of trapping loads, which led to the deletion of basic blocks.
9 // { dg-options "-O2 -fno-gcse -fnon-call-exceptions" }
17 X(const char*, const B&);
22 void f(int &i, float &arg0);
24 void g (const char **argv) {