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

* [Bug target/50116] [4.6 Regression] internal compiler error: in decode_addr_const, at varasm.c:2632
  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 ` rguenth at gcc dot gnu.org
  2011-08-29  8:21 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-08-26 20:55 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011-08-26
         AssignedTo|unassigned at gcc dot       |rguenth at gcc dot gnu.org
                   |gnu.org                     |
   Target Milestone|---                         |4.6.2
            Summary|internal compiler error: in |[4.6 Regression] internal
                   |decode_addr_const, at       |compiler error: in
                   |varasm.c:2632               |decode_addr_const, at
                   |                            |varasm.c:2632
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-08-26 20:52:36 UTC ---
Mine.


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

* [Bug target/50116] [4.6 Regression] internal compiler error: in decode_addr_const, at varasm.c:2632
  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
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-08-29  8:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-08-29 08:03:45 UTC ---
Author: rguenth
Date: Mon Aug 29 08:03:34 2011
New Revision: 178155

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178155
Log:
2011-08-29  Richard Guenther  <rguenther@suse.de>

        PR middle-end/50116
    * varasm.c (decode_addr_const): Handle MEM_REF[&X, OFF].

Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/varasm.c


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

* [Bug target/50116] [4.6 Regression] internal compiler error: in decode_addr_const, at varasm.c:2632
  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
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-08-29  8:40 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-08-29 08:04:08 UTC ---
Should be fixed now.


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

* [Bug target/50116] [4.6 Regression] internal compiler error: in decode_addr_const, at varasm.c:2632
  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
                   ` (2 preceding siblings ...)
  2011-08-29  8:40 ` rguenth at gcc dot gnu.org
@ 2011-09-01 15:17 ` bero at arklinux dot org
  3 siblings, 0 replies; 5+ messages in thread
From: bero at arklinux dot org @ 2011-09-01 15:17 UTC (permalink / raw)
  To: gcc-bugs

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

bero at arklinux dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bero at arklinux dot org

--- Comment #4 from bero at arklinux dot org 2011-09-01 15:16:58 UTC ---
The patch doesn't fix it.
I don't have sufficient access to reopen this bug, so I've filed a new bug
including a reduced test case as bug 50266.


^ 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).