This is the mail archive of the
mailing list for the GCC project.
Re: [tree-ssa]: More C++ PTA Fixes
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 18 May 2003 01:25:17 -0400
- Subject: Re: [tree-ssa]: More C++ PTA Fixes
On Sunday, May 18, 2003, at 01:01 AM, Jason Merrill wrote:
Who generates REFERENCE_EXPR?
I assumed something did, since we handle it in both c-pretty-print and
What distinguishes it from NON_LVALUE_EXPR?
According to tree.def, nothing that i can discern:
/* Non-lvalue reference or pointer to an object. */
DEFTREECODE (REFERENCE_EXPR, "reference_expr", 'e', 1)
Looking closer, however, it appears, however, that nothing actually
*generates* it anymore, we just handle it in a few places.
It appears (excluding *-pretty-print)
1 time in c-common.c
1 time in dojump.c
2 times in expr.c
2 times in f/com.c
None of them generate it, only use it.
If nothing is using it, and we have no use for it, it should be removed.