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 tree-optimization/69232] New: floop-unroll-and-jam, at graphite_transform_loops with isl


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

            Bug ID: 69232
           Summary: floop-unroll-and-jam, at graphite_transform_loops with
                    isl
           Product: gcc
           Version: 5.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nickpapior at gmail dot com
  Target Milestone: ---

Created attachment 37308
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37308&action=edit
Source code to recreate error

Compiling the attached code will produce an internal compiler error.

The error message is:

../isl_ctx.c:245: isl_ctx freed, but some objects still reference it
bessph.f:7:0:

       FUNCTION BESSPH (L,X)
 ^
internal compiler error: Aborted
0xa87146 crash_signal
        ../../gcc/toplev.c:383
0xfad1e9 graphite_transform_loops()
        ../../gcc/graphite.c:319
0xfad650 graphite_transforms
        ../../gcc/graphite.c:339
0xfad650 execute
        ../../gcc/graphite.c:420

Error arises after compiling the attached file with:

gfortran -c -O2 -floop-interchange -floop-unroll-and-jam bessph.f

no error at -O1.

Tested on two systems.

System 1 (5.2.0):
##### GCC version and configure options
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/generic/gcc/5.2.0/libexec/gcc/x86_64-unknown-linux-gnu/5.2.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --prefix /opt/generic/gcc/5.2.0
--with-gmp=/opt/generic/gmp/6.0.0a --with-mpfr=/opt/generic/mpfr/3.1.3
--with-mpc=/opt/generic/mpc/1.0.3 --with-isl=/opt/generic/isl/0.15 --enable-lto
--enable-threads --enable-stage1-languages=c,c++,fortran,go,objc,obj-c++
--with-multilib-list=m64
Thread model: posix
gcc version 5.2.0 (GCC) 

#### System
Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u1 (2015-12-14) x86_64
unknown


System 2 (5.3.0)
##### GCC version and configure options
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/2016-jan/generic/gcc/5.3.0/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --prefix /opt/2016-jan/generic/gcc/5.3.0
--with-gmp=/opt/2016-jan/generic/gmp/6.1.0
--with-mpfr=/opt/2016-jan/generic/mpfr/3.1.3
--with-mpc=/opt/2016-jan/generic/mpc/1.0.3
--with-isl=/opt/2016-jan/generic/isl/0.15 --enable-lto --enable-threads
--enable-stage1-languages=c,c++,fortran,go,objc,obj-c++
--with-multilib-list=m64
Thread model: posix
gcc version 5.3.0 (GCC) 


##### System
Linux 2.6.32-279.14.1.el6.x86_64 #1 SMP Tue Nov 6 23:43:09 UTC 2012 x86_64
x86_64

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