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: "hubicka 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 09:03:49 +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
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at redhat dot com
--- Comment #8 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Forgot to actually CC Jason, sorry for that.
> static size_t offsetOfThis() {
> JitFrameLayout* base = nullptr;
> return reinterpret_cast<size_t>(&base->argv()[0]);
> }
Jason,
just to double check, this is indeed an undefined and offsetof is usable
only for POD?