http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60275
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 32597 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32597&action=edit gcc410-pr60275.patch Untested fix. Marek, sorry for hacking this up, but I'd like to backport it to 4.9-RH soon, some people complained about the lack of these features. I'll leave all other ubsan hacking to you.