wrong alias-analysis and strange x86-code
Geoff Keating
geoffk@cygnus.com
Tue Oct 24 13:23:00 GMT 2000
Volker Barthelmann <vb@compilers.de> writes:
> First, gcc 2.95 seems to do overly optimistic type-based alias-analysis. In
> the example attached to this mail it apparently assumes that an expression
> p[x] cannot alias certain objects and generates wrong code. I've verified
> this problem also with the PPC-backend and -O or -O2. p[0] and *p seem to
> be handled better.
This appears to be fixed in the current development compiler, so it
should be fixed in the next release.
--
- Geoffrey Keating <geoffk@cygnus.com>
More information about the Gcc-bugs
mailing list