[Bug tree-optimization/19360] [4.0 Regression] ICE with -O1 -funit-at-a-time

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 11 11:15:00 GMT 2005


------- Additional Comments From jakub at gcc dot gnu dot org  2005-01-11 11:14 -------
tree-ssa-dom.c in this case uses a released SSA_NAME.
The dom pass recorded a SSA_NAME X into another SSA_NAME (Y)'s SSA_NAME_VALUE,
then tree_duplicate_bb called indirectly from thread_through_all_blocks
marks X for rewrite and following rewrite_ssa_into_ssa releases X, but X's
address is still in Y's SSA_NAME_VALUE.  Later on when Y's SSA_NAME_VALUE is
used, it references a released SSA_NAME and the compiler crashes.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |law at redhat dot com,
                   |                            |dnovillo at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19360



More information about the Gcc-bugs mailing list