------- 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