This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Still has problems: Re: [tree-ssa] USE or VUSE bugs?
- From: Wei Liu <liuwei at cs dot uiuc dot edu>
- To: Diego Novillo <dnovillo at redhat dot com>
- Cc: Daniel Berlin <dberlin at dberlin dot org>, <gcc at gcc dot gnu dot org>
- Date: Mon, 28 Apr 2003 21:24:42 -0500 (CDT)
- Subject: Re: Still has problems: Re: [tree-ssa] USE or VUSE bugs?
On Mon, 28 Apr 2003, Diego Novillo wrote:
> On Mon, Apr 28, 2003 at 11:02:06AM -0500, Wei Liu wrote:
>
> > # (*str.1)_37 = VDEF <(*str.1)_15>;
> > # (*b.5)_38 = VDEF <(*b.5)_17>;
> > # .GLOBAL_VAR_39 = VDEF <.GL~OBAL_VAR_36>;
> > # VUSE <.GLOBAL_VAR_36>;
> > a = c
> > }
> >
> > Please note the last statement "a=c", I hope it has some relation with the
> > second scanf, i.e. a should be aliased with (*str.6), but acturally not. I
> > expect I can have # (*str.6)_40 = VDEF <(*str.6)_31> attached to "a=c", or
> > something similar.
> >
> > Do I miss something?
> >
> Add -alias to your -fdump... flag. You should find 'a' aliased to
> *str.1, *b.5 and .GLOBAL_VAR.
Yes. I do fine the alias info. Maybe I can simplify my question as: how
can I get the use operands for the statement "a=c"?
>
>
> Diego.
>
=============================
Sincerely,
Wei Liu
Postdoctoral Research Associate
2251 DCL, Department of Computer Science
University of Illinois at Urbana-Champaign
1304 W. Springfield Ave.
Urbana, IL 61801
Phone: (217)244-7207(O)