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: Mike Stump <mrs at windriver dot com>
- Subject: Re: (-Os versus -O2 relation) Was: case where gcc generates bigger binaries than MSVC
- From: Jan Hubicka <jh at suse dot cz>
- Date: Fri, 12 May 2000 10:10:22 +0200
- Cc: law at cygnus dot com, egcs at egcs dot cygnus dot com, jh at suse dot cz, mat at lcs dot mit dot edu
- References: <200005112232.PAA27352@kankakee.wrs.com>
>
> 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. :-)
OK :)
It is not problem for me to do so. If I understand correctly the
proper approach so far seems to be to avoid calls to those macros
and keep the alignment calculated by backend.
Only what I want to be sure is that my point about combining -O2 and -Os
code is understood. Do we wan´t the -O2 code compiled together with -Os
code to run slower because of missaligned data comming from the -Os part?
I still believe that decision needs to be made here first.
Honza