This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/54300] [4.7/4.8 Regression] Erroneous optimization causes wrong Neon data management
- From: "eric.batut at allegorithmic dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 20 Aug 2012 16:11:35 +0000
- Subject: [Bug target/54300] [4.7/4.8 Regression] Erroneous optimization causes wrong Neon data management
- Auto-submitted: auto-generated
- References: <bug-54300-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54300
--- Comment #2 from Eric Batut <eric.batut at allegorithmic dot com> 2012-08-20 16:11:35 UTC ---
(In reply to comment #1)
Hi Richard
Using "-O2 -fno-strict-aliasing" generates the exact same (incorrect) code.
> Your testcase is quite convoluted but it looks you may be violating C
> type-based aliasing rules. Thus, try -fno-strict-aliasing.