[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

segher at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 6 10:18:00 GMT 2018


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

--- Comment #8 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Ah right, I had checking disabled.  Need more coffee I guess.

The insns I see are different:

Trying 19, 20 -> 21:
   19: r106:SI#0=0
   20: r108:SI=zero_extend(r106:SI#0)
   21: r109:SI=r108:SI 0>>0x8
      REG_DEAD r108:SI

(see insn 20); maybe the i3 in #c1 is already modified?

The #c5 patch is okay for trunk, thanks!


More information about the Gcc-bugs mailing list