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

           Summary: ICE in dwarf2out_var_location, at dwarf2out.c:22585
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: al...@gcc.gnu.org


mips-oe-linux-uclibc-gcc -march=mips32 -pthread -fexpensive-optimizations
-fomit-frame-pointer -frename-registers -Os -pipe -g -c mem-overflow.7.i -o
foo.o
mem-overflow.7.i: In function 'main':
mem-overflow.7.i:21:1: internal compiler error: in dwarf2out_var_location, at
dwarf2out.c:22585
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
{standard input}: Assembler messages:
{standard input}:64: Warning: missing .end at end of assembly
{standard input}:64: Error: open CFI at the end of file; missing .cfi_endproc
directive
b@nbbrf:/scratch/obj.x86_64/reduce$ cat mem-overflow.7.i 
#pragma GCC optimize (1)
typedef int gint;
typedef unsigned long gulong;
struct _GTimeVal
{
};
g_bit_nth_lsf (gulong mask,
        gint nth_bit)
{
    union
      {
 struct
   {
   } _sigpoll;
 } __sigaction_handler;
};
main (int argc,
      char *argv[])
{
  return g_test_run();
}





trunk r173242,

mips-oe-linux-uclibc-gcc -v
Using built-in specs.
COLLECT_GCC=mips-oe-linux-uclibc-gcc
COLLECT_LTO_WRAPPER=/scratch/obj.x86_64/oe/build/tmp/sysroots/x86_64-linux/mips/libexec/gcc/mips-oe-linux-uclibc/4.7.0/lto-wrapper
Target: mips-oe-linux-uclibc
Configured with:
/scratch/obj.x86_64/oe/build/tmp/work/mips-oe-linux-uclibc/gcc-cross-4.6+svnr173242-r1.1/trunk/configure
--build=x86_64-linux --host=x86_64-linux --target=mips-oe-linux-uclibc
--prefix=/scratch/obj.x86_64/oe/build/tmp/sysroots/x86_64-linux/mips
--exec_prefix=/scratch/obj.x86_64/oe/build/tmp/sysroots/x86_64-linux/mips
--bindir=/scratch/obj.x86_64/oe/build/tmp/sysroots/x86_64-linux/mips/bin
--sbindir=/scratch/obj.x86_64/oe/build/tmp/sysroots/x86_64-linux/mips/bin
--libexecdir=/scratch/obj.x86_64/oe/build/tmp/sysroots/x86_64-linux/mips/libexec
--datadir=/scratch/obj.x86_64/oe/build/tmp/sysroots/x86_64-linux/mips/share
--sysconfdir=/scratch/obj.x86_64/oe/build/tmp/sysroots/x86_64-linux/etc
--sharedstatedir=/scratch/obj.x86_64/oe/build/tmp/sysroots/x86_64-linux/com
--localstatedir=/scratch/obj.x86_64/oe/build/tmp/sysroots/x86_64-linux/var
--libdir=/scratch/obj.x86_64/oe/build/tmp/sysroots/x86_64-linux/mips/lib
--includedir=/scratch/obj.x86_64/oe/build/tmp/sysroots/x86_64-linux/mips/include
--oldincludedir=/scratch/obj.x86_64/oe/build/tmp/sysroots/x86_64-linux/mips/include
--infodir=/scratch/obj.x86_64/oe/build/tmp/sysroots/x86_64-linux/mips/share/info
--mandir=/scratch/obj.x86_64/oe/build/tmp/sysroots/x86_64-linux/mips/share/man
--with-libtool-sysroot --disable-largefile --disable-ipv6 --disable-nls
--enable-clocale=generic --with-gnu-ld --enable-shared --enable-languages=c,c++
--enable-threads=posix --disable-multilib --enable-c99 --enable-long-long
--enable-symvers=gnu --enable-libstdcxx-pch
--program-prefix=mips-oe-linux-uclibc- --enable-target-optspace --enable-libssp
--disable-bootstrap --disable-libgomp --disable-libmudflap
--with-sysroot=/scratch/obj.x86_64/oe/build/tmp/sysroots/mips-oe-linux-uclibc
--with-build-sysroot=/scratch/obj.x86_64/oe/build/tmp/sysroots/mips-oe-linux-uclibc
--with-build-time-tools=/scratch/obj.x86_64/oe/build/tmp/sysroots/x86_64-linux/mips/bin
--disable-libunwind-exceptions
--with-mpfr=/scratch/obj.x86_64/oe/build/tmp/sysroots/x86_64-linux
--with-system-zlib --disable-decimal-float
--program-prefix=mips-oe-linux-uclibc- --disable-__cxa_atexit --disable-nls
Thread model: posix
gcc version 4.7.0 20110502 (experimental) (GCC)

Reply via email to