This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/36532] New: ICE in simplify_subreg at simplify-rtx.c:4484


int main() {
        *"c" = 'x';
}

Compiling the above with just 'gcc asdf.c':

asdf.c: In function â??mainâ??:
asdf.c:2: internal compiler error: in simplify_subreg, at simplify-rtx.c:4484

I've duplicated this on both Windows and Linux, respective 'gcc -v' outputs are
as follows:
--
Using built-in specs.
Target: i686-pc-mingw32
Configured with: ../src/configure --prefix=c:/temp/gcc/dest
--enable-languages=c,c++ --enable-thread
s --disable-nls --disable-win32-registry --disable-sjlj-exceptions
--with-arch=i486 --with-tune=gene
ric --enable-cxx-flags=-fno-function-sections -fno-data-sections
--disable-libstdcxx-pch --disable-s
hared --enable-checking=release --disable-bootstrap
Thread model: win32
gcc version 4.2.1-dw2 (mingw32-2)
--
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr
--enable-targets=all --enable-checking=release --build=i486-linux-gnu
--host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)


-- 
           Summary: ICE in simplify_subreg at simplify-rtx.c:4484
           Product: gcc
           Version: 4.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: matti dot niemenmaa+gccbugs at iki dot fi


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]