public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/3153: stack allocated array compiler bug
@ 2001-06-12 18:06 erik
  0 siblings, 0 replies; 3+ messages in thread
From: erik @ 2001-06-12 18:06 UTC (permalink / raw)
  To: gcc-gnats; +Cc: allen

>Number:         3153
>Category:       c++
>Synopsis:       stack allocated array compiler bug
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 12 18:06:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Erik Smith
>Release:        2.95.3
>Organization:
>Environment:
Red Hat Linux 2.4.X
>Description:
The right combination of templates and a static array allocation causes a compiler bug.   I created a 35 line program which reproduces the result (attached).  There are no includes at all and is unrelated to the standard library.  The GCC error is:

Internal compiler error in `assign_stack_temp_for_type', at function.c:937
>How-To-Repeat:
gcc -c bug.cpp
>Fix:
Unknown
>Release-Note:
>Audit-Trail:
>Unformatted:


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

* Re: c++/3153: stack allocated array compiler bug
@ 2001-06-15 16:17 rodrigc
  0 siblings, 0 replies; 3+ messages in thread
From: rodrigc @ 2001-06-15 16:17 UTC (permalink / raw)
  To: allen, rodrigc, erik, gcc-bugs, gcc-prs, nobody

Synopsis: stack allocated array compiler bug

State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Fri Jun 15 16:17:07 2001
State-Changed-Why:
    Received sample test case.
    It compiles fine with gcc 3.0

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


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

* Re: c++/3153: stack allocated array compiler bug
@ 2001-06-14 19:11 rodrigc
  0 siblings, 0 replies; 3+ messages in thread
From: rodrigc @ 2001-06-14 19:11 UTC (permalink / raw)
  To: allen, rodrigc, erik, gcc-bugs, gcc-prs, nobody

Synopsis: stack allocated array compiler bug

State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Thu Jun 14 19:11:53 2001
State-Changed-Why:
    This bug report does not contain a test case.
    Can you give me your test case which causes the compiler failure?

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


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

end of thread, other threads:[~2001-06-15 16:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-12 18:06 c++/3153: stack allocated array compiler bug erik
2001-06-14 19:11 rodrigc
2001-06-15 16:17 rodrigc

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