public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/56185] New: [4.7 Regression] ICE for Arithmetic exception with -O2 and -fgraphite
@ 2013-02-02 20:00 daniel.f.starke at freenet dot de
  2013-02-03 16:25 ` [Bug middle-end/56185] " daniel.f.starke at freenet dot de
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: daniel.f.starke at freenet dot de @ 2013-02-02 20:00 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56185
           Summary: [4.7 Regression] ICE for Arithmetic exception with -O2
                    and -fgraphite
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: daniel.f.starke@freenet.de


I get an "internal compiler error: Arithmetic exception" for:
//////////////////////////////////////////////
#define ARRAY_SIZE 6

void bug(int var[ARRAY_SIZE]) {
    int i;

    for (i = 0; i < ARRAY_SIZE; i++) {
        var[i] = i;
    }
}
//////////////////////////////////////////////
if ARRAY_SIZE is >= 6 when compiling it with
x86_64-w64-mingw32-gcc -O2 -fgraphite -c
or
x86_64-w64-mingw32-gcc -O3 -fgraphite -c

Using built-in specs.
COLLECT_GCC=D:\Programme\msys\mingw64\bin\x86_64-w64-mingw32-gcc.exe
COLLECT_LTO_WRAPPER=d:/programme/msys/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.7.2/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../../src/gcc-4.7.2/configure --enable-languages=c,c++
--disable-nls --disable-shared --enable-static --enable-lto --enable-libgomp
--with-dwarf2 --disable-win32-registry --enable-version-specific-runtime-libs
--prefix=/mingw64 --with-sysroot=/mingw64 --target=x86_64-w64-mingw32
--enable-targets=all --with-gmp=/usr/new-cross-gcc/lib/gmp-5.0.2
--with-mpfr=/usr/new-cross-gcc/lib/mpfr-2.4.2
--with-mpc=/usr/new-cross-gcc/lib/mpc-0.9
--with-ppl=/usr/new-cross-gcc/lib/ppl-0.11.2
--with-cloog=/usr/new-cross-gcc/lib/cloog-parma-0.16.1
--with-host-libstdcxx='-lstdc++ -lsupc++' --enable-cloog-backend=ppl
Thread model: win32
gcc version 4.7.2 (GCC)

Build with:
binutils-2.22
mingw-w64-v2.0.7


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-06-12 13:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-02 20:00 [Bug middle-end/56185] New: [4.7 Regression] ICE for Arithmetic exception with -O2 and -fgraphite daniel.f.starke at freenet dot de
2013-02-03 16:25 ` [Bug middle-end/56185] " daniel.f.starke at freenet dot de
2013-02-04  9:56 ` rguenth at gcc dot gnu.org
2013-02-05 19:43 ` daniel.f.starke at freenet dot de
2013-02-06  9:59 ` rguenth at gcc dot gnu.org
2013-02-07  6:44 ` daniel.f.starke at freenet dot de
2013-02-13 21:09 ` daniel.f.starke at freenet dot de
2013-04-11  7:59 ` rguenth at gcc dot gnu.org
2014-01-17 12:34 ` rguenth at gcc dot gnu.org
2014-06-12 13:24 ` rguenth at gcc dot gnu.org

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).