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

            Bug ID: 60650
           Summary: [ARM] LRA ICE assign_by_spills
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: yvan.roux at linaro dot org

reported when building linux btrfs module.

slightly reduced preprocessed test case  attached.

command line : 

cc1 -O2 -fno-omit-frame-pointer -mabi=apcs-gnu -march=armv7-a file-item.i

cc1 outputs :

In file included from /git/arm-soc/fs/btrfs/transaction.h:21:0,
                 from /git/arm-soc/fs/btrfs/file-item.c:25:
/git/arm-soc/fs/btrfs/btrfs_inode.h: In function ‘truncate_one_csum’:
/git/arm-soc/fs/btrfs/btrfs_inode.h:214:1: internal compiler error: in
assign_by_spills, at lra-assigns.c:1286
0x9ddf78 assign_by_spills
    /work/sources/gcc-fsf/trunk/gcc/lra-assigns.c:1286
0x9de921 lra_assign()
    /work/sources/gcc-fsf/trunk/gcc/lra-assigns.c:1444
0x9d865a lra(_IO_FILE*)
    /work/sources/gcc-fsf/trunk/gcc/lra.c:2370
0x98669b do_reload
    /work/sources/gcc-fsf/trunk/gcc/ira.c:5457
0x9869e4 rest_of_handle_reload
    /work/sources/gcc-fsf/trunk/gcc/ira.c:5598
0x986a2e execute
    /work/sources/gcc-fsf/trunk/gcc/ira.c:5627

Reply via email to