This is the mail archive of the gcc@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: Bug on PPC (no patch yet)


On Tue, Oct 21, 1997 at 04:02:03PM -0400, Paul Koning wrote:
> I assume this wouldn't happen for 64-bit targets unless the array size
> exceeds 64 (not 32) bits, right?

Yes it will happen.  The overflow is based on the host's idea of "int",
which is 32-bits on all supported 64-bit hosts.

> 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".

But it is a bug (er limitation) in the compiler.  "There's something
wrong with your source code" should be limited to actual violations
of standards not "you've encountered an implementation limit".


r~


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