Re: [patch] Fix internal error in LTO mode on Ada code

2014-10-06 Thread Richard Biener
On Mon, Oct 6, 2014 at 12:10 PM, Eric Botcazou wrote: > Hi, > > LTO quickly breaks on Ada code involving floating-point comparisons because > the Ada compiler defaults to -fnon-call-exceptions -fno-trapping-math (on most > platforms) and only -fnon-call-exceptions is restored on the LTO side, so y

[patch] Fix internal error in LTO mode on Ada code

2014-10-06 Thread Eric Botcazou
Hi, LTO quickly breaks on Ada code involving floating-point comparisons because the Ada compiler defaults to -fnon-call-exceptions -fno-trapping-math (on most platforms) and only -fnon-call-exceptions is restored on the LTO side, so you can end up with the wrong number of edges on FP comparison