This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/40924] [4.4 Regression] miscompiles with -03 (seemingly related to attribute may_alias)
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jul 2009 11:14:45 -0000
- Subject: [Bug rtl-optimization/40924] [4.4 Regression] miscompiles with -03 (seemingly related to attribute may_alias)
- References: <bug-40924-17603@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rguenth at gcc dot gnu dot org 2009-07-31 11:14 -------
Confirmed. Trunk works for me.
If I disable gcse the testcase is no longer miscompiled (likewise if I
disable tree PRE which only hoists some conversions - thus likely const/copy
propagation goes wrong or addresses are improperly rewritten). The RTL
after expansion looks sane wrt alias sets.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|middle-end |rtl-optimization
Ever Confirmed|0 |1
Keywords| |alias, wrong-code
Known to fail| |4.4.1
Known to work| |4.4.0 4.5.0
Last reconfirmed|0000-00-00 00:00:00 |2009-07-31 11:14:45
date| |
Summary|4.4.1 regression: |[4.4 Regression] miscompiles
|miscompiles with -03 |with -03 (seemingly related
|(seemingly related to |to attribute may_alias)
|attribute may_alias) |
Target Milestone|--- |4.4.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40924