This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH]: Fix PR tree-optimization/21407
Jakub Jelinek <firstname.lastname@example.org> wrote:
>> I think that the "what is an object" concerns apply in C++ too. Though
>> you don't have "offsetof" for non-PODs, nothing says you can't just
>> *know* the offset and use it in the exact same way. I really don't
>> think we can language-lawyer our away arounad the issues here; there is
>> no clear answer in the standard at this point. We have to choose
> Or let the user choose, by providing a compiler switch for that.
We still need to choose the default (that is, enabling it at -O2 or -O3),
which is what will affect users most.