https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84157
Bug ID: 84157 Summary: [8 Regression] [nvptx] ICE: RTL check: expected code 'reg', have 'lshiftrt' Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- $ gcc -O2 -c lrand48.c during RTL pass: combine lrand48.c: In function ‘_lrand48_r’: lrand48.c:985:1: internal compiler error: RTL check: expected code 'reg', have 'lshiftrt' in rhs_regno, at rtl.h:1891 } ^ 0x554b79 rtl_check_failed_code1(rtx_def const*, rtx_code, char const*, int, char const*) source-gcc/gcc/rtl.c:846 0x10e9e40 rhs_regno source-gcc/gcc/rtl.h:1891 0x10e9e40 change_zero_ext source-gcc/gcc/combine.c:11486 0x10ea547 recog_for_combine source-gcc/gcc/combine.c:11601 0x111431a try_combine source-gcc/gcc/combine.c:3595 0x111f865 combine_instructions source-gcc/gcc/combine.c:1299 0x111f865 rest_of_handle_combine source-gcc/gcc/combine.c:14876 0x111f865 execute source-gcc/gcc/combine.c:14921 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.