This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH to build1 for c/12553
- From: Olivier Hainque <hainque at act-europe dot fr>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, hainque at act-europe dot fr
- Date: Tue, 21 Oct 2003 11:58:52 +0200
- Subject: Re: PATCH to build1 for c/12553
- References: <wvlekx737rw.fsf@prospero.boston.redhat.com>
Hello Jason,
Jason Merrill wrote:
+ int i = first_rtl_op (TREE_CODE (node));
+ for (; i >= 0; --i)
+ {
+ if (TREE_SIDE_EFFECTS (TREE_OPERAND (node, i)))
+ TREE_SIDE_EFFECTS (t) = 1;
+ }
Isn't there a problem if "node" has only tree operands here, because
"i" starts as the number of operands in that case ?
Olivier