Bug 79063 - GCC Master fails to build for sh
Summary: GCC Master fails to build for sh
Status: RESOLVED DUPLICATE of bug 78633
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 7.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-11 17:54 UTC by Joel Sherrill
Modified: 2017-01-11 18:41 UTC (History)
0 users

See Also:
Host:
Target: sh-rtems sh-elf
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Sherrill 2017-01-11 17:54:01 UTC
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.
Comment 1 Joseph S. Myers 2017-01-11 18:41:47 UTC
Duplicate.

*** This bug has been marked as a duplicate of bug 78633 ***