public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46069] New: ill-formed use of decltype causes segfault
@ 2011-01-25 23:53 LpSolit at netscape dot net
  2011-01-26  4:26 ` [Bug c++/46069] [C++0x] " redi at gcc dot gnu.org
  2011-03-29 16:41 ` redi at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: LpSolit at netscape dot net @ 2011-01-25 23:53 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ill-formed use of decltype causes segfault
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: enniobarbaro@alice.it


Hi all,

The attached code causes a segfault in gcc 4.5.1 (Debian 4.5.1-9), mabye an
infinite recursion of decltype?

my system is a debian testing (kernel 2-6.32-5-amd64)

gcc configuration options:

Target: x86_64-linux-gnu                                                        
Configured with: ../src/configure -v --with-pkgversion='Debian 4.5.1-9'
--with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.5 --enable-shared --enable-multiarch
--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.5 --libdir=/usr/lib --enable-nls
--enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-plugin --enable-gold --with-plugin-ld=ld.gold --enable-objc-gc
--with-arch-32=i586 --with-tune=generic --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu      
Thread model: posix                                                             
gcc version 4.5.1 (Debian 4.5.1-9)   

command line and output:
gcc-4.5 -std=c++0x bug.cpp                                                      
gcc-4.5: Internal error: Segmentation fault (program cc1plus)                   
Please submit a full bug report.                                                
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.

Ennio


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

* [Bug c++/46069] [C++0x] ill-formed use of decltype causes segfault
  2011-01-25 23:53 [Bug c++/46069] New: ill-formed use of decltype causes segfault LpSolit at netscape dot net
@ 2011-01-26  4:26 ` redi at gcc dot gnu.org
  2011-03-29 16:41 ` redi at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2011-01-26  4:26 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011.01.26 01:04:34
            Version|unknown                     |4.5.1
            Summary|ill-formed use of decltype  |[C++0x] ill-formed use of
                   |causes segfault             |decltype causes segfault
     Ever Confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-01-26 01:04:34 UTC ---
the attachment is missing


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

* [Bug c++/46069] [C++0x] ill-formed use of decltype causes segfault
  2011-01-25 23:53 [Bug c++/46069] New: ill-formed use of decltype causes segfault LpSolit at netscape dot net
  2011-01-26  4:26 ` [Bug c++/46069] [C++0x] " redi at gcc dot gnu.org
@ 2011-03-29 16:41 ` redi at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2011-03-29 16:41 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-29 16:37:55 UTC ---
closing due to lack of response

if you reopen it please provide the code demonstrating the problem


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

end of thread, other threads:[~2011-03-29 16:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-25 23:53 [Bug c++/46069] New: ill-formed use of decltype causes segfault LpSolit at netscape dot net
2011-01-26  4:26 ` [Bug c++/46069] [C++0x] " redi at gcc dot gnu.org
2011-03-29 16:41 ` redi at gcc dot gnu.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).