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

Pekka S <p...@gcc-bugzilla.mail.kapsi.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p...@gcc-bugzilla.mail.kaps
                   |                            |i.fi

--- Comment #9 from Pekka S <p...@gcc-bugzilla.mail.kapsi.fi> ---
Any updates on this?  --disable-analyzer does not unfortunately resolve this
problem as analyzer objects are always built and ENABLE_ANALYZER does not gate
any header files that would be required by the code.

The quick and dirty way of resolving this problem would be:

   hashval_t hash () const
   {
-    return (binding_key::impl_hash () ^ (long)m_region);
+    return (binding_key::impl_hash () ^ (long)(uintptr_t)m_region);
   }

But perhaps that would simply suppress a valid error if the implementation
expects that no precision is lost.

Reply via email to