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 tree-optimization/66163] [6 Regression] Not working Firefox built with LTO


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

--- Comment #6 from Martin LiÅka <marxin at gcc dot gnu.org> ---
According to -fsanitize=null, there are many places in Firefox that produce
undefined behavior in followin way:

https://bugzilla.mozilla.org/show_bug.cgi?id=1165904

One common example:

    static size_t offsetOfThis() {
        JitFrameLayout* base = nullptr;
        return reinterpret_cast<size_t>(&base->argv()[0]);
    }


Martin

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