This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap compare failure in ada/targparm.o on i686-pc-linux-gnu?
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~