public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46364] New: basic_string.h:541:32: internal compiler error: Segmentation fault
@ 2010-11-08 13:14 kirill at shutemov dot name
  2010-11-08 17:22 ` [Bug c++/46364] " hjl.tools at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: kirill at shutemov dot name @ 2010-11-08 13:14 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: basic_string.h:541:32: internal compiler error:
                    Segmentation fault
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: kirill@shutemov.name


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

$ cat test.cc
#include <string>

void a() throw (int);
void b(std::string const &);

void c(std::string *e)
{
        b("");

        try {
                a();
        } catch (...) {
                *e = "";
        }
}

void d() {
        c(0);
}
$ g++ -c -O3 test.cc 
In file included from
/usr/lib/gcc/i586-alt-linux/4.5.1/../../../../include/c++/4.5.1/string:53:0,
                 from test.cc:1:
/usr/lib/gcc/i586-alt-linux/4.5.1/../../../../include/c++/4.5.1/bits/basic_string.h:
In function ‘void c(std::string*)’:
/usr/lib/gcc/i586-alt-linux/4.5.1/../../../../include/c++/4.5.1/bits/basic_string.h:541:32:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.altlinux.org> for instructions.
Preprocessed source stored into /tmp/.private/kas/cc9BCz1h.out file, please
attach this to your bugreport.


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

end of thread, other threads:[~2011-04-18 15:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-08 13:14 [Bug c++/46364] New: basic_string.h:541:32: internal compiler error: Segmentation fault kirill at shutemov dot name
2010-11-08 17:22 ` [Bug c++/46364] " hjl.tools at gmail dot com
2010-11-14 11:32 ` [Bug c++/46364] [4.5 Regression] " rguenth at gcc dot gnu.org
2010-12-16 13:17 ` rguenth at gcc dot gnu.org
2011-04-18 14:25 ` rguenth at gcc dot gnu.org
2011-04-18 15:00 ` rguenth at gcc dot gnu.org
2011-04-18 15:28 ` rguenth at gcc dot gnu.org
2011-04-18 15:28 ` rguenth 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).