3.2 bootstrap broken on s390 (was: Re: [PATCH] Fix PR target/7784 (Sparc))

Gabriel Dos Reis gdr@integrable-solutions.net
Sat Mar 29 19:11:00 GMT 2003


Eric Botcazou <ebotcazou@libertysurf.fr> writes:

| > >2003-03-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
| > >
| > >        PR target/7784
| > >        * reload.c (find_reloads_address):  Handle
| > >        (PLUS (PLUS (REG) (REG)) (CONST_INT)) form for
| > >        all base registers.
| >
| > breaks bootstrap on s390 with this ICE:
| >
| > ../../gcc-3_2/gcc/except.c: In function `remove_eh_handler':
| > ../../gcc-3_2/gcc/except.c:411: could not split insn
| >
| > (insn 125 417 420 (set (reg/v:DI 10 %r10 [64])
| >         (mem/s:DI (plus:SI (plus:SI (reg:SI 1 %r1 [67])
| >                     (const_int 16 [0x10]))
| >                 (reg:SI 2 %r2)) [27 <variable>.bits S8 A64])) 52
| > {*movdi_31} (insn_list 417 (insn_list 121 (nil))) (expr_list:REG_DEAD
| > (reg:SI 1 %r1 [67])
| >         (expr_list:REG_DEAD (reg:SI 2 %r2)
| >             (nil))))
| >
| >
| > The reason is that it exposes another bug in find_reloads_address
| > much earlier; this bug, which I fixed on mainline and 3.3 with
| >
| > http://gcc.gnu.org/ml/gcc-patches/2003-01/msg01735.html

For some reason I missed this message, and apparently it wasn't
followed up.  Was it approved?  I would be suggest backporting that
patch but I would like to have some input from the middle-end master
RTH.

-- Gaby



More information about the Gcc-patches mailing list