Aliasing problem? gcc-3.3 miscompiles mozilla-1.4

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Wed Jun 18 19:30:00 GMT 2003


On Wednesday 18 June 2003 20:59, Andrew Pinski wrote:
> I think this might be related to bug 9745 but I don't know for sure.

I think here we have a different case, the problem is that 2 pointers point to 
the same memory location, one of the is local, the other returned by a 
function. Now, since I can't parse C++, the question is if this is caused by 
a compiler bug or by questionable uses of reinterpret_cast in the mozilla 
sources.

Franz.



More information about the Gcc-bugs mailing list