Hi, I'd like to ping for this patch: https://gcc.gnu.org/ml/gcc-patches/2019-01/msg01120.html
This patch would be needed to avoid a rather ugly workaround for the the issue in the linux-tree. Thanks Bernd. On 1/19/19 11:06 AM, Bernd Edlinger wrote: > Hi, > > the command line option -Wattribute-alias (w/o the "=1") is currently broken, > and only -Wno-attribute-alias is still working, but what is worse, is that > the #pragma GCC diagnostic fails to recognize the string "-Wattribute-alias", > as it used to do in gcc-8, which breaks the linux warning suppression macro > because it relies on a _Pragma to work. > > Fixed by declaring -Wattribute-alias as an alias to -Wattribute-alias=1 > and the negated form as an alias to -Wattribute-alias=0. > > Bootstrapped and reg-tested on x86_64-pc-linux-gnu. > Is it OK for trunk? > > Additionally I looked into the linux 4.20 build, got a couple > "-Wmissing-attributes" > which seem easy to fix (by adding the cold attribute) and quite a lot > "-Waddress-of-packed-member" warnings, which I don't know how to fix properly. > > > Thanks > Bernd. >