This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the EGCS project.
Re: [patch] Re: GCC 2.95 Solaris7 i86pc compilation fail with -g generates internal compiler error
- To: Alexandre Oliva <oliva@dcc.unicamp.br>
- Subject: Re: [patch] Re: GCC 2.95 Solaris7 i86pc compilation fail with -g generates internal compiler error
- From: Richard Henderson <rth@cygnus.com>
- Date: Tue, 3 Aug 1999 20:49:04 -0700
- Cc: Chris McKay <chris.mckay@solipsys.com>, gcc-bugs@gcc.gnu.org, gcc-patches@gcc.gnu.org
- References: <37A62AAF.3796E147@solipsys.com> <or3dy19n6f.fsf@cupuacu.lsd.dcc.unicamp.br>
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~