This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Question on cfg_remove_useless_stmts_bb
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: law at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 18 Aug 04 07:42:00 EDT
- Subject: Re: Question on cfg_remove_useless_stmts_bb
the fact that it wasn't obvious to you is a good indication that I
should have had more comments in that code.
Actually, there's still some confusion there. Now that you've pointed it
out, from the way I read that code, VAL is always either a PARM_DECL or
a VAR_DECL. So why test !TREE_CONSTANT (val)?
And why exclude a constant anyway