public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "zhaojiangbin at yahoo dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/12369] New: internal compiler error: segmentation fault Date: Mon, 22 Sep 2003 21:24:00 -0000 [thread overview] Message-ID: <20030922203913.12369.zhaojiangbin@yahoo.com> (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=12369 Summary: internal compiler error: segmentation fault Product: gcc Version: 3.3.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zhaojiangbin at yahoo dot com CC: gcc-bugs at gcc dot gnu dot org The following code causes ICE and Segmentation fault on line (1): struct A { template<class T> T* make() { return new T(); } }; struct B { friend B* A::make< B >(); // (1) }; Compilation command line: g++ -o ice.o ice.cc Output of g++ -v: Reading specs from /usr/lib/gcc-lib/i386-linux/3.3.1/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i386-linux Thread model: posix gcc version 3.3.1 (Debian)
next reply other threads:[~2003-09-22 20:39 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-09-22 21:24 zhaojiangbin at yahoo dot com [this message] 2003-09-22 22:12 ` [Bug c++/12369] [3.3 regression] ICE with templates and friends bangerth at dealii dot org 2003-09-22 22:56 ` [Bug c++/12369] [3.3 Regression] " pinskia at gcc dot gnu dot org 2003-09-23 13:53 ` lerdsuwa at gcc dot gnu dot org 2003-09-25 12:51 ` lerdsuwa at gcc dot gnu dot org 2003-10-04 9:08 ` andreas dot meier_ at gmx dot de 2003-10-05 18:34 ` mark at codesourcery dot com 2003-10-16 9:34 ` cvs-commit at gcc dot gnu dot org 2003-10-16 9:35 ` mmitchel at gcc dot gnu dot org 2003-10-16 18:40 ` andreas dot meier_ at gmx dot de 2003-10-16 19:03 ` mmitchel at gcc dot gnu dot org 2003-10-17 11:17 ` cvs-commit at gcc dot gnu dot org 2003-10-17 11:18 ` lerdsuwa at gcc dot gnu dot org 2003-10-17 12:38 ` 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=20030922203913.12369.zhaojiangbin@yahoo.com \ --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: linkBe 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).