From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28850 invoked by alias); 27 Nov 2001 15:26:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 28820 invoked by uid 71); 27 Nov 2001 15:26:01 -0000 Resent-Date: 27 Nov 2001 15:26:01 -0000 Resent-Message-ID: <20011127152601.28819.qmail@sourceware.cygnus.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, jeff@jeff.ath.cx Received:(qmail 26746 invoked by uid 61); 27 Nov 2001 15:19:47 -0000 Message-Id:<20011127151947.26745.qmail@sourceware.cygnus.com> Date: Wed, 21 Nov 2001 05:06:00 -0000 From: jeff@jeff.ath.cx Reply-To: jeff@jeff.ath.cx To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.2 (1.1.1.1.2.21) Subject: other/4956: Strange error while trying to compile large defined 3d arrays X-SW-Source: 2001-11/txt/msg00666.txt.bz2 List-Id: >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 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: