middle-end: move initialization of stack_limit_rtx [PR103163]
authorSandra Loosemore <sandra@codesourcery.com>
Tue, 18 Jan 2022 17:27:36 +0000 (09:27 -0800)
committerSandra Loosemore <sandra@codesourcery.com>
Tue, 18 Jan 2022 17:27:36 +0000 (09:27 -0800)
commit3a0837b8fb96f50f2e60222ce289cc2542bbb477
tree4c0a9576078a7c2410d1b4634f2ad07082e2921a
parente13e95bd274148a825bc9527efac49e99080dd64
middle-end: move initialization of stack_limit_rtx [PR103163]

stack_limit_rtx was being initialized before init_reg_modes_target (),
resulting in the REG expression being created incorrectly and an ICE
later in compilation.

2022-01-18  Sandra Loosemore  <sandra@codesourcery.com>

PR middle-end/103163

gcc/
* emit-rtl.cc (init_emit_regs): Initialize stack_limit_rtx here...
(init_emit_once): ...not here.
gcc/emit-rtl.cc