This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bootstrap ICE on alpha-osf4 building stage1 libgcc.a


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~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]