On Thu, 15 Nov 2018 09:48:05 -0500
Paul Koning <paulkon...@comcast.net> wrote:

> > On Nov 14, 2018, at 5:19 PM, Jozef Lawrynowicz <joze...@mittosystems.com>
> > wrote:
> > 
> > 
> > I'd be curious if the line I added the xfail to in c-c++-common/pr57371-2.c
> > also fails for pdp11.
> > 
> > The conversion to float might be getting optimized out whenever
> > sizeof(int) < sizeof(float).
> > 
> > Thanks,
> > Jozef  
> 
> Yes, that test on pr57371-2.c also fails on pdp11.
> 
>       paul
> 

Thanks for checking, in that case I'll go ahead an add an effective target for
"int_lt_float".

I'll make a note to investigate that test failure as well. The test
comments:
> We can not get rid of comparison in tests below because of
> potential inexact exception.
If I'm understanding the test correctly, then if the cast to float has been
optimized out, users expecting the inexact float exception to be raised will
have unexpected behaviour.

Jozef

Reply via email to