gen_reload: Correct parameter for fatal_insn call
commitd68adf853759fa68945122a1b72035cab78d5077
authorHans-Peter Nilsson <hp@axis.com>
Wed, 15 Feb 2023 00:15:43 +0000 (15 01:15 +0100)
committerHans-Peter Nilsson <hp@bitrange.com>
Wed, 15 Feb 2023 00:15:43 +0000 (15 01:15 +0100)
tree30ea09f734104235d903199f3fa72f05d19c4b8e
parentabbdb623c4287baad6e5bff1ae694ef30264519c
gen_reload: Correct parameter for fatal_insn call

Observed when disabling LEGITIMIZE_RELOAD_ADDRESS for
cris-elf: the current code doesn't handle the post-cc0
parallel-with-clobber-of-cc0 sets, dropping down into the
fatal_insn call.  Following the code, it's obvious that the
variable "set" is always NULL at the call.  The intended
parameter is "in".

* reload1.cc (gen_reload): Correct rtx parameter for fatal_insn
"failure trying to reload" call.
gcc/reload1.cc