[Bug other/80803] libgo appears to be miscompiled on powerpc64le since r247497
ian at airs dot com
gcc-bugzilla@gcc.gnu.org
Fri May 26 18:47:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80803
--- Comment #18 from Ian Lance Taylor <ian at airs dot com> ---
Lynn, thanks for the detailed investigation.
Martin, Lynn is saying that these problems started with the SRA patch for PR
78687 committed on 2017-05-02.
It's odd that this problem only shows up on PPC64LE, not on x86_64.
In this case we have a three element struct, and we are passing the address of
the struct to a function. Somehow the writes to two of the fields of the
struct are being dropped. But since we are taking the address anyhow, I'm not
sure precisely where SRA is kicking in.
More information about the Gcc-bugs
mailing list