[Bug c++/97634] [10/11 Regression] ICE 'verify_gimple' failed on arm-linux-gnueabihf

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 30 09:08:14 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97634

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Yes, can be seen on x86_64-linux-gnu as weel.

Started with GCC 5.1.0, 4.9.4 rejects it with -std=c++11:

pr97634.C:4:25: warning: ‘ResourceResponseBase::m_tainting’ is too small to
hold all values of ‘enum class ResourceResponseBase::Tainting’
   Tainting m_tainting : 2;
                         ^
pr97634.C: In member function ‘void
ResourceResponseBase::sanitizeHTTPHeaderFieldsAccordingToTainting()’:
pr97634.C:8:18: error: could not convert ‘Opaque’ from
‘ResourceResponseBase::Tainting’ to ‘int’
   case Tainting::Opaque:
                  ^
pr97634.C:9:18: error: could not convert ‘Opaqueredirect’ from
‘ResourceResponseBase::Tainting’ to ‘int’
   case Tainting::Opaqueredirect:;
                  ^


More information about the Gcc-bugs mailing list