This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/27663] missed-optimization transforming a byte array to unsigned long
- 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: 24 Apr 2009 20:39:19 -0000
- Subject: [Bug middle-end/27663] missed-optimization transforming a byte array to unsigned long
- References: <bug-27663-283@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from rguenth at gcc dot gnu dot org 2009-04-24 20:39 -------
It's a target independent issue. On non-strict alignment targets we can do a
32bit load instead of 4 byte loads. This is what you ask for, correct?
combine unfortunately does not see enough insns to catch it. Within a single
stmt we can teach fold to do it, otherwise forwprop is our tree level combiner.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Component|target |middle-end
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27663