public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pontus dot astrom at csr dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/36083] New: g++ segfault
Date: Wed, 30 Apr 2008 07:22:00 -0000 [thread overview]
Message-ID: <bug-36083-16130@http.gcc.gnu.org/bugzilla/> (raw)
The compiler exits with segmentation fault for this source file. There are
errors in the syntax but this still should not result in a segfault.
Begin code ---------------------
namespace a
{
struct exception_base
{
virtual ~exception_base() throw();
};
}
a::~exception_base() throw(){}
End code --------------------------------
Command line:
> g++ -v -c -o bug.o bug.cc -save-temps
Output:
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.1.1/configure --prefix=/opt/gcc/4.1.1
Thread model: posix
gcc version 4.1.1
/opt/gcc/4.1.1/libexec/gcc/i686-pc-linux-gnu/4.1.1/cc1plus -E -quiet -v
-D_GNU_SOURCE bug.cc -mtune=pentiumpro -fpch-preprocess -o bug.ii
ignoring duplicate directory "/usr/local/include"
ignoring nonexistent directory
"/opt/gcc/4.1.1/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/include"
ignoring duplicate directory "/usr/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/include
/usr/X11/include
/opt/gcc/4.1.1/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../include/c++/4.1.1
/opt/gcc/4.1.1/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../include/c++/4.1.1/i686-pc-linux-gnu
/opt/gcc/4.1.1/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../include/c++/4.1.1/backward
/opt/gcc/4.1.1/include
/opt/gcc/4.1.1/lib/gcc/i686-pc-linux-gnu/4.1.1/include
End of search list.
/opt/gcc/4.1.1/libexec/gcc/i686-pc-linux-gnu/4.1.1/cc1plus -fpreprocessed
bug.ii -quiet -dumpbase bug.cc -mtune=pentiumpro -auxbase-strip bug.o -version
-o bug.s
GNU C++ version 4.1.1 (i686-pc-linux-gnu)
compiled by GNU C version 4.0.2 20050901 (prerelease) (SUSE Linux).
GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=128290
Compiler executable checksum: 15f7450715807b4e1d2bded670d0f376
bug.cc:9: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: g++ segfault
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pontus dot astrom at csr dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36083
next reply other threads:[~2008-04-30 7:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-30 7:22 pontus dot astrom at csr dot com [this message]
2008-04-30 10:25 ` [Bug c++/36083] " rguenth at gcc dot gnu dot org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-36083-16130@http.gcc.gnu.org/bugzilla/ \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).