This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/54300] [4.7/4.8 Regression] Erroneous optimization causes wrong Neon data management


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]