'stringop-overflow' diagnostic messaging occurring with valid code.
Issue
- Despite compiling valid code with a small-string-optimized class, diagnostic warnings are outputted for 'stringop-overflow' when using
-O2
or-O3
optimizations.
Environment
- Red Hat Enterprise Linux 7
- Package
devtoolset-11-gcc-11.2.1-1.2
- Package
devtoolset-11-gcc-c++-11.2.1-1.2
- Package
devtoolset-10-gcc 10.2.1
(-O3
only)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.