bootstrap compare failure in ada/targparm.o on i686-pc-linux-gnu?

Richard Henderson rth@redhat.com
Mon Apr 11 21:08:00 GMT 2005


On Mon, Apr 11, 2005 at 05:41:56PM -0300, Alexandre Oliva wrote:
> I take that back.  The hash tables seem to be fine.  I suspect it's
> the sorting on pointers in the goto_queue that triggers the problem.
> In fact, I'm pretty sure comparing pointers that are not guaranteed to
> be in the same array invokes undefined behavior, and I do remember
> having run into errors because of such abuse in bfd many moons ago.

Technically, yes.  I deny that it's a problem in practice except
for segmented architectures.  Which includes no gcc hosts.


r~



More information about the Gcc mailing list