------- Comment #49 from chuck at vertica dot com 2006-11-05 23:39 ------- Sorry.
But maybe it is a FAQ because even with "-Wall" or "-Wstrict-aliasing=2" g++ 4.0.2 generates invalid code for this without so much as a peep. I here 4.1 is better about giving a warning. I guess it was too much to think "reinterpret_cast means I know what I'm asking for, so just do what I say". -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28778