public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/32656]  New: [4.3 regression] m32c: ICE in smallest_mode_for_size, at stor-layout.c:220
@ 2007-07-06 20:49 rask at sygehus dot dk
  2007-07-06 20:50 ` [Bug middle-end/32656] " rask at sygehus dot dk
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: rask at sygehus dot dk @ 2007-07-06 20:49 UTC (permalink / raw)
  To: gcc-bugs

I get this failure building libstdc++:
/home/rask/build/gcc-m32c-unknown-elf/m32c-unknown-elf/m32cm/libstdc++-v3/include/ext/bitmap_allocator.h:
In member function 'void
__gnu_cxx::bitmap_allocator<_Tp>::_M_deallocate_single_object(_Tp*) [with _Tp =
wchar_t]':
/home/rask/build/gcc-m32c-unknown-elf/m32c-unknown-elf/m32cm/libstdc++-v3/include/ext/bitmap_allocator.h:1027:
internal compiler error: in smallest_mode_for_size, at stor-layout.c:220

Can be reproduced with this command line and the attached preprocessed source:
./xgcc -B./ -O2 -mcpu=m32cm ~/bitmap-allocator.cc -S -o /dev/null

These are the flags I configured gcc with:

--target m32c-unknown-elf --with-newlib --enable-sim --disable-gdb
--disable-nls --enable-languages=c,c++ --enable-cxx-flags=-O2


-- 
           Summary: [4.3 regression] m32c: ICE in smallest_mode_for_size, at
                    stor-layout.c:220
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rask at sygehus dot dk
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: m32c-unknown-elf


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


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

* [Bug middle-end/32656] [4.3 regression] m32c: ICE in smallest_mode_for_size, at stor-layout.c:220
  2007-07-06 20:49 [Bug middle-end/32656] New: [4.3 regression] m32c: ICE in smallest_mode_for_size, at stor-layout.c:220 rask at sygehus dot dk
@ 2007-07-06 20:50 ` rask at sygehus dot dk
  2007-07-07  0:05 ` zackw at panix dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rask at sygehus dot dk @ 2007-07-06 20:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rask at sygehus dot dk  2007-07-06 20:50 -------
Created an attachment (id=13856)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13856&action=view)
test case


-- 


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


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

* [Bug middle-end/32656] [4.3 regression] m32c: ICE in smallest_mode_for_size, at stor-layout.c:220
  2007-07-06 20:49 [Bug middle-end/32656] New: [4.3 regression] m32c: ICE in smallest_mode_for_size, at stor-layout.c:220 rask at sygehus dot dk
  2007-07-06 20:50 ` [Bug middle-end/32656] " rask at sygehus dot dk
@ 2007-07-07  0:05 ` zackw at panix dot com
  2007-07-07  0:06 ` zackw at panix dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: zackw at panix dot com @ 2007-07-07  0:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from zackw at panix dot com  2007-07-07 00:05 -------
*** Bug 32659 has been marked as a duplicate of this bug. ***


-- 

zackw at panix dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zackw at panix dot com


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


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

* [Bug middle-end/32656] [4.3 regression] m32c: ICE in smallest_mode_for_size, at stor-layout.c:220
  2007-07-06 20:49 [Bug middle-end/32656] New: [4.3 regression] m32c: ICE in smallest_mode_for_size, at stor-layout.c:220 rask at sygehus dot dk
  2007-07-06 20:50 ` [Bug middle-end/32656] " rask at sygehus dot dk
  2007-07-07  0:05 ` zackw at panix dot com
@ 2007-07-07  0:06 ` zackw at panix dot com
  2007-07-07  0:07 ` zackw at panix dot com
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: zackw at panix dot com @ 2007-07-07  0:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from zackw at panix dot com  2007-07-07 00:06 -------
Created an attachment (id=13859)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13859&action=view)
Minimized test case

Here's a minimal test case (from my duplicate report of this, #32659).  I
analyzed it a bit there - the important thing to know is that reload wants a
MODE_PARTIAL_INT with 64 bits; as the target has no such mode, we abort.  I
think reload wants this in order to deal with a (subreg:PSI (reg:DI))
construct.


-- 

zackw at panix dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #13856|0                           |1
        is obsolete|                            |


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


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

* [Bug middle-end/32656] [4.3 regression] m32c: ICE in smallest_mode_for_size, at stor-layout.c:220
  2007-07-06 20:49 [Bug middle-end/32656] New: [4.3 regression] m32c: ICE in smallest_mode_for_size, at stor-layout.c:220 rask at sygehus dot dk
                   ` (2 preceding siblings ...)
  2007-07-07  0:06 ` zackw at panix dot com
@ 2007-07-07  0:07 ` zackw at panix dot com
  2007-07-07  0:16 ` zackw at panix dot com
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: zackw at panix dot com @ 2007-07-07  0:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from zackw at panix dot com  2007-07-07 00:07 -------
Adding DJ to cc: list, confirming.


-- 

zackw at panix dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dj at redhat dot com
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-07-07 00:07:50
               date|                            |


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


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

* [Bug middle-end/32656] [4.3 regression] m32c: ICE in smallest_mode_for_size, at stor-layout.c:220
  2007-07-06 20:49 [Bug middle-end/32656] New: [4.3 regression] m32c: ICE in smallest_mode_for_size, at stor-layout.c:220 rask at sygehus dot dk
                   ` (3 preceding siblings ...)
  2007-07-07  0:07 ` zackw at panix dot com
@ 2007-07-07  0:16 ` zackw at panix dot com
  2007-07-07  0:20 ` zackw at panix dot com
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: zackw at panix dot com @ 2007-07-07  0:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from zackw at panix dot com  2007-07-07 00:15 -------
Created an attachment (id=13860)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13860&action=view)
Even smaller test case


-- 

zackw at panix dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #13859|0                           |1
        is obsolete|                            |


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


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

* [Bug middle-end/32656] [4.3 regression] m32c: ICE in smallest_mode_for_size, at stor-layout.c:220
  2007-07-06 20:49 [Bug middle-end/32656] New: [4.3 regression] m32c: ICE in smallest_mode_for_size, at stor-layout.c:220 rask at sygehus dot dk
                   ` (4 preceding siblings ...)
  2007-07-07  0:16 ` zackw at panix dot com
@ 2007-07-07  0:20 ` zackw at panix dot com
  2007-09-11 11:47 ` jsm28 at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: zackw at panix dot com @ 2007-07-07  0:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from zackw at panix dot com  2007-07-07 00:20 -------
Created an attachment (id=13861)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13861&action=view)
and smaller still

I can't believe I didn't think of these reductions three hours ago...


-- 

zackw at panix dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #13860|0                           |1
        is obsolete|                            |


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


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

* [Bug middle-end/32656] [4.3 regression] m32c: ICE in smallest_mode_for_size, at stor-layout.c:220
  2007-07-06 20:49 [Bug middle-end/32656] New: [4.3 regression] m32c: ICE in smallest_mode_for_size, at stor-layout.c:220 rask at sygehus dot dk
                   ` (5 preceding siblings ...)
  2007-07-07  0:20 ` zackw at panix dot com
@ 2007-09-11 11:47 ` jsm28 at gcc dot gnu dot org
  2007-09-25  2:15 ` dj at redhat dot com
  2007-09-25 12:05 ` rask at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2007-09-11 11:47 UTC (permalink / raw)
  To: gcc-bugs



-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.3.0


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


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

* [Bug middle-end/32656] [4.3 regression] m32c: ICE in smallest_mode_for_size, at stor-layout.c:220
  2007-07-06 20:49 [Bug middle-end/32656] New: [4.3 regression] m32c: ICE in smallest_mode_for_size, at stor-layout.c:220 rask at sygehus dot dk
                   ` (6 preceding siblings ...)
  2007-09-11 11:47 ` jsm28 at gcc dot gnu dot org
@ 2007-09-25  2:15 ` dj at redhat dot com
  2007-09-25 12:05 ` rask at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: dj at redhat dot com @ 2007-09-25  2:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from dj at redhat dot com  2007-09-25 02:15 -------
Seems to work for me now; could you recheck it with the patches I just
committed?


-- 


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


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

* [Bug middle-end/32656] [4.3 regression] m32c: ICE in smallest_mode_for_size, at stor-layout.c:220
  2007-07-06 20:49 [Bug middle-end/32656] New: [4.3 regression] m32c: ICE in smallest_mode_for_size, at stor-layout.c:220 rask at sygehus dot dk
                   ` (7 preceding siblings ...)
  2007-09-25  2:15 ` dj at redhat dot com
@ 2007-09-25 12:05 ` rask at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: rask at gcc dot gnu dot org @ 2007-09-25 12:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rask at gcc dot gnu dot org  2007-09-25 12:05 -------
It works for me too at revision 128761.


-- 

rask at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2007-09-25 12:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-06 20:49 [Bug middle-end/32656] New: [4.3 regression] m32c: ICE in smallest_mode_for_size, at stor-layout.c:220 rask at sygehus dot dk
2007-07-06 20:50 ` [Bug middle-end/32656] " rask at sygehus dot dk
2007-07-07  0:05 ` zackw at panix dot com
2007-07-07  0:06 ` zackw at panix dot com
2007-07-07  0:07 ` zackw at panix dot com
2007-07-07  0:16 ` zackw at panix dot com
2007-07-07  0:20 ` zackw at panix dot com
2007-09-11 11:47 ` jsm28 at gcc dot gnu dot org
2007-09-25  2:15 ` dj at redhat dot com
2007-09-25 12:05 ` rask at gcc dot gnu 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).