public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: jeff@jeff.ath.cx To: gcc-gnats@gcc.gnu.org Subject: other/4956: Strange error while trying to compile large defined 3d arrays Date: Wed, 21 Nov 2001 05:06:00 -0000 [thread overview] Message-ID: <20011127151947.26745.qmail@sourceware.cygnus.com> (raw) >Number: 4956 >Category: other >Synopsis: Strange error while trying to compile large defined 3d arrays >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: accepts-illegal >Submitter-Id: net >Arrival-Date: Tue Nov 27 07:26:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Jeff Evans >Release: 2.95.3 >Organization: >Environment: FreeBSD 4.3-Release >Description: When trying to compile a large 3d array, you get the error message: array too large But when you compile the code below, you get this error message: [jeff@jeff:~] gcc -o t t.c t.c: In function `main': t.c:4: Internal compiler error in `assign_stack_temp_for_type', at function.c:940 Please submit a full bug report. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. int main(){ int blah[1000][1000][1000]; scanf("%d",blah); return 0; } >How-To-Repeat: I haven't tested it on any other architecture/OS, but you should be able to repeat it on FreeBSD 4.3-Release by attempting to compile code with the correct 3d array size. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2001-11-27 15:26 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-11-21 5:06 jeff [this message] -- strict thread matches above, loose matches on Subject: below -- 2002-12-03 11:38 bangerth 2001-11-21 5:06 Andrew Pinski
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=20011127151947.26745.qmail@sourceware.cygnus.com \ --to=jeff@jeff.ath.cx \ --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).