public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: erik@infocruiser.com
To: gcc-gnats@gcc.gnu.org
Cc: allen@infocruiser.com
Subject: c++/3153: stack allocated array compiler bug
Date: Tue, 12 Jun 2001 18:06:00 -0000	[thread overview]
Message-ID: <20010613005637.21443.qmail@sourceware.cygnus.com> (raw)

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


             reply	other threads:[~2001-06-12 18:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-12 18:06 erik [this message]
2001-06-14 19:11 rodrigc
2001-06-15 16:17 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=20010613005637.21443.qmail@sourceware.cygnus.com \
    --to=erik@infocruiser.com \
    --cc=allen@infocruiser.com \
    --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: link
Be 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).