This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/58920] Overeager optimization based on TREE_THIS_NOTRAP
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 30 Oct 2013 10:27:06 +0000
- Subject: [Bug tree-optimization/58920] Overeager optimization based on TREE_THIS_NOTRAP
- Auto-submitted: auto-generated
- References: <bug-58920-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58920
--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> As of pointer vs. reference types this shouldn't matter here as you
> annotate actualy tcc_reference trees, not types.
What Andrew meant is that one can think that it would be valid to set the flag
on tcc_reference trees if operand #0 has REFERENCE_TYPE instead of
POINTER_TYPE,
but of course that doesn't work because they can be smashed together.