[Bug target/84710] [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Tue Mar 6 10:06:00 GMT 2018


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

--- Comment #7 from Zdenek Sojka <zsojka at seznam dot cz> ---
Created attachment 43573
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43573&action=edit
original testcase

Unreduced testcase; needs additional -fkeep-inline-functions:
$ aarch64-unknown-linux-gnu-gcc -O -fno-forward-propagate
-fkeep-inline-functions xxx.c -w
during RTL pass: combine
xxx.c: In function 'bar2':
xxx.c:81:1: internal compiler error: RTL check: expected code 'reg', have
'subreg' in rhs_regno, at rtl.h:1896
 }
...


More information about the Gcc-bugs mailing list