'stringop-overflow' diagnostic messaging occurring with valid code.

Solution In Progress - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content