On 4/28/14, 6:08 PM, Nick Kledzik wrote:
+__attribute__((noinline)) +double get(int x) { return (double)x; } + + +double try1(bool v) { + double a = get(0); + double b = get(0); + if (v) throw 10; + return get(0)+a+b; +} +
Might be useful to template all of these on the float type and then check all three of {float,double,long double} to make sure those paths work too.
Cheers, Jon -- Jon Roelofs jonat...@codesourcery.com CodeSourcery / Mentor Embedded _______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits