public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mr_W at mindnever dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/12726] New: ICE (segfault) on trivial code
Date: Wed, 22 Oct 2003 17:11:00 -0000	[thread overview]
Message-ID: <20031022170846.12726.mr_W@mindnever.org> (raw)

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: ICE (segfault) on trivial code
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mr_W at mindnever dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-redhat-linux
  GCC host triplet: i386-redhat-linux
GCC target triplet: i386-redhat-linux

#include <string>
 
struct foobar {
    std::string s;
  };
 
int main(int argc, char **argv)
{
foobar fb;
 
fb = (foobar) { "abcd" };
 
return 0;
}


-----

[mr_w@mravojed ~/build/xtest] $ /usr/local/gcc/3.3.2/bin/g++ -v -save-temps xt9.
cpp
Reading specs from /usr/local/gcc/3.3.2/lib/gcc-lib/i386-redhat-linux/3.3.
2/specs
Configured with: ../configure --prefix=/usr/local/gcc/3.3.2 
--infodir=/usr/local/gcc/3.3.2/share/info --mandir=/usr/local/gcc/3.3.
2/share/man --disable-static --enable-shared --enable-threads=posix 
--enable-__cxa_atexit --enable-languages=c,c++,f77,objc,java,ksi --enable-c99 
--enable-long-long --enable-multilib --enable-nls --with-gnu-as --with-gnu-ld 
--with-system-zlib --with-slibdir=/lib --without-x i386-redhat-linux
Thread model: posix
gcc version 3.3.2 (PLD Linux)
 /usr/local/gcc/3.3.2/lib/gcc-lib/i386-redhat-linux/3.3.2/cc1plus -E 
-D__GNUG__=3 -quiet -v -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=2 
-D_GNU_SOURCE xt9.cpp xt9.ii
ignoring nonexistent directory "/usr/local/gcc/3.3.2/i386-redhat-linux/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/gcc/3.3.2/include/c++/3.3.2
 /usr/local/gcc/3.3.2/include/c++/3.3.2/i386-redhat-linux
 /usr/local/gcc/3.3.2/include/c++/3.3.2/backward
 /usr/local/include
 /usr/local/gcc/3.3.2/include
 /usr/local/gcc/3.3.2/lib/gcc-lib/i386-redhat-linux/3.3.2/include
 /usr/include
End of search list.
 /usr/local/gcc/3.3.2/lib/gcc-lib/i386-redhat-linux/3.3.2/cc1plus -fpreprocessed 
xt9.ii -quiet -dumpbase xt9.cpp -auxbase xt9 -version -o xt9.s
GNU C++ version 3.3.2 (PLD Linux) (i386-redhat-linux)
        compiled by GNU C version 3.3.2 (PLD Linux).
GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=31913
g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.pld.org.pl/> for instructions.


             reply	other threads:[~2003-10-22 17:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-22 17:11 mr_W at mindnever dot org [this message]
2003-10-22 19:16 ` [Bug c++/12726] " bangerth at dealii dot org
2003-10-22 19:59 ` [Bug c++/12726] [3.3.2 regression] " reichelt at gcc dot gnu dot org
2003-10-22 20:00 ` [Bug c++/12726] [3.3.2/3.4 " reichelt at gcc dot gnu dot org
2003-10-22 20:06 ` reichelt at gcc dot gnu dot org
2003-10-23  6:41 ` cvs-commit at gcc dot gnu dot org
2003-10-23  6:49 ` cvs-commit at gcc dot gnu dot org
2003-10-23  6:51 ` [Bug c++/12726] [3.3.2 " pinskia at gcc dot gnu dot org
2003-10-23  8:18 ` reichelt at gcc dot gnu dot org
2003-10-23 11:35 ` cvs-commit at gcc dot gnu dot org
2003-10-23 14:35 ` [Bug c++/12726] [3.3.2/3.4 " pinskia at gcc dot gnu dot org
2003-10-27 19:08 ` jason at redhat dot com
2003-11-03 21:29 ` cvs-commit at gcc dot gnu dot org
2003-11-26  1:52 ` reichelt at gcc dot gnu dot org
2003-12-03 14:47 ` reichelt at gcc dot gnu dot org
2003-12-08  0:57 ` reichelt 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=20031022170846.12726.mr_W@mindnever.org \
    --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).