https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104855
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unknown |12.0 Keywords| |diagnostic --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- I think the code is definitely "bad style", it seems A lacks a CTOR from 'unsigned' and the code tries to workaround this issue. Not sure whether these kind of "style" diagnostics should be in -Wall