HELP??? parsing loops in gcc... (le-ju sheng)
Mon, 19 Jul 1993 15:24:45 GMT

          From comp.compilers

Related articles
HELP??? parsing loops in gcc... (1993-07-19)
| List of all articles for this month |

Newsgroups: comp.compilers,
From: (le-ju sheng)
Keywords: GCC, optimize, question, comment
Organization: Computer Science Department, Boston University, Boston, MA, USA
Date: Mon, 19 Jul 1993 15:24:45 GMT

Whoever can give me some idea...

I'm trying to write a loop dependence checker in GNU compiler.

first of all, I have to parse a,b,c,d constants from the arrays in loops,

        for(i=1; i< 100; i++)
              A[2*i] = A[2*i-1]; /* a=2, b=0, c=2, d=-1 */

I'm not familiar with the gcc compiler. If anyone can tell me
'where-which file' in gcc was concerned about the loop arrays that I
can modify to include a dependent function, it'd be very appreciated.

[Does GCC do any loop analysis at all? -John]

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.