From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22595 invoked by alias); 18 Aug 2011 09:56:58 -0000 Received: (qmail 22585 invoked by uid 22791); 18 Aug 2011 09:56:57 -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; Thu, 18 Aug 2011 09:56:44 +0000 From: "lool at dooz dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/50116] New: internal compiler error: in decode_addr_const, at varasm.c:2632 Date: Thu, 18 Aug 2011 09:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lool at dooz dot 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" Content-Transfer-Encoding: quoted-printable 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: 2011-08/txt/msg01564.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D50116 Bug #: 50116 Summary: internal compiler error: in decode_addr_const, at varasm.c:2632 Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned@gcc.gnu.org ReportedBy: lool@dooz.org Hi This was initially reported at https://bugs.launchpad.net/ubuntu/+source/gcc-4.6-armel-cross/+bug/827990 a= nd Michael Hope produced a reduced testcase which is confirmed to affect GCC 4.6.1. arm-linux-gnueabi-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL= __ -DCONFIG_SYS_TEXT_BASE=3D0x80100000 -DCONFIG_SPL_TEXT_BASE=3D0x40304350 -I/home/lool/git/linaro/boot/u-boot-linaro-stable/obj-omap4_panda/include2 -I/home/lool/git/linaro/boot/u-boot-linaro-stable/obj-omap4_panda/include -I/home/lool/git/linaro/boot/u-boot-linaro-stable/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabi/4.6.1/incl= ude -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=3Daapcs-linux -mno-thumb-interwork -march=3Darmv5 -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -o /home/lool/git/linaro/boot/u-boot-linaro-stable/obj-omap4_panda/arch/arm/cp= u/armv7/omap4/clocks.o clocks.c -c clocks.c: In function =E2=80=98enable_basic_clocks=E2=80=99: clocks.c:657:13: internal compiler error: in decode_addr_const, at varasm.c:2632 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Michael Hope also notes: "Note the use of -fno-builtin to suppress a warning. The fault occurs at -Os, -O1, -O2, and -O3. The work-around is to compile at -O0." (I'm attaching his reduced test case, the original files are in the Launchp= ad bug in the unlikely case you'd need them) Bye,