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 target/59153] New: ICE: in memory_address_length, at config/i386/i386.c:24617 with -O -flive-range-shrinkage -mdispatch-scheduler -march=bdver1


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

            Bug ID: 59153
           Summary: ICE: in memory_address_length, at
                    config/i386/i386.c:24617 with -O
                    -flive-range-shrinkage -mdispatch-scheduler
                    -march=bdver1
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz

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

Compiler output:
$ gcc -O -flive-range-shrinkage -mdispatch-scheduler -march=bdver1 testcase.c 
testcase.c: In function 'foo':
testcase.c:5:1: internal compiler error: in memory_address_length, at
config/i386/i386.c:24617
 }
 ^
0xd97f06 memory_address_length(rtx_def*, bool)
        /mnt/svn/gcc-trunk/gcc/config/i386/i386.c:24617
0xdc4943 insn_default_length(rtx_def*)
        /mnt/svn/gcc-trunk/gcc/config/i386/i386.md:631
0xd6dc30 min_insn_size
        /mnt/svn/gcc-trunk/gcc/config/i386/i386.c:36340
0xd6ee2f add_to_dispatch_window
        /mnt/svn/gcc-trunk/gcc/config/i386/i386.c:43215
0xd6ee2f do_dispatch
        /mnt/svn/gcc-trunk/gcc/config/i386/i386.c:43381
0x12d1de3 schedule_block(basic_block_def**, void*)
        /mnt/svn/gcc-trunk/gcc/haifa-sched.c:6262
0xa734a7 schedule_region
        /mnt/svn/gcc-trunk/gcc/sched-rgn.c:3057
0xa734a7 schedule_insns
        /mnt/svn/gcc-trunk/gcc/sched-rgn.c:3393
0xa7389b schedule_insns
        /mnt/svn/gcc-trunk/gcc/sched-rgn.c:3378
0xa7389b rest_of_handle_live_range_shrinkage
        /mnt/svn/gcc-trunk/gcc/sched-rgn.c:3587
0xa7389b execute
        /mnt/svn/gcc-trunk/gcc/sched-rgn.c:3677
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.

$ gcc -v                                                                      
Using built-in specs.
COLLECT_GCC=/mnt/svn/gcc-trunk/binary-latest/bin/gcc
COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-204897-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /mnt/svn/gcc-trunk//configure --enable-checking=yes,rtl,df
--enable-languages=c,c++,lto,fortran
--prefix=/mnt/svn/gcc-trunk/binary-204897-lto-fortran-checking-yes-rtl-df/
--without-cloog --without-ppl
Thread model: posix
gcc version 4.9.0 20131116 (experimental) (GCC) 

Tested revisions:
r204897 - crash
4.8 - doesn't know -flive-range-shrinkage


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