This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
-Os in conjunction with -fno-inline
- From: "Ilja Golshtein" <ilejn at yandex dot ru>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 30 Sep 2005 09:25:35 +0400 (MSD)
- Subject: -Os in conjunction with -fno-inline
- Reply-to: ilejn at yandex dot ru
Hello!
I've came across with a strange thing.
After adding "-fno-inline" to g++ command
line just after "-Os" size of binary
was slightly increased.
Two question. Why any difference exists? Why size increased not reduced? The code optimized indeed.
I use gcc 3.2.2 from RH 9.0 distribution.
No optimization related options besides mentioned above.
Thanks.
--
Best regards
Ilja Golshtein