This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
question in generating rtl code
- From: "zouq" <zouqiong at ict dot ac dot cn>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 30 May 2005 19:50:17 +0800 (CST)
- Subject: 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)?