[Bug target/93934] Unnecessary fld of uninitialized float stack variable results in ub of valid C++ code

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Oct 13 14:36:06 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93934

--- Comment #13 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Zoltan Vajda from comment #12)
> Using -mfpmath=sse here does not help on a 32 bit platfrom.
> https://gcc.godbolt.org/z/hs1Ef6aj4
> At line 31 the assembly code performs the speculative load.

Yeah, -msse2 is also needed.


More information about the Gcc-bugs mailing list