This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: (-Os versus -O2 relation) Was: case where gcc generates bigger binaries than MSVC
- To: law at cygnus dot com
- Subject: Re: (-Os versus -O2 relation) Was: case where gcc generates bigger binaries than MSVC
- From: Mike Stump <mrs at windriver dot com>
- Date: Thu, 11 May 2000 15:32:58 -0700 (PDT)
- Cc: egcs at egcs dot cygnus dot com, jh at suse dot cz, mat at lcs dot mit dot edu
> 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. :-)