https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84437
pkoning at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #2 from pkoning at gcc dot gnu.org --- Agreed, this is fixed in the current code, shift handling was cleaned up as part of the CCmode change. That said, the code produces the right answer but it does it in a bad way, because the port does not provide a pattern for this sign extend. The GCC default is to use a shift, which for a pdp-11 is not the best answer.