[Bug tree-optimization/70965] [7 Regression] ICE on released SSA name during IPA SRA

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 16 10:20:00 GMT 2016


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |jamborm at gcc dot gnu.org

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The problem is that we first build cgraph edges and then shortly after cfg
cleanup removes a bunch of bbs as unreachable, and those bbs contain calls.
Nothing updates the cgraph edges though.  The question is how are cgraph edges
maintained, and how should code find out if it should maintain them or not.
Or shall ipa-sra ignore cgraph edges with !gimple_bb (cs->call_stmt) or
something similar?


More information about the Gcc-bugs mailing list