This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/60770] disappearing clobbers
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 22 Jun 2014 21:07:17 +0000
- Subject: [Bug tree-optimization/60770] disappearing clobbers
- Auto-submitted: auto-generated
- References: <bug-60770-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60770
--- Comment #5 from Marc Glisse <glisse at gcc dot gnu.org> ---
Looking at comment #1 more closely, the problem is not with CCP, which
produces:
q = n_2(D);
q ={v} {CLOBBER};
_6 = q;
return _6;
The problem is during the TODO, in execute_update_addresses_taken, which finds
out that q does not need its address taken anymore, and
/* For var ={v} {CLOBBER}; where var lost
TREE_ADDRESSABLE just remove the stmt. */
Maybe it could instead create an uninitialized ssa_name for var.