https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67756
Bug ID: 67756 Summary: ICE compiling Linux Kernel fs/namei.c on ARM Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: bernd.edlinger at hotmail dot de Target Milestone: --- arm-linux-gnueabihf-gcc -v Using built-in specs. COLLECT_GCC=arm-linux-gnueabihf-gcc COLLECT_LTO_WRAPPER=/home/ed/gnu/arm-linux-gnueabihf-linux64/libexec/gcc/arm-linux-gnueabihf/6.0.0/lto-wrapper Target: arm-linux-gnueabihf Configured with: ../gcc-6-20150927/configure --prefix=/home/ed/gnu/arm-linux-gnueabihf-linux64 --target=arm-linux-gnueabihf --enable-languages=c,c++,fortran,ada --with-arch=armv7-a --with-tune=cortex-a9 --with-fpu=vfpv3-d16 --with-float=hard Thread model: posix gcc version 6.0.0 20150927 (experimental) (GCC) arm-linux-gnueabihf-gcc -Wp,-MD,fs/.namei.o.d -nostdinc -isystem /home/ed/gnu/arm-linux-gnueabihf-linux64/lib/gcc/arm-linux-gnueabihf/6.0.0/include -I./arch/arm/include -Iarch/arm/include/generated -Iinclude -I./arch/arm/include/uapi -Iarch/arm/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-dwarf2-cfi-asm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=aapcs-linux -mno-thumb-interwork -mfpu=vfp -funwind-tables -marm -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -g -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(namei)" -D"KBUILD_MODNAME=KBUILD_STR(namei)" -c -o fs/namei.o fs/namei.c fs/namei.c: In function 'vfs_link': fs/namei.c:3934:1: error: insn does not satisfy its constraints: } ^ (insn 85 281 86 12 (parallel [ (set (reg/v:SI 1 r1 [orig:113 max_links ] [113]) (and:SI (ne:SI (reg/v:SI 1 r1 [orig:113 max_links ] [113]) (const_int 0 [0])) (leu:SI (reg/v:SI 1 r1 [orig:113 max_links ] [113]) (reg:SI 2 r2 [orig:125 _25 ] [125])))) (clobber (reg:CC 100 cc)) ]) fs/namei.c:3917 262 {*and_scc_scc_nodom} (nil)) fs/namei.c:3934:1: internal compiler error: in extract_constrain_insn, at recog.c:2200 0xa3db48 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) ../../gcc-6-20150927/gcc/rtl-error.c:109 0xa3db6f _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) ../../gcc-6-20150927/gcc/rtl-error.c:120 0xa1028d extract_constrain_insn(rtx_insn*) ../../gcc-6-20150927/gcc/recog.c:2200 0x9efc9d reload_cse_simplify_operands ../../gcc-6-20150927/gcc/postreload.c:408 0x9f29b5 reload_cse_simplify ../../gcc-6-20150927/gcc/postreload.c:194 0x9f29b5 reload_cse_regs_1 ../../gcc-6-20150927/gcc/postreload.c:233 0x9f2acb reload_cse_regs ../../gcc-6-20150927/gcc/postreload.c:81 0x9f2acb execute ../../gcc-6-20150927/gcc/postreload.c:2350 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.