dereferencing type-punned pointer will break strict-aliasing rules

Andrew Pinski pinskia@physics.uc.edu
Thu Oct 12 23:07:00 GMT 2006


> 
> Andrew,
>      I wonder why it only produces a single warning...
> 
> ../../../gcc-4.2-20060928/libjava/gnu/classpath/jdwp/natVMVirtualMachine.cc:46: warning: dereferencing type-punned pointer will break strict-aliasing rules
> 
> if the problem exists throughout the libjava sources? Or do
> you seem more occurances on your architecture?

Because Andrew is saying that we need to change more than just
where the warning is happening.

-- Pinski



More information about the Java mailing list