public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/34357]  New: internal compiler error: in layout_type, at stor-layout.c:1864
@ 2007-12-06 12:56 gcc at abeckmann dot de
  2007-12-06 13:02 ` [Bug c++/34357] " gcc at abeckmann dot de
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: gcc at abeckmann dot de @ 2007-12-06 12:56 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2337 bytes --]

The following code fragment (generated during a delta debugging session)
produces an ICE:

==========
template < typename > struct iterator_traits {
template < typename ForwardIterator , iterator_traits < ForwardIterator
__attribute__ __visibility__ ( "default" )
==========

$ g++-trunk -v -c ice.cpp
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ./configure --prefix=/tmp --program-suffix=-trunk
--enable-languages=c,c++
Thread model: posix
gcc version 4.3.0 20071206 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-v' '-c' '-shared-libgcc' '-mtune=generic'
 /tmp/libexec/gcc/i686-pc-linux-gnu/4.3.0/cc1plus -quiet -v -D_GNU_SOURCE
ice.cpp -quiet -dumpbase ice.cpp -mtune=generic -auxbase ice -version -o
/tmp/cch00yQX.s
ignoring nonexistent directory
"/tmp/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /tmp/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0

/tmp/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/i686-pc-linux-gnu
 /tmp/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/backward
 /usr/local/include
 /tmp/include
 /tmp/lib/gcc/i686-pc-linux-gnu/4.3.0/include
 /tmp/lib/gcc/i686-pc-linux-gnu/4.3.0/include-fixed
 /usr/include
End of search list.
GNU C++ (GCC) version 4.3.0 20071206 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 4.3.0 20071206 (experimental), GMP version
4.2.2, MPFR version 2.3.0.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 905119d664de60becf7da68735772a8c
ice.cpp:2: warning: ‘__visibility__’ attribute ignored on non-class types
ice.cpp:2: internal compiler error: in layout_type, at stor-layout.c:1864
Please submit a full bug report,


-- 
           Summary: internal compiler error: in layout_type, at stor-
                    layout.c:1864
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gcc at abeckmann dot de
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug c++/34357] internal compiler error: in layout_type, at stor-layout.c:1864
  2007-12-06 12:56 [Bug c++/34357] New: internal compiler error: in layout_type, at stor-layout.c:1864 gcc at abeckmann dot de
@ 2007-12-06 13:02 ` gcc at abeckmann dot de
  2007-12-06 13:16 ` [Bug c++/34357] [4.2/4.3 Regression] " rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: gcc at abeckmann dot de @ 2007-12-06 13:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from gcc at abeckmann dot de  2007-12-06 13:02 -------
Also present in
gcc version 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)
==> internal compiler error: in layout_type, at stor-layout.c:1851

Not found in
gcc version 4.1.3 20071019 (prerelease) (Debian 4.1.2-17)
gcc version 4.0.4 20060904 (prerelease) (Debian 4.0.3-7)
gcc version 3.4.6 (Debian 3.4.6-6)
gcc version 3.3.6 (Debian 1:3.3.6-15)

(reports (different kinds of) syntax errors in all these versions


-- 

gcc at abeckmann dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.3.0 4.2.3
      Known to work|                            |4.1.3


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


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

* [Bug c++/34357] [4.2/4.3 Regression] internal compiler error: in layout_type, at stor-layout.c:1864
  2007-12-06 12:56 [Bug c++/34357] New: internal compiler error: in layout_type, at stor-layout.c:1864 gcc at abeckmann dot de
  2007-12-06 13:02 ` [Bug c++/34357] " gcc at abeckmann dot de
@ 2007-12-06 13:16 ` rguenth at gcc dot gnu dot org
  2007-12-12 20:58 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-12-06 13:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2007-12-06 13:16 -------
Confirmed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-invalid-code
   Last reconfirmed|0000-00-00 00:00:00         |2007-12-06 13:16:30
               date|                            |
            Summary|internal compiler error: in |[4.2/4.3 Regression]
                   |layout_type, at stor-       |internal compiler error: in
                   |layout.c:1864               |layout_type, at stor-
                   |                            |layout.c:1864
   Target Milestone|---                         |4.2.3


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


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

* [Bug c++/34357] [4.2/4.3 Regression] internal compiler error: in layout_type, at stor-layout.c:1864
  2007-12-06 12:56 [Bug c++/34357] New: internal compiler error: in layout_type, at stor-layout.c:1864 gcc at abeckmann dot de
  2007-12-06 13:02 ` [Bug c++/34357] " gcc at abeckmann dot de
  2007-12-06 13:16 ` [Bug c++/34357] [4.2/4.3 Regression] " rguenth at gcc dot gnu dot org
@ 2007-12-12 20:58 ` mmitchel at gcc dot gnu dot org
  2008-01-24 16:34 ` [Bug c++/34357] [4.2 " pcarlini at suse dot de
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-12-12 20:58 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4


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


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

* [Bug c++/34357] [4.2 Regression] internal compiler error: in layout_type, at stor-layout.c:1864
  2007-12-06 12:56 [Bug c++/34357] New: internal compiler error: in layout_type, at stor-layout.c:1864 gcc at abeckmann dot de
                   ` (2 preceding siblings ...)
  2007-12-12 20:58 ` mmitchel at gcc dot gnu dot org
@ 2008-01-24 16:34 ` pcarlini at suse dot de
  2008-02-01 17:02 ` jsm28 at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pcarlini at suse dot de @ 2008-01-24 16:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pcarlini at suse dot de  2008-01-24 16:23 -------
Most likely due to the fix for c++/28560, this problem doesn't affect mainline
anymore.


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|4.3.0 4.2.3                 |4.2.3
            Summary|[4.2/4.3 Regression]        |[4.2 Regression] internal
                   |internal compiler error: in |compiler error: in
                   |layout_type, at stor-       |layout_type, at stor-
                   |layout.c:1864               |layout.c:1864


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


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

* [Bug c++/34357] [4.2 Regression] internal compiler error: in layout_type, at stor-layout.c:1864
  2007-12-06 12:56 [Bug c++/34357] New: internal compiler error: in layout_type, at stor-layout.c:1864 gcc at abeckmann dot de
                   ` (3 preceding siblings ...)
  2008-01-24 16:34 ` [Bug c++/34357] [4.2 " pcarlini at suse dot de
@ 2008-02-01 17:02 ` jsm28 at gcc dot gnu dot org
  2008-05-19 20:31 ` jsm28 at gcc dot gnu dot org
  2009-03-31  1:38 ` jsm28 at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-02-01 17:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jsm28 at gcc dot gnu dot org  2008-02-01 16:55 -------
4.2.3 is being released now, changing milestones of open bugs to 4.2.4.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.3                       |4.2.4


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


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

* [Bug c++/34357] [4.2 Regression] internal compiler error: in layout_type, at stor-layout.c:1864
  2007-12-06 12:56 [Bug c++/34357] New: internal compiler error: in layout_type, at stor-layout.c:1864 gcc at abeckmann dot de
                   ` (4 preceding siblings ...)
  2008-02-01 17:02 ` jsm28 at gcc dot gnu dot org
@ 2008-05-19 20:31 ` jsm28 at gcc dot gnu dot org
  2009-03-31  1:38 ` jsm28 at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-05-19 20:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jsm28 at gcc dot gnu dot org  2008-05-19 20:23 -------
4.2.4 is being released, changing milestones to 4.2.5.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.4                       |4.2.5


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


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

* [Bug c++/34357] [4.2 Regression] internal compiler error: in layout_type, at stor-layout.c:1864
  2007-12-06 12:56 [Bug c++/34357] New: internal compiler error: in layout_type, at stor-layout.c:1864 gcc at abeckmann dot de
                   ` (5 preceding siblings ...)
  2008-05-19 20:31 ` jsm28 at gcc dot gnu dot org
@ 2009-03-31  1:38 ` jsm28 at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31  1:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jsm28 at gcc dot gnu dot org  2009-03-31 01:38 -------
Closing 4.2 branch, fixed in 4.3.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to fail|4.2.3                       |4.2.3 4.2.5
      Known to work|4.1.3                       |4.1.3 4.3.0
         Resolution|                            |FIXED
   Target Milestone|4.2.5                       |4.3.0


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


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

end of thread, other threads:[~2009-03-31  1:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-06 12:56 [Bug c++/34357] New: internal compiler error: in layout_type, at stor-layout.c:1864 gcc at abeckmann dot de
2007-12-06 13:02 ` [Bug c++/34357] " gcc at abeckmann dot de
2007-12-06 13:16 ` [Bug c++/34357] [4.2/4.3 Regression] " rguenth at gcc dot gnu dot org
2007-12-12 20:58 ` mmitchel at gcc dot gnu dot org
2008-01-24 16:34 ` [Bug c++/34357] [4.2 " pcarlini at suse dot de
2008-02-01 17:02 ` jsm28 at gcc dot gnu dot org
2008-05-19 20:31 ` jsm28 at gcc dot gnu dot org
2009-03-31  1:38 ` jsm28 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).