[Bug c++/68901] UBSan triggers false -Wpadded warning

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 30 15:36:00 GMT 2019


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

--- Comment #9 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Trass3r from comment #7)
> Created attachment 46435 [details]
> cleanup
> 
> The previous patch should also allow removing these hacks (untested).
> Though TYPE_ARTIFICIAL wasn't set in any of these cases. Is that normal?

You need to test it (and add testcases) and submit it. See:

https://gcc.gnu.org/wiki/GettingStarted#Basics:_Contributing_to_GCC_in_10_easy_steps


More information about the Gcc-bugs mailing list