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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-02-05
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  Note that I'm not sure it makes no sense - it just means the
function has no side-effect besides not returning ;)

lib/ubsan.c is from the kernel I guess where you "copy" the attributes from
sanitizer.def?

GCC internally could also use "no vops" but you couldn't replicate that.

Not sure if it is/was important to have the function 'const'.

Reply via email to