[Bug libstdc++/108554] [12 Regression] Warning "null pointer dereferece" raised when extracting a unique_ptr from a map and any "-O" flag
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 26 13:41:53 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108554
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |11.3.0
Known to fail| |12.2.0
Target Milestone|--- |12.3
Summary|Warning "null pointer |[12 Regression] Warning
|dereferece" raised when |"null pointer dereferece"
|extracting a unique_ptr |raised when extracting a
|from a map and any "-O" |unique_ptr from a map and
|flag |any "-O" flag
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed on trunk, but this should be backported to gcc-12 too.
The warning is present on older branches but suppressed by default, so it's not
important to backport before to older branches.
More information about the Gcc-bugs
mailing list