This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: (-Os versus -O2 relation) Was: case where gcc generates bigger binaries than MSVC


> To: Mike Stump <mrs@windriver.com>
> Date: Thu, 11 May 2000 15:23:03 -0600
> From: Jeffrey A Law <law@cygnus.com>

> Any port which uses DATA_ALIGNMENT or CONSTANT_ALIGNMENT to handle
> ABI mandated alignments is broken.  There are other mechanisms for
> handling required alignments.

Does that mean that -Os can work in the backend under them, and if it
is given, just use 1?  If so, then that sounds like the right
approach.  There are only a couple of uses of DATA_ALIGNMENT and
CONSTANT_ALIGNMENT to extend, mostly only in varasm.c.

Jan, you wanna try your hand at this?  You expressed interest in -Os
and alignments before...  It would fix the problem metioned in
http://gcc.gnu.org/ml/gcc/2000-05/msg00271.html.  If not, let me know,
and I'll do it up.  :-)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]