From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14503 invoked by alias); 21 Jun 2011 17:18:28 -0000 Received: (qmail 14494 invoked by uid 22791); 21 Jun 2011 17:18:27 -0000 X-SWARE-Spam-Status: No, hits=-2.7 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; Tue, 21 Jun 2011 17:18:13 +0000 From: "gandalf at winds dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49487] Internal compiler error in AVR code X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gandalf at winds dot org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: Tue, 21 Jun 2011 17:18: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-06/txt/msg01908.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49487 --- Comment #3 from gandalf at winds dot org 2011-06-21 17:17:20 UTC --- (In reply to comment #1) > (In reply to comment #0) > > Compiling the following function triggers an internal compiler error in (at > > least) GCC versions 4.2, 4.3, 4.5 and the latest 4.7.0-20110620: > > Could you be a bit more specific on the version numbers for 4.2, 4.3, and 4.5? > > I've just tried building on 4.3.3 (WinAVR 20100110) and it compiled > successfully for -O[0123s]. > > > > This was compiled using a cross-compiler on an x86_64 system as outlined below: > > Could you try using a 32-bit host? Sorry about being vague on the previous GCC versions--I didn't think it mattered that much. I very well could have been using patches from Atmel back then (it was a while ago). I cannot reproduce the problem today on vanilla GCC 4.3.5 and 4.4.6. However I am able to reproduce the problem on 4.5.3 right now too (on a 64-bit host).