This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81803] Miscompilation at -O1 on mips64el
- From: "aurelien at aurel32 dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 10 Aug 2017 16:27:13 +0000
- Subject: [Bug target/81803] Miscompilation at -O1 on mips64el
- Auto-submitted: auto-generated
- References: <bug-81803-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81803
--- Comment #2 from Aurelien Jarno <aurelien at aurel32 dot net> ---
(In reply to James Cowgill from comment #1)
> Here's another testcase which is reduced a bit further using creduce. It
> requires -O2 to trigger the bug (but that may be unrelated).
I reported it as a miscompilation with -O1, as at least in the clamav case, the
bug is not reproducible with -O0, but is reproducible with both -O1 and -O2.
But it seems this bug is quite dependent on the surrounding code, so my guess
is that the issue is not triggered by a specific optimization.