This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-ssa] USE or VUSE bugs?



On Sunday, April 27, 2003, at 10:59 PM, Wei Liu wrote:


I have a very simple kernel as follows. The problem is, for statement
a=b+c, there is no USE or VUSE I can get from get_ops and get_vops.
At what point?
IE Where is your code inserted that you are seeing this.

So
this statement seems to me no use operands. It is really weird, because I
suppose I can all operands from get_ops and get_vops.


Any suggestions are greatly appreciated. Thanks.

---------------------------------------------
void foo1 (const char *);
int foo2(float *in, float *in2);
float a;


int func(int *in, int in2) { float b, c; int i;

  for (i = 0; i < 10; i++)
    {
      foo1("yes");
      foo2 (&b, &c);

      *in = in2;
      a = b + c;
    }
}


============================= Sincerely, Wei Liu




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]