From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28926 invoked by alias); 6 Jun 2012 19:53:09 -0000 Received: (qmail 28917 invoked by uid 22791); 6 Jun 2012 19:53:08 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 06 Jun 2012 19:52:54 +0000 From: "gjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/53595] New: Code size increase of +10% between two 4.7.1 snapshot Date: Wed, 06 Jun 2012 19:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gjl at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-06/txt/msg00352.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53595 Bug #: 53595 Summary: Code size increase of +10% between two 4.7.1 snapshot Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned@gcc.gnu.org ReportedBy: gjl@gcc.gnu.org Created attachment 27568 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27568 C source This problem report is about a +10% of code size increase between the following two 4.7.1 versions of gcc: V1: SVN 185693 gcc-4_7-branch from 2012-03-22, 4.7.1 (prerelease) V2: SVN 188257 gcc-4_7-branch from 2012-06-06, 4.7.1 (prerelease) The attached test case is a reduced test case out of many other sources that suffer from the same problem, so that the overall performance degradation is unpleasant. The RTL dumps show that the first pass that differs is IRA. == Command line == $ avr-gcc -mmcu=atmega168 -c -std=gnu99 -Os -mstrict-X -ffixed-2 -ffixed-3 -dp -fdump-rtl-ira-details -fdump-rtl-reload-details -fdump-rtl-postreload-details bresenham-i.c -o bresenham-i-1.o -save-temps=obj resp. with -o bresenham-i-2.o for the second 4.7.1 snapshot. == GCC configure == Target: avr Configured with: ../../gcc.gnu.org/gcc-4_7-branch/configure --target=avr --prefix=/local/gnu/install/gcc-4.7-mingw32 --host=i386-mingw32 --build=i686-linux-gnu --enable-languages=c,c++ --disable-nls --disable-shared --with-dwarf2 Thread model: single gcc version 4.7.1 20120606 (prerelease) (GCC) GNU C (GCC) version 4.7.1 20120606 (prerelease) (avr) compiled by GNU C version 3.4.5 (mingw-vista special r2), GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.2 It's a canadian cross, but that surely does not matter here...