[Bug c++/87137] [8/9 Regression] Non-virtual member function increases struct size

lh_mouse at 126 dot com gcc-bugzilla@gcc.gnu.org
Wed Aug 29 15:29:00 GMT 2018


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

--- Comment #9 from Liu Hao <lh_mouse at 126 dot com> ---
(In reply to Nathan Sidwell from comment #6)
> Created attachment 44623 [details]
> patch
> 
> This patch appears to fix the problem  It'd be good to (a) confirms it also
> passes on MS's compiler

With this patch applied, GCC 8.2.1 accepts the testcase, as well as Microsoft
CL 19.15.26726 .


More information about the Gcc-bugs mailing list