Bootstrap ICE on alpha-osf4 building stage1 libgcc.a

Richard Henderson rth@cygnus.com
Tue Jan 25 23:54:00 GMT 2000


On Wed, Jan 26, 2000 at 05:25:05AM -0200, Alexandre Oliva wrote:
> BTW, are ` case : ... if(0) { case : ... } ...' tricks acceptable?  We
> could have a single assignment to out_operands[0] too, like this:
> 
>   switch (code)
>     {
>     case FIX:
>       mode = alpha_compute_xfloating_mode_arg (code, ALPHA_FPRM_CHOP);
>       if (0)
>         {
>     case FLOAT_TRUNCATE:
>       mode = alpha_compute_xfloating_mode_arg (code, alpha_fprm);
>         }
>       out_operands[1] = GEN_INT (mode);

No, that's too ugly.  The other change was straightforward.

> 	* config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
> 	incoming operands array is large enough for one more operand.
> 	(alpha_emit_xfloating_arith): Likewise.

Ok.


r~


More information about the Gcc-bugs mailing list