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

            Bug ID: 79063
           Summary: GCC Master fails to build for sh
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: joel at gcc dot gnu.org
  Target Milestone: ---

7.0.0 20170111

Nothing particularly special about the build. Just fails early with ICE.

/home/joel/test-gcc/b-sh-elf-gcc/./gcc/xgcc
-B/home/joel/test-gcc/b-sh-elf-gcc/./gcc/ -nostdinc
-B/home/joel/test-gcc/b-sh-elf-gcc/sh-elf/newlib/ -isystem
/home/joel/test-gcc/b-sh-elf-gcc/sh-elf/newlib/targ-include -isystem
/home/joel/test-gcc/gcc/newlib/libc/include
-B/home/joel/test-gcc/b-sh-elf-gcc/sh-elf/libgloss/sh
-L/home/joel/test-gcc/b-sh-elf-gcc/sh-elf/libgloss/libnosys
-L/home/joel/test-gcc/gcc/libgloss/sh
-B/home/joel/test-gcc/install-master/sh-elf/bin/
-B/home/joel/test-gcc/install-master/sh-elf/lib/ -isystem
/home/joel/test-gcc/install-master/sh-elf/include -isystem
/home/joel/test-gcc/install-master/sh-elf/sys-include    -g -O2 -ml -O2  -g -O2
-DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
-isystem ./include   -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector
-Dinhibit_libc  -I. -I. -I../../.././gcc -I../../../../gcc/libgcc
-I../../../../gcc/libgcc/. -I../../../../gcc/libgcc/../gcc
-I../../../../gcc/libgcc/../include  -DHAVE_CC_TLS  -o _mul_df.o -MT _mul_df.o
-MD -MP -MF _mul_df.dep -DFINE_GRAINED_LIBRARIES -DL_mul_df  -c
../../../../gcc/libgcc/fp-bit.c -fvisibility=hidden -DHIDE_EXPORTS
../../../../gcc/libgcc/fp-bit.c: In function '__muldf3':
../../../../gcc/libgcc/fp-bit.c:944:1: error: invalid rtl sharing found in the
insn
 }
 ^
(insn 768 291 296 29 (set (reg:SI 147 t)
        (eq:SI (and:SI (subreg:SI (reg/v:DI 205 [ high ]) 0)
                (const_int 1 [0x1]))
            (const_int 0 [0]))) "../../../../gcc/libgcc/fp-bit.c":881 -1
     (nil))
../../../../gcc/libgcc/fp-bit.c:944:1: error: shared rtx
(subreg:SI (reg/v:DI 205 [ high ]) 0)
../../../../gcc/libgcc/fp-bit.c:944:1: internal compiler error: internal
consistency failure
0x68b8c8 verify_rtx_sharing
        ../../gcc/gcc/emit-rtl.c:2774
0x68b7ef verify_rtx_sharing
        ../../gcc/gcc/emit-rtl.c:2789
0x68b7ef verify_rtx_sharing
        ../../gcc/gcc/emit-rtl.c:2789
0x68b7ef verify_rtx_sharing
        ../../gcc/gcc/emit-rtl.c:2789
0x68bbeb verify_insn_sharing
        ../../gcc/gcc/emit-rtl.c:2860
0x6900e7 verify_rtl_sharing()
        ../../gcc/gcc/emit-rtl.c:2883
0x920acb execute_function_todo
        ../../gcc/gcc/passes.c:1982
0x9214a5 execute_todo
        ../../gcc/gcc/passes.c:2015
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.

Reply via email to