[Bug tree-optimization/114758] The layout of a std::vector reports a warning

2024-04-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114758 --- Comment #2 from Jonathan Wakely --- It's just yet another occurrence of false positive -Wstringop-overflow warnings, it has nothing to do with vector being special.

[Bug tree-optimization/114758] The layout of a std::vector reports a warning

2024-04-17 Thread clalancette.github at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114758 --- Comment #1 from Chris Lalancette --- I should also mention that this doesn't happen with gcc 12.3 or earlier. It seems to only have started happening with gcc 13.1 and 13.2.