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

--- Comment #6 from Ryan Mansfield <rmansfield at qnx dot com> 2011-08-10 
20:02:15 UTC ---
May be separate issue but I'm seeing the same ICE (gcc_unreachable in
arm_dbx_register_number) with an gnueabi configuration with the following
testcase.

$ cat ~/ice.i
static unsigned char dwarf_reg_size_table[128 + 1];

static void foo ()
{
  __builtin_init_dwarf_reg_size_table (dwarf_reg_size_table);
}
$ ./xgcc -v
Using built-in specs.
COLLECT_GCC=./xgcc
Target: arm-unknown-linux-gnueabi
Configured with: ../configure --target=arm-unknown-linux-gnueabi
--prefix=/home/ryan/x-tools/arm-unknown-linux-gnueabi
--with-sysroot=/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi//sys-root
--disable-multilib
--with-local-prefix=/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sys-root
--disable-nls --enable-threads=posix --enable-symvers=gnu --enable-c99
--enable-long-long --enable-target-optspace
target_alias=arm-unknown-linux-gnueabi --enable-languages=c++ --disable-shared
--disable-libmudflap --disable-libssp
Thread model: posix
gcc version 4.7.0 20110810 (experimental) [trunk revision 177632] (GCC) 
$ ./xgcc -B. ~/ice.i -g
/home/ryan/ice.i: In function 'foo':
/home/ryan/ice.i:5:39: internal compiler error: in arm_dbx_register_number, at
config/arm/arm.c:22866
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to