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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
             Status|NEW                         |ASSIGNED

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 51998
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51998&action=edit
gcc12-pr103704.patch

operand_equal_p in checking mode attempts to compute hashes and is unhappy
about OMP_CLAUSE abusing TREE_TYPE of it for the ctor/dtor etc. info.

Easiest seems to be for OMP_CLAUSE to just walk subtrees but not the OMP_CLAUSE
itself.  The walking of the body seems quite dangerous even with that change
though, but don't have a testcase that proves a problem though.

Reply via email to