From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4953 invoked by alias); 5 Aug 2011 06:50:03 -0000 Received: (qmail 4898 invoked by uid 22791); 5 Aug 2011 06:50:01 -0000 X-SWARE-Spam-Status: No, hits=-2.9 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; Fri, 05 Aug 2011 06:49:48 +0000 From: "sebastian.huber@embedded-brains.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/38644] [4.4/4.5/4.6/4.7 Regression] Optimization flag -O1 -fschedule-insns2 causes wrong code X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: sebastian.huber@embedded-brains.de X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.4.7 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 05 Aug 2011 06:50:00 -0000 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: 2011-08/txt/msg00600.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38644 --- Comment #40 from Sebastian Huber 2011-08-05 06:49:00 UTC --- (In reply to comment #39) > On Fri, Aug 5, 2011 at 2:33 AM, jiangning.liu at arm dot com [...] > > Is it possible you send me your source code exposing the bug first, so I can > > verify your problem can really be fixed with my local fix? > > I think this is just from the libstdc++ sources - look at that file > from the build with --with-mode=thumb . Yes, this is from the libstdc++ sources (4.6.1 20110627, libstdc++-v3/libsupc++/new_opnt.cc). You need a non-EABI ARM variant of GCC since this bug manifestation will only show up in the SJLJ version.