This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/19360] [4.0 Regression] ICE with -O1 -funit-at-a-time
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jan 2005 11:14:46 -0000
- Subject: [Bug tree-optimization/19360] [4.0 Regression] ICE with -O1 -funit-at-a-time
- References: <20050110140052.19360.kcwu@csie.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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