------- Comment #3 from rguenth at gcc dot gnu dot org 2006-05-04 14:00 ------- You cannot. Though you can try extending c-common.c:strict_aliasing_warning and cp/typeck.c:build_reinterpret_cast_1 to warn in this case.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27417