This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/66163] [6 Regression] Not working Firefox built with LTO
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 18 May 2015 14:02:31 +0000
- Subject: [Bug tree-optimization/66163] [6 Regression] Not working Firefox built with LTO
- Auto-submitted: auto-generated
- References: <bug-66163-4 at http dot gcc dot gnu dot org/bugzilla/>
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