public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/67984] New: "internal compiler error:" with lot of loop optimizations enabled
@ 2015-10-16  6:33 inferrna at gmail dot com
  2015-10-16  7:04 ` [Bug c/67984] " inferrna at gmail dot com
  0 siblings, 1 reply; 2+ messages in thread
From: inferrna at gmail dot com @ 2015-10-16  6:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67984

            Bug ID: 67984
           Summary: "internal compiler error:" with lot of loop
                    optimizations enabled
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: inferrna at gmail dot com
  Target Milestone: ---

Compiler output:

$ gcc dcttest.c -O3 -ftree-loop-vectorize -ftree-loop-distribution
-ftree-parallelize-loops=4  -floop-nest-optimize -floop-interchange 
-floop-strip-mine -floop-block -floop-unroll-and-jam -ftree-loop-ivcanon 
-ftree-loop-if-convert -march=native -lOpenCL -lm -v -save-temps -o dcttest
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc-5.real
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.2.1-22ubuntu1'
--with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs
--enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-5 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib
--disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686
--with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib
--with-tune=generic --enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu1) 
COLLECT_GCC_OPTIONS='-O3' '-ftree-loop-vectorize' '-ftree-loop-distribution'
'-ftree-parallelize-loops=4' '-floop-nest-optimize' '-floop-interchange'
'-floop-strip-mine' '-floop-block' '-floop-unroll-and-jam'
'-ftree-loop-ivcanon' '-ftree-loop-if-convert' '-march=native' '-v'
'-save-temps' '-o' 'dcttest' '-pthread'
 /usr/lib/gcc/x86_64-linux-gnu/5/cc1 -E -quiet -v -imultiarch x86_64-linux-gnu
-D_REENTRANT dcttest.c -march=haswell -mmmx -mno-3dnow -msse -msse2 -msse3
-mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mabm
-mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -mbmi2 -mno-tbm -mavx -mavx2 -msse4.2
-msse4.1 -mlzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mno-rdseed
-mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er
-mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec
-mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma
-mno-avx512vbmi -mno-clwb -mno-pcommit -mno-mwaitx --param l1-cache-size=32
--param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=haswell
-ftree-loop-vectorize -ftree-loop-distribution -ftree-parallelize-loops=4
-floop-nest-optimize -floop-interchange -floop-strip-mine -floop-block
-floop-unroll-and-jam -ftree-loop-ivcanon -ftree-loop-if-convert -O3
-fpch-preprocess -fstack-protector-strong -Wformat -Wformat-security -o
dcttest.i
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory
"/usr/lib/gcc/x86_64-linux-gnu/5/../../../../x86_64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc/x86_64-linux-gnu/5/include
 /usr/local/include
 /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed
 /usr/include/x86_64-linux-gnu
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-O3' '-ftree-loop-vectorize' '-ftree-loop-distribution'
'-ftree-parallelize-loops=4' '-floop-nest-optimize' '-floop-interchange'
'-floop-strip-mine' '-floop-block' '-floop-unroll-and-jam'
'-ftree-loop-ivcanon' '-ftree-loop-if-convert' '-march=native' '-v'
'-save-temps' '-o' 'dcttest' '-pthread'
 /usr/lib/gcc/x86_64-linux-gnu/5/cc1 -fpreprocessed dcttest.i -march=haswell
-mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe
-maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi
-mbmi2 -mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle
-mrdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave
-mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf
-mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq
-mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-clwb
-mno-pcommit -mno-mwaitx --param l1-cache-size=32 --param l1-cache-line-size=64
--param l2-cache-size=3072 -mtune=haswell -quiet -dumpbase dcttest.c -auxbase
dcttest -O3 -version -ftree-loop-vectorize -ftree-loop-distribution
-ftree-parallelize-loops=4 -floop-nest-optimize -floop-interchange
-floop-strip-mine -floop-block -floop-unroll-and-jam -ftree-loop-ivcanon
-ftree-loop-if-convert -fstack-protector-strong -Wformat -Wformat-security -o
dcttest.s
GNU C11 (Ubuntu 5.2.1-22ubuntu1) version 5.2.1 20151010 (x86_64-linux-gnu)
        compiled by GNU C version 5.2.1 20151010, GMP version 6.0.0, MPFR
version 3.1.3, MPC version 1.0.3
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C11 (Ubuntu 5.2.1-22ubuntu1) version 5.2.1 20151010 (x86_64-linux-gnu)
        compiled by GNU C version 5.2.1 20151010, GMP version 6.0.0, MPFR
version 3.1.3, MPC version 1.0.3
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 9409523c5fa3a514e2288304b63bc1e9
dcttest.c: In function 'get_ms':
dcttest.c:138:5: warning: implicit declaration of function 'gettimeofday'
[-Wimplicit-function-declaration]
     gettimeofday(&tv, NULL);
     ^
dcttest.c: In function 'main':
dcttest.c:375:16: warning: format '%d' expects argument of type 'int', but
argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=]
         printf("Computed '%d/%d' correct values!\n", correct, i);
                ^
isl_ctx.c:245: isl_ctx freed, but some objects still reference it
dcttest.c: In function 'dct_ii':
dcttest.c:121:6: internal compiler error: Aborted
 void dct_ii(int N, float *x, float *X) {         
      ^
0x9c5abf crash_signal
        ../../src/gcc/toplev.c:383
0xec5cf3 graphite_transform_loops()
        ../../src/gcc/graphite.c:318
0xec6150 graphite_transforms
        ../../src/gcc/graphite.c:338
0xec6150 execute
        ../../src/gcc/graphite.c:419
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.


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

* [Bug c/67984] "internal compiler error:" with lot of loop optimizations enabled
  2015-10-16  6:33 [Bug c/67984] New: "internal compiler error:" with lot of loop optimizations enabled inferrna at gmail dot com
@ 2015-10-16  7:04 ` inferrna at gmail dot com
  0 siblings, 0 replies; 2+ messages in thread
From: inferrna at gmail dot com @ 2015-10-16  7:04 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67984

--- Comment #1 from inferrna <inferrna at gmail dot com> ---
Created attachment 36523
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36523&action=edit
*.i file compressed

Additional info:
My system is Ubuntu 15.10

gcc --version
gcc-5.real (Ubuntu 5.2.1-22ubuntu1) 5.2.1 20151010
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


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

end of thread, other threads:[~2015-10-16  7:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-16  6:33 [Bug c/67984] New: "internal compiler error:" with lot of loop optimizations enabled inferrna at gmail dot com
2015-10-16  7:04 ` [Bug c/67984] " inferrna at gmail dot com

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