public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/29632]  New: ICE on invalid code: regenerate_decl_from_template, at cp/pt.c:10969
@ 2006-10-29  2:42 jkherciueh at gmx dot net
  2006-10-29  6:45 ` [Bug c++/29632] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: jkherciueh at gmx dot net @ 2006-10-29  2:42 UTC (permalink / raw)
  To: gcc-bugs

The following crashes g++:

struct nullptr_type {

  nullptr_type ( void ) {}

  template < typename T >
  operator T* ( void ) const {
    return ( 0 );
  }

} const nullptr;

int main ( void ) {
  0 == nullptr;
}


g++ -v:
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/specs
Configured with: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.6
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/info
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext --with-system-zlib --disable-checking
--disable-werror --disable-libunwind-exceptions --disable-multilib
--disable-libgcj --enable-languages=c,c++,f77 --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix


-- 
           Summary: ICE on invalid code: regenerate_decl_from_template, at
                    cp/pt.c:10969
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jkherciueh at gmx dot net


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


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

end of thread, other threads:[~2007-02-03 20:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-29  2:42 [Bug c++/29632] New: ICE on invalid code: regenerate_decl_from_template, at cp/pt.c:10969 jkherciueh at gmx dot net
2006-10-29  6:45 ` [Bug c++/29632] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-11-13  3:39 ` [Bug c++/29632] [4.0/4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
2006-12-04  4:51 ` mmitchel at gcc dot gnu dot org
2006-12-04 18:01 ` mmitchel at gcc dot gnu dot org
2006-12-04 22:15 ` [Bug c++/29632] [4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
2006-12-04 22:16 ` [Bug c++/29632] [4.0/4.1 " mmitchel at gcc dot gnu dot org
2006-12-04 23:21 ` mmitchel at gcc dot gnu dot org
2006-12-04 23:22 ` [Bug c++/29632] [4.0 " mmitchel at gcc dot gnu dot org
2007-02-03 20:46 ` gdr 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).