------- Comment #12 from jason at gcc dot gnu dot org 2010-04-09 04:44 ------- Created an attachment (id=20343) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20343&action=view) patch
This patch causes the compiler to avoid this optimization while preserving all the related warnings (except pr33738.C which is specifically testing that this optimization is done). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43680