iority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: anders at wahrzeichnen dot de
Target Milestone: ---
Created attachment 47454
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47454&action=edit
test case with return value 0 or 8 expected, retur
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875
--- Comment #2 from anders at wahrzeichnen dot de ---
No, -ffloat-store does not help. And this has little if anything to do with
323, imho.
The asm generated for f3 is instructive: There, GCC wants to load a double
constant 0x3fba
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875
--- Comment #4 from anders at wahrzeichnen dot de ---
I don't know about other archs, but on amd64, GCC emits comiss insns (SSE2
single-precision scalar compare) for f0, f1, and f2 and comisd insns (SSE2
double-precision scalar compare) f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875
--- Comment #6 from anders at wahrzeichnen dot de ---
(In reply to jos...@codesourcery.com from comment #3)
> This is as specified in the C standard.
I guess you are referring to the C18 section
6.3.1.8 (2) "The values of floating