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


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

Re: [patch] Re: GCC 2.95 Solaris7 i86pc compilation fail with -g generates internal compiler error


On Tue, Aug 03, 1999 at 07:24:40AM -0300, Alexandre Oliva wrote:
> Here's a patch.  Tested in both mainline and 2.95 branch.  Ok to
> install?
[...]
> @@ -10053,6 +10053,9 @@
>  		    TYPE_MIN_VALUE (itype) = size_zero_node;
>  		    TYPE_MAX_VALUE (itype) = build_min
>  		      (MINUS_EXPR, sizetype, size, integer_one_node);
> +		    /* If the precision is not set,
> +                       dwarfout.c:fundamental_type_code will abort. */
> +		    TYPE_PRECISION (itype) = TYPE_PRECISION (sizetype);

This should just call build_index_type instead.



r~

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