This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bug on PPC (no patch yet)
- To: pkoning at xedia dot com (Paul Koning)
- Subject: Re: Bug on PPC (no patch yet)
- From: Joe Buck <jbuck at synopsys dot com>
- Date: Tue, 21 Oct 97 13:21:59 PDT
- Cc: robertl at dgii dot com, egcs at cygnus dot com
> Robert> + /* If type is negative, produce an internal compiler error.
> Robert> + This may be caused by an array that is too large.
As I said, I'm not sure that patch is correct, since a larger overflow
can produce an invalid positive result.
> I assume this wouldn't happen for 64-bit targets unless the array size
> exceeds 64 (not 32) bits, right?
Yes.
> The error generated should NOT be "internal compiler error". That
> error message should always mean "there's a bug in the compiler" and
> never "there's something wrong with your source code".
There's nothing wrong with the source code. Furthermore, the compiler is
not detecting an error in itself, so it's not an internal compiler error
either. That's why I suggested a "sorry, not implemented" type of
message.