[Bug c++/77722] -fsanitize=undefined doesn't give runtime error in function without return value, unless at least 2 instructions

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 26 08:04:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77722

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2016-09-26
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 39684
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39684&action=edit
gcc7-pr77722.patch

Untested fix.


More information about the Gcc-bugs mailing list