public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/48993] New: segmentation fault when compiling this program with constexpr
@ 2011-05-13 22:33 akrzemi1 at gmail dot com
  2011-07-24 20:23 ` [Bug c++/48993] [C++0x\ " pinskia at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: akrzemi1 at gmail dot com @ 2011-05-13 22:33 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: segmentation fault when compiling this program with
                    constexpr
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: akrzemi1@gmail.com


Created attachment 24245
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24245
source code

linux version (uname -a):
Linux localhost.localdomain 2.6.38.2-9.fc15.i686.PAE #1 SMP Wed Mar 30 16:47:28
UTC 2011 i686 i686 i386 GNU/Linux

gcc version 4.6.0 20110428 (Red Hat 4.6.0-6) (GCC) 
(this is the default that was shipped with the beta version of fedora 15)

I compile the attached file using command:
g++ bug.cpp -std=c++0x

The response I get is:
bug.cpp:12:17:   in constexpr expansion of ‘s1.Stack::Stack((*(const Stack*)(&
s)), 10)’
bug.cpp:12:17: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccIWdWoz.out file, please attach this to
your bugreport.


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

end of thread, other threads:[~2011-08-06 22:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-13 22:33 [Bug c++/48993] New: segmentation fault when compiling this program with constexpr akrzemi1 at gmail dot com
2011-07-24 20:23 ` [Bug c++/48993] [C++0x\ " pinskia at gcc dot gnu.org
2011-08-05 21:59 ` [Bug c++/48993] [C++0x] " jason at gcc dot gnu.org
2011-08-06  4:36 ` jason at gcc dot gnu.org
2011-08-06  4:40 ` jason at gcc dot gnu.org
2011-08-06 22:24 ` jason 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).