From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3076 invoked by alias); 30 Sep 2005 05:25:49 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 3024 invoked by uid 22791); 30 Sep 2005 05:25:39 -0000 Received: from soapbox.yandex.ru (HELO soapbox.yandex.ru) (213.180.200.36) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 30 Sep 2005 05:25:39 +0000 Received: from YAMAIL (soapbox.yandex.ru) by mail.yandex.ru id ; Fri, 30 Sep 2005 09:25:35 +0400 Date: Fri, 30 Sep 2005 05:25:00 -0000 From: "Ilja Golshtein" Message-Id: <433CCC4F.000004.24532@soapbox.yandex.ru> MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: -Os in conjunction with -fno-inline Reply-To: ilejn@yandex.ru X-Source-Ip: 194.190.207.155 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-SW-Source: 2005-09/txt/msg00224.txt.bz2 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