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

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

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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Your patch is the right fix, when it is static on the second invocation the new
p is not stored into it, and register_pass doesn't save the address it is
passed anywhere, just remembers the pass and from the other fields determines
where to put it.
Please post it to gcc-patches with a ChangeLog entry.

Reply via email to