This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap ICE on alpha-osf4 building stage1 libgcc.a
- To: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Subject: Re: Bootstrap ICE on alpha-osf4 building stage1 libgcc.a
- From: Richard Henderson <rth at cygnus dot com>
- Date: Tue, 25 Jan 2000 23:15:11 -0800
- Cc: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, egcs-bugs at egcs dot cygnus dot com, gcc-patches at gcc dot gnu dot org
- References: <200001241658.LAA02003@caip.rutgers.edu> <20000124115552.A2539@cygnus.com> <oremb55ncl.fsf@garnize.lsd.ic.unicamp.br>
On Wed, Jan 26, 2000 at 05:00:26AM -0200, Alexandre Oliva wrote:
> Nope, the problem is stack corruption, at least in case of
> FLOAT_TRUNCATE. The incoming operands array is just two-entries
> long, so you can't assign to operands[2].
Ug. How dumb.
> default:
> + out_operands[0] = operands[1];
Pull this up out of the switch so there's only one such assignment.
Same bug in alpha_emit_xfloating_arith too.
r~