This is the mail archive of the gcc-patches@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: [doc] Fix typo in gty.texi


Hi Richard,

> +representation. So the CFG simultaneously consist of basic blocks
> +containing RTL and GIMPLE trees.
> 
> That last sentence is not correct, please remove it.  Ok with that change.

  May I ask why the last sentence is not correct? (just want to know why)
The comment of gimple_expand_cfg (gcc/cfgexpand.c) says,

   ... snip ...

   We do conversion per basic block and preserve/update the tree CFG.
   This implies we have to do some magic as the CFG can simultaneously
   consist of basic blocks containing RTL and GIMPLE trees.  This can

   ... snip ...

I guess I misunderstand what the comment says, but what "This implies we
have to do some magic as the CFG can simultaneously consist of basic blocks
containing RTL and GIMPLE trees." actually means? Would you like explain
more? Thanks!

Regards,
chenwj

-- 
Wei-Ren Chen (ééä)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj


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