[Bug middle-end/104550] bogus warning from -Wuninitialized + -ftrivial-auto-var-init=pattern

qing.zhao at oracle dot com gcc-bugzilla@gcc.gnu.org
Mon Feb 21 15:21:34 GMT 2022


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

--- Comment #20 from Qing Zhao <qing.zhao at oracle dot com> ---
> On Feb 21, 2022, at 1:56 AM, rguenth at gcc dot gnu.org <gcc-bugzilla@gcc.gnu.org> wrote:
>> 
>> my question is, is the "info" in __builtin_clear_padding(&info) a REAL use
>> of "info"? is it correct to report the uninitialized use message for it?
> 
> As said I think reads emitted from __builtin_clear_padding lowering should
> not be considered for (uninit) diagnostics.
Okay.


More information about the Gcc-bugs mailing list