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 middle-end/64392] New: ICE: in pdr_stride_in_loop, at graphite-interchange.c:261 (isl_val_gmp.c:47: expecting rational value) with -floop-interchange -floop-strip-mine --param=loop-block-tile-size=0


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

            Bug ID: 64392
           Summary: ICE: in pdr_stride_in_loop, at
                    graphite-interchange.c:261 (isl_val_gmp.c:47:
                    expecting rational value) with -floop-interchange
                    -floop-strip-mine --param=loop-block-tile-size=0
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz

Created attachment 34325
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34325&action=edit
reduced testcase

Compiler output:
$ gcc -O2 -floop-interchange -floop-strip-mine --param=loop-block-tile-size=0
testcase.c 
/var/tmp/portage/dev-libs/isl-0.12.2/work/isl-0.12.2/isl_val_gmp.c:47:
expecting rational value
testcase.c: In function 'foo':
testcase.c:4:1: internal compiler error: Aborted
 foo (void)
 ^
0xc5819f crash_signal
        /mnt/svn/gcc-trunk/gcc/toplev.c:359
0x17581b9 pdr_stride_in_loop
        /mnt/svn/gcc-trunk/gcc/graphite-interchange.c:261
0x17581b9 memory_strides_in_loop_1
        /mnt/svn/gcc-trunk/gcc/graphite-interchange.c:293
0x17627d4 lst_interchange_profitable_p
        /mnt/svn/gcc-trunk/gcc/graphite-interchange.c:410
0x17627d4 lst_try_interchange_loops
        /mnt/svn/gcc-trunk/gcc/graphite-interchange.c:547
0x17627d4 lst_interchange_select_inner
        /mnt/svn/gcc-trunk/gcc/graphite-interchange.c:610
0x17655bf lst_interchange_select_outer
        /mnt/svn/gcc-trunk/gcc/graphite-interchange.c:636
0x176560d lst_interchange_select_outer
        /mnt/svn/gcc-trunk/gcc/graphite-interchange.c:646
0x176567b scop_do_interchange(scop*)
        /mnt/svn/gcc-trunk/gcc/graphite-interchange.c:658
0x168c65a apply_poly_transforms(scop*)
        /mnt/svn/gcc-trunk/gcc/graphite-poly.c:272
0x1687783 graphite_transform_loops()
        /mnt/svn/gcc-trunk/gcc/graphite.c:302
0x1687db0 graphite_transforms
        /mnt/svn/gcc-trunk/gcc/graphite.c:331
0x1687db0 execute
        /mnt/svn/gcc-trunk/gcc/graphite.c:412
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r219043 - ICE


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