https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111944
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Spurious '<anonymous>' is |Spurious '<anonymous>' is
|used uninitialized in |used uninitialized in
|Boost.Variant2 |Boost.Variant2
|(-Wuninitialized |(-Wuninitialized -Og)
|-Og/-fsanitize=address) |
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Well for fsanitize=address we document:
> Note that sanitizers tend to increase the rate of false positive warnings,
> most notably those around -Wmaybe-uninitialized. We recommend against
> combining -Werror and [the use of] sanitizers.