http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56151
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-11 15:42:12 UTC --- Created attachment 29419 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29419 gcc48-pr56151.patch Untested patch, done in add_equal_note, so that the code doesn't have to be duplicated between expand_binop_directly and expand_unop_directly.