From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28958 invoked by alias); 25 Jul 2007 15:09:46 -0000 Received: (qmail 28907 invoked by uid 48); 25 Jul 2007 15:09:38 -0000 Date: Wed, 25 Jul 2007 15:09:00 -0000 Message-ID: <20070725150938.28906.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/30354] -Os doesn't optimize a/CONST even if it saves size. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "vda dot linux at googlemail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-07/txt/msg02570.txt.bz2 ------- Comment #3 from vda dot linux at googlemail dot com 2007-07-25 15:09 ------- Created an attachment (id=13974) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13974&action=view) Auto-generated test program with 15000 constant divs/mods Test program, bzipped. Build with gcc -fomit-frame-pointer -Os t.c and see sizes: nm --size-sort t-Os.o | sort -k3 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30354