[Bug c++/70755] [ARM] excessive struct alignment for globals

rearnsha at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 10 12:05:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70755

Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
             Status|RESOLVED                    |NEW
   Last reconfirmed|                            |2016-05-10
         Resolution|WONTFIX                     |---
     Ever confirmed|0                           |1
           Severity|normal                      |enhancement

--- Comment #4 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Having given this some thought, there is perhaps a worthwhile enhancement
opportunity here.  We should probably add some options similar to those used in
the CHRIS port that allow users to turn off over-alignment.

       -mstack-align
       -mno-stack-align
       -mdata-align
       -mno-data-align
       -mconst-align
       -mno-const-align

I would expect the -m<type>-align options to remain the default setting,
however.


More information about the Gcc-bugs mailing list