This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/59600] no_sanitize_address mishandled when function is inlined


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59600

Yury Gribov <y.gribov at samsung dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #31515|0                           |1
        is obsolete|                            |

--- Comment #5 from Yury Gribov <y.gribov at samsung dot com> ---
Created attachment 31516
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31516&action=edit
New patch based on Andrew's review

(In reply to Andrew Pinski from comment #3)
> Or better yet handle the case where the attributes diff
> inside function_attribute_inlinable_p
> so you don't lose that much optimizations
> only when the attributes differ.

Yup and this would also work for non-C-family frontends.

How about this patch then?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]