public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mikpe at it dot uu.se" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/46112] internal compiler error
Date: Thu, 21 Oct 2010 09:43:00 -0000	[thread overview]
Message-ID: <20101021094300.uHpGpb4qTOFjx011i68ojNcw0A2OERwS4jDHpsPYj8k@z> (raw)
In-Reply-To: <bug-46112-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46112

Mikael Pettersson <mikpe at it dot uu.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpe at it dot uu.se

--- Comment #1 from Mikael Pettersson <mikpe at it dot uu.se> 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 <http://gcc.gnu.org/bugs.html> 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.


  reply	other threads:[~2010-10-21  9:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-21  8:23 [Bug c/46112] New: " k.schoenmakers at sigmae dot nl
2010-10-21  9:43 ` mikpe at it dot uu.se [this message]
2010-10-27 20:59 ` [Bug c/46112] " pinskia at gcc dot gnu.org
2014-02-05 20:09 ` mpolacek at gcc dot gnu.org

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=20101021094300.uHpGpb4qTOFjx011i68ojNcw0A2OERwS4jDHpsPYj8k@z \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).