public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/3433: tree-check fails on int template arg as initializer
@ 2001-06-26 20:36 Paul Burchard
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Burchard @ 2001-06-26 20:36 UTC (permalink / raw)
  To: gcc-gnats; +Cc: burchard

>Number:         3433
>Category:       c++
>Synopsis:       tree-check fails on int template arg as initializer
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 26 20:36:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Paul Burchard
>Release:        3.1 20010626 (experimental)
>Organization:
UCLA
>Environment:
System: Linux aurora.localdomain 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown
Architecture: i686
	Linux 2.4.2-2
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc/configure --prefix=/usr/local
>Description:
	The following code:

		template<unsigned int Dimension>
		struct tensor1 {
			static const unsigned int dimension[1] = { Dimension };
		};

	Yields the internal error:

		bug.cc:3: Tree check: expected integer_cst, have minus_expr in 
		   process_init_constructor, at cp/typeck2.c:680

>How-To-Repeat:
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c++/3433: tree-check fails on int template arg as initializer
@ 2001-08-12  2:01 gdr
  0 siblings, 0 replies; 2+ messages in thread
From: gdr @ 2001-08-12  2:01 UTC (permalink / raw)
  To: burchard, gcc-bugs, gcc-prs, gdr, nobody

Synopsis: tree-check fails on int template arg as initializer

Responsible-Changed-From-To: unassigned->gdr
Responsible-Changed-By: gdr
Responsible-Changed-When: Sun Aug 12 02:01:41 2001
Responsible-Changed-Why:
    Aaaaaaaaaaah.
State-Changed-From-To: open->closed
State-Changed-By: gdr
State-Changed-When: Sun Aug 12 02:01:41 2001
State-Changed-Why:
    Fixed in GCC-3.0.1

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3433&database=gcc


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-08-12  2:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-26 20:36 c++/3433: tree-check fails on int template arg as initializer Paul Burchard
2001-08-12  2:01 gdr

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