Unbreak x86-64 (and others ;) bootstrap

Richard Henderson rth@redhat.com
Mon Sep 6 19:21:00 GMT 2004


On Mon, Sep 06, 2004 at 06:41:34PM +0200, Jan Hubicka wrote:
> --- 1561,1576 ----
>   {
>     /* Add 0 + 1 * iteration candidate.  */
>     add_candidate (data,
> ! 		 build_int_cst (unsigned_intSI_type_node, 0),
> !       		 build_int_cst (unsigned_intSI_type_node, 1),
>   		 true, NULL);
>   
> !   /* The same for a long type if it is still fast enought.  */
> !   if (BITS_PER_WORD > 32)
> !     add_candidate (data,
> ! 		   build_int_cst (unsigned_intDI_type_node, 0),
> ! 		   build_int_cst (unsigned_intDI_type_node, 1),
> ! 		   true, NULL);

The middle end should basically never refer to these type nodes.
Use lang_hooks.type_for_size.


r~



More information about the Gcc-patches mailing list