From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4749 invoked by alias); 19 Apr 2005 14:36:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 4694 invoked by uid 48); 19 Apr 2005 14:36:15 -0000 Date: Tue, 19 Apr 2005 14:36:00 -0000 From: "e9925248 at stud4 dot tuwien dot ac dot at" To: gcc-bugs@gcc.gnu.org Message-ID: <20050419143606.21107.e9925248@stud4.tuwien.ac.at> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c/21107] New: internal compiler error: in expand_one_stack_var_at, at cfgexpand.c:476 X-Bugzilla-Reason: CC X-SW-Source: 2005-04/txt/msg02555.txt.bz2 List-Id: If Pmode is smaller than the HOST_BITS_PER_WIDE_INT (ie for i686 as host all targets, which use HImode or QImode as Pmode), a stack overflow produce the following internal compiler error: $./cc1 t4.c check1972 /homes/mkoegler/m68hc05/src/host-i686-pc-linux-gnu/gcc/test/t4.c: In function 'check1972': /homes/mkoegler/m68hc05/src/host-i686-pc-linux-gnu/gcc/test/t4.c:7: internal compiler error: in expand_one_stack_var_at, at cfgexpand.c:476 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. $cat t4.c union S1972 { char b[24000]; }; void check1972 () { union S1972 ret; union S1972 b1; union S1972 b2; } $./cc1 --version GNU C version 4.1.0 20050416 (experimental) (avr) compiled by GNU C version 4.1.0 20050302 (experimental). GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 -- Summary: internal compiler error: in expand_one_stack_var_at, at cfgexpand.c:476 Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: e9925248 at stud4 dot tuwien dot ac dot at CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: avr-unknown-none http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21107