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]

question in generating rtl code


in gcc-3.4.1
 rtl  can be generated when parsing the source program,
for example,
stmt:
      compstmt
        { stmt_count++; $$ = $1; }
    | expr ';'
        { stmt_count++;
          $$ = c_expand_expr_stmt ($1); }

while in c_expand_body, rtl can also be generated .
what are they respectively for?

while in gcc-2.95.3,
i can`t find the function c_expand_body,
does it mean that all the rtl are generated by the c-parse.y
(except for the expand_function_end, end expand_function_start)?




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