From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3010 invoked by alias); 21 Oct 2010 09:43:23 -0000 Received: (qmail 3000 invoked by uid 22791); 21 Oct 2010 09:43:22 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,MISSING_MID X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 21 Oct 2010 09:43:16 +0000 From: "mikpe at it dot uu.se" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/46112] internal compiler error X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mikpe at it dot uu.se X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 21 Oct 2010 09:43:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-10/txt/msg01763.txt.bz2 Message-ID: <20101021094300.uHpGpb4qTOFjx011i68ojNcw0A2OERwS4jDHpsPYj8k@z> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46112 Mikael Pettersson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikpe at it dot uu.se --- Comment #1 from Mikael Pettersson 2010-10-21 09:43:04 UTC --- Confirmed on i686-pc-linux-gnu (msp430 doesn't seem to be a supported target in upstream gcc). > cat pr46112.c static char e1_mylongtag[100] = {[0 ... (100 -1)]=" "}; > objdir/gcc/xgcc -Bobjdir/gcc -S pr46112.c pr46112.c:1:1: internal compiler error: in pop_init_level, at c-typeck.c:6930 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. > objdir/gcc/xgcc -Bobjdir/gcc -v Reading specs from objdir/gcc/specs COLLECT_GCC=objdir/gcc/xgcc COLLECT_LTO_WRAPPER=objdir/gcc/lto-wrapper Target: i686-pc-linux-gnu Configured with: /tmp/gcc-4.6-20101016/configure --prefix=/home/mikpe/pkgs/linux-x86/gcc-4.6.0 --with-gmp=/home/mikpe/pkgs/linux-x86/gmp-4.3.2 --with-mpfr=/home/mikpe/pkgs/linux-x86/mpfr-2.4.2 --with-mpc=/home/mikpe/pkgs/linux-x86/mpc-0.8.2 --disable-plugin --disable-lto --disable-nls --disable-shared --disable-libmudflap --enable-threads=posix --enable-checking=release --enable-languages=c Thread model: posix gcc version 4.6.0 20101016 (experimental) (GCC) ICEs every gcc from 4.6 down to 3.2.3, but 2.95.3 works. Given the source I'm guessing this is ice-on-invalid-code.