public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: imz@altlinux.ru To: gcc-gnats@gcc.gnu.org Subject: c++/6423: fails on a certain combination of template classes with static members Date: Tue, 23 Apr 2002 06:56:00 -0000 [thread overview] Message-ID: <20020423135214.29874.qmail@sources.redhat.com> (raw) >Number: 6423 >Category: c++ >Synopsis: fails on a certain combination of template classes with static members >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Tue Apr 23 06:56:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Ivan Zakharyaschev >Release: 3.0.4 >Organization: >Environment: distribution: ALTLinux Sisyphus Linux 2.4.18-alt6-up #1 Tue Apr 16 19:21:46 MSD 2002 i686 unknown glibc-2.2.5 >Description: Internal error on short piece of code (with template classes with a static memeber and a constructor which uses the static member); no "includes"). The output of the g++ command follows: $ g++ -v -save-temps -Wall -ansi -pedantic test-templ-static-memb.cc Reading specs from /usr/lib/gcc-lib/i586-alt-linux/3.0.4/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-cstdio=stdio --enable-clocale=generic --enable-languages=c,c++,f77,objc,java --program-suffix=-3.0.4 --enable-objc-gc --with-system-zlib --host=i586-alt-linux Thread model: posix gcc version 3.0.4 /usr/lib/gcc-lib/i586-alt-linux/3.0.4/cpp0 -lang-c++ -D__GNUG__=3 -D__GXX_DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -D__STRICT_ANSI__ -trigraphs -$ -v -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=4 -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__NO_INLINE__ -D__STDC_HOSTED__=1 -Wall -pedantic -D_GNU_SOURCE -Acpu=i386 -Amachine=i386 -D__i386 -D__i386__ -D__tune_i586__ -D__tune_pentium__ test-templ-static-memb.cc test-templ-static-memb.ii GNU CPP version 3.0.4 (cpplib) (i386 Linux/ELF) ignoring nonexistent directory "/usr/i586-alt-linux/include" #include "..." search starts here: #include <...> search starts here: /usr/include/g++-v3 /usr/include/g++-v3/i586-alt-linux /usr/include/g++-v3/backward /usr/local/include /usr/lib/gcc-lib/i586-alt-linux/3.0.4/include /usr/include End of search list. /usr/lib/gcc-lib/i586-alt-linux/3.0.4/cc1plus -fpreprocessed test-templ-static-memb.ii -trigraphs -$ -quiet -dumpbase test-templ-static-memb.cc -ansi -Wall -pedantic -ansi -version -o test-templ-static-memb.s GNU CPP version 3.0.4 (cpplib) (i386 Linux/ELF) GNU C++ version 3.0.4 (i586-alt-linux) compiled by GNU C version 3.0.4. test-templ-static-memb.cc: In function `void __static_initialization_and_destruction_0(int, int)': test-templ-static-memb.cc:38: Internal compiler error in emit_move_insn_1, at expr.c:2975 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.altlinux.ru/> for instructions. $ >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="test-templ-static-memb.cc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="test-templ-static-memb.cc" LyogdGVzdC10ZW1wbC1zdGF0aWMtbWVtYi5jYwogKgogKiBpbXpAYWx0bGludXgucnUsIEFwcmls IDIwMDIuCiAqIAogKiBNeSBnKysgMy4wLjQgZmFpbHMgd2l0aCBhbiBpbnRlcm5hbCBlcnJvciBv biB0aGlzIHNvdXJjZToKCmNkIC9ob21lL2l2YW4vREFUQS90ZW1wL3Rlc3RzL2MvCmcrKyAtV2Fs bCAtYW5zaSAtcGVkYW50aWMgdGVzdC10ZW1wbC1zdGF0aWMtbWVtYi5jYwp0ZXN0LXRlbXBsLXN0 YXRpYy1tZW1iLmNjOiBJbiBmdW5jdGlvbiBgdm9pZCAKICAgX19zdGF0aWNfaW5pdGlhbGl6YXRp b25fYW5kX2Rlc3RydWN0aW9uXzAoa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kOgoqLwo=
next reply other threads:[~2002-04-23 13:56 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-04-23 6:56 imz [this message] 2002-04-23 9:26 Ivan Zakharyaschev 2002-04-24 20:07 rodrigc
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=20020423135214.29874.qmail@sources.redhat.com \ --to=imz@altlinux.ru \ --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).