public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/53003] New: Internal compiler error on short testcase
@ 2012-04-16  6:43 rippey.e at gmail dot com
  2012-04-16  8:17 ` [Bug c++/53003] " redi at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: rippey.e at gmail dot com @ 2012-04-16  6:43 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53003
           Summary: Internal compiler error on short testcase
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rippey.e@gmail.com


When a file containing only "struct A{ void a{} return b" is run it produces:

bad.cpp:1:18: internal compiler error: Segmentation fault
 struct A{ void a{} return b
                  ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

This is with SVN version 186473 on i686 GNU/Linux, with no configure options. 
No special command line options are required - this is triggered by "g++
bad.cpp".  

The code snippet is obviously invalid C++.  The snippet was arrived at by
taking a program that was valid C++ but also triggered internal compiler
errors, and reducing its size as much as possible without regard for validity.


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

end of thread, other threads:[~2012-04-17 17:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-16  6:43 [Bug c++/53003] New: Internal compiler error on short testcase rippey.e at gmail dot com
2012-04-16  8:17 ` [Bug c++/53003] " redi at gcc dot gnu.org
2012-04-17 17:25 ` paolo at gcc dot gnu.org
2012-04-17 17:46 ` paolo at gcc dot gnu.org
2012-04-17 17:50 ` paolo.carlini at oracle dot com

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