https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128679
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |17.0
Keywords| |fixed-but-no-testcase
Summary|[16/17 Regression] bogus |[16 Regression] bogus
|-Warray-bounds in |-Warray-bounds in
|std::vector<char>::resize(1 |std::vector<char>::resize(1
|) at -O3 |) at -O3
--- Comment #2 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Fixed on the trunk by r17-6233-g785a4b3e6071366e99655a8001aef04da3e1064e. I
doubt it will be backported as it was a missed optimization fix rather than a
diagnostic change. Will add a testcase later today or tomorrow.