public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: jototland@hotmail.com To: gcc-gnats@gcc.gnu.org Subject: c++/6620: partial template specialization on int Date: Thu, 09 May 2002 20:06:00 -0000 [thread overview] Message-ID: <20020510025727.29675.qmail@sources.redhat.com> (raw) >Number: 6620 >Category: c++ >Synopsis: partial template specialization on int >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu May 09 20:06:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Jo Totland >Release: g++ 3.04, g++ 2.95.4 >Organization: >Environment: Debian unstable, linux kernel 2.4.18 >Description: The attached source-file gives an internal compiler error when compiled with g++. jo@bogon:~/units$ g++ -v -c minimal2.cc Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version 2.95.4 20011002 (Debian prerelease) /usr/lib/gcc-lib/i386-linux/2.95.4/cpp0 -lang-c++ -v -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -D__ELF__ -Dunix -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__EXCEPTIONS -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ minimal2.cc /tmp/ccnsOHUh.ii GNU CPP version 2.95.4 20011002 (Debian prerelease) (i386 Linux/ELF) #include "..." search starts here: #include <...> search starts here: /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3 /usr/local/include /usr/lib/gcc-lib/i386-linux/2.95.4/include /usr/include End of search list. The following default directories have been omitted from the search path: /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../i386-linux/include End of omitted list. /usr/lib/gcc-lib/i386-linux/2.95.4/cc1plus /tmp/ccnsOHUh.ii -quiet -dumpbase minimal2.cc -version -o /tmp/ccrc1m4k.s GNU C++ version 2.95.4 20011002 (Debian prerelease) (i386-linux) compiled by GNU C version 2.95.4 20011002 (Debian prerelease). minimal2.cc:10: Internal compiler error. minimal2.cc:10: Please submit a full bug report. minimal2.cc:10: Internal compiler error: minimal2.cc:10: See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. jo@bogon:~/units$ g++-3.0 -v -c minimal2.cc Reading specs from /usr/lib/gcc-lib/i386-linux/3.0.4/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux Thread model: posix gcc version 3.0.4 /usr/lib/gcc-lib/i386-linux/3.0.4/cc1plus -v -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=4 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__NO_INLINE__ -D__STDC_HOSTED__=1 -D_GNU_SOURCE -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i386__ minimal2.cc -D__GNUG__=3 -D__GXX_DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -quiet -dumpbase minimal2.cc -version -o /tmp/cc4oFYdd.s GNU CPP version 3.0.4 (cpplib) (i386 Linux/ELF) GNU C++ version 3.0.4 (i386-linux) compiled by GNU C version 3.0.4. ignoring nonexistent directory "/usr/i386-linux/include" #include "..." search starts here: #include <...> search starts here: /usr/include/g++-v3 /usr/include/g++-v3/i386-linux /usr/include/g++-v3/backward /usr/local/include /usr/lib/gcc-lib/i386-linux/3.0.4/include /usr/include End of search list. minimal2.cc:10: Internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. >How-To-Repeat: Compile the attached test-program >Fix: No idea >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/x-c++src; name="minimal2.cc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="minimal2.cc" dGVtcGxhdGUgPGludCBOPiBzdHJ1Y3QgSG9sZEludCB7fTsKCnRlbXBsYXRlIDxjbGFzcyBBLCBj bGFzcyBCPiBzdHJ1Y3QgQWRkOwoKdGVtcGxhdGUgPGludCBOPiBzdHJ1Y3QgQWRkPEhvbGRJbnQ8 Tj4sIEhvbGRJbnQ8LU4+ID4geyB0eXBlZGVmIGludCB0eXBlOyB9OwoKdGVtcGxhdGUgPGludCBO LCBpbnQgTT4gCnN0cnVjdCBBZGQ8SG9sZEludDxOPiwgSG9sZEludDxNPiA+IHsgdHlwZWRlZiBI b2xkSW50PE4rTT4gdHlwZTsgfTsKCnR5cGVkZWYgQWRkPEhvbGRJbnQ8MT4sIEhvbGRJbnQ8LTE+ ID46OnR5cGUgQVNERjsK
next reply other threads:[~2002-05-10 3:06 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-05-09 20:06 jototland [this message] 2002-05-10 9:32 lerdsuwa 2002-05-13 3:06 Reichelt 2002-05-15 8:26 lerdsuwa 2002-05-16 7:01 lerdsuwa
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=20020510025727.29675.qmail@sources.redhat.com \ --to=jototland@hotmail.com \ --cc=gcc-gnats@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).