https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122874
--- Comment #2 from John David Anglin <danglin at gcc dot gnu.org> --- Appears to be a bug in pa_emit_move_sequence in the setting of the REG_POINTER flag. When the REG_POINTER flag needs to be set, operand1 is not simplified. Don't know why this didn't trigger with reload but it seems LRA doesn't do as good a job with the REG_POINTER flag. Testing a potential fix. Thanks for the testcase.
