This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/40667] [4.4/4.5 Regression] stack frames are generated even with -fomit-frame-pointer
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jul 2009 16:24:05 -0000
- Subject: [Bug rtl-optimization/40667] [4.4/4.5 Regression] stack frames are generated even with -fomit-frame-pointer
- References: <bug-40667-1600@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from jakub at gcc dot gnu dot org 2009-07-09 16:24 -------
I'm not sure what you mean MINIMUM_TYPE_ALIGN should be. A new type field?
That would be IMHO an overkill, would enlarge types too much.
If it is just a macro, it should be probably MINIMUM_ALIGNMENT, not
MINIMUM_TYPE_ALIGN, and take a tree (TYPE or DECL), mode and initial alignment
and just return a possibly lower alignment. So pretty much like
ix86_local_alignment, except that it would only ever decrease alignment, rather
than also increase it. On most targets the macro would just return the third
argument.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40667