Floating-point comparisons in the middle-end

Joseph Myers joseph@codesourcery.com
Thu Sep 1 15:21:21 GMT 2022


On Thu, 1 Sep 2022, FX via Gcc wrote:

> A tentative patch is attached, it seems to work well on simple examples, 
> but for test coverage the hard part is going to be that the comparisons 
> seem to be optimised away very easily into their non-signaling versions. 
> Basically, if I do:

Presumably that can be reproduced without depending on the new built-in 
function?  In which case it's an existing bug somewhere in the optimizers.

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Gcc mailing list