public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/50116] New: internal compiler error: in decode_addr_const, at varasm.c:2632
@ 2011-08-18  9:57 lool at dooz dot org
  2011-08-26 20:55 ` [Bug target/50116] [4.6 Regression] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: lool at dooz dot org @ 2011-08-18  9:57 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50116

             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 and
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=0x80100000 -DCONFIG_SPL_TEXT_BASE=0x40304350
-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/include
-pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork
-march=armv5 -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/cpu/armv7/omap4/clocks.o
clocks.c -c
clocks.c: In function ‘enable_basic_clocks’:
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 <file:///usr/share/doc/gcc-4.6/README.Bugs> 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 Launchpad
bug in the unlikely case you'd need them)

Bye,


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-01 15:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-18  9:57 [Bug middle-end/50116] New: internal compiler error: in decode_addr_const, at varasm.c:2632 lool at dooz dot org
2011-08-26 20:55 ` [Bug target/50116] [4.6 Regression] " rguenth at gcc dot gnu.org
2011-08-29  8:21 ` rguenth at gcc dot gnu.org
2011-08-29  8:40 ` rguenth at gcc dot gnu.org
2011-09-01 15:17 ` bero at arklinux dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).