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

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?


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