public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/8977: g++ 3.2.2: problem with code using templates args
@ 2002-12-17  4:56 Djalil Chafai
  0 siblings, 0 replies; only message in thread
From: Djalil Chafai @ 2002-12-17  4:56 UTC (permalink / raw)
  To: gcc-gnats, debian-gcc

[-- 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:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-17 12:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-17  4:56 c++/8977: g++ 3.2.2: problem with code using templates args Djalil Chafai

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).