Strict-aliasing in GCC

Jan Engelhardt jengelh@medozas.de
Mon May 31 17:30:00 GMT 2010


Hi,


In http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43637 , I had a case 
where I apparently ran into strict-aliasing artifacts. As Richard 
Guenther points out in comment #2, I may have dereferenced through a 
pointer of wrong type. Yet I could not quite spot that yet as I added in 
comment #3.
If somebody has a deeper insight into C's spots of undefinedness, a 
reply would be greatly appreciated.


thanks,
Jan



More information about the Gcc-help mailing list