This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/38960] Wrong floating point reorder
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 04 May 2018 16:06:09 +0000
- Subject: [Bug middle-end/38960] Wrong floating point reorder
- Auto-submitted: auto-generated
- References: <bug-38960-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38960
--- Comment #5 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Since any non-const function can examine floating-point state, I'd expect
significant effects on code generation. (Whether this also applies to
asms depends on the architecture; some architectures have a register name
you can use in asm operands to refer to floating-point state, and in those
cases asms reading or writing that state "should" say explicitly that they
do so, but I don't think all architectures have such a name supported by
GCC in asms.)