public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: "Djalil Chafai" <djalil.chafai@laposte.net> To: gcc-gnats@gcc.gnu.org, debian-gcc@lists.debian.org Subject: c++/8977: g++ 3.2.2: problem with code using templates args Date: Tue, 17 Dec 2002 04:56:00 -0000 [thread overview] Message-ID: <20021217124555.2812.qmail@sakapuss> (raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 2305 bytes --] >Number: 8977 >Category: c++ >Synopsis: g++ 3.2.2 unable to compile some code with template args >Confidential: no >Severity: serious >Priority: low >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Dec 17 04:56:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Djalil CHAFAI >Release: 3.2.2 20021212 (Debian prerelease) (Debian testing/unstable) >Organization: Mathematical Institute of University of Oxford >Environment: System: Linux sakapuss 2.4.20-presario #1 jeu déc 12 11:23:52 GMT 2002 i686 unknown Architecture: i686 host: i386-pc-linux-gnu build: i386-pc-linux-gnu target: i386-pc-linux-gnu configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,pascal,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm --enable-objc-gc i386-linux >Description: A small piece of code using templates args with explicit types fails to compile with g++ 3.2 (parse error), whereas it compiles fine with g++ 3.0 and Intel C++ 7. >How-To-Repeat: begin-base64 744 test.cpp I2luY2x1ZGUgPHZlY3Rvcj4KI2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRl IDxpb3N0cmVhbT4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCnRlbXBsYXRlPHR5 cGVuYW1lIFQsIHR5cGVuYW1lIHZlY3RvcjxUPjo6c2l6ZV90eXBlIGRpbT4g Y2xhc3MgdGVzdCB7CglwdWJsaWM6CgkJdmVjdG9yPFQ+IGRhdGE7CglwdWJs aWM6CgkJdmlydHVhbCB+dGVzdCh2b2lkKSB7fTsKCQl0ZXN0KFQgdmFsKSB7 IGRhdGEucmVzaXplKGRpbSx2YWwpOyB9Owp9OwoKdGVtcGxhdGU8dHlwZW5h bWUgVCwgdHlwZW5hbWUgdmVjdG9yPFQ+OjpzaXplX3R5cGUgZGltPiAKb3N0 cmVhbSYgb3BlcmF0b3I8PChvc3RyZWFtJiBvcywgY29uc3QgdGVzdDxULCBk aW0+ICYgcmhzKQp7CQoJdHlwZWRlZiB0eXBlbmFtZSB2ZWN0b3I8VD46OmNv bnN0X2l0ZXJhdG9yIGl0eXBlOwoJb3N0cmVhbV9pdGVyYXRvcjwgdGVzdDxU LCBkaW0+ID4gaXRPc3RyZWFtKG9zLCIiKTsKCW9zIDw8ICJbIjsKCWZvciAo aXR5cGUgaSA9IHJocy5kYXRhLmJlZ2luKCk7IGkgIT0gcmhzLmRhdGEuZW5k KCk7ICsraSkKCQlvcyA8PCAiOiIgPDwgKmk7CglvcyA8PCAiXSI7CglyZXR1 cm4gb3M7Cn07CgoKaW50IG1haW4oaW50IGFyZ2MsIGNoYXIqIGFyZ3ZbXSkK ewoJdGVzdDxkb3VibGUsMz4gdmFyKDEuNCk7IAoJCgljb3V0IDw8IHZhcjsK CglyZXR1cm4gMDsKfQoK ==== >Fix: >Release-Note: >Audit-Trail: >Unformatted:
reply other threads:[~2002-12-17 12:56 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20021217124555.2812.qmail@sakapuss \ --to=djalil.chafai@laposte.net \ --cc=debian-gcc@lists.debian.org \ --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).