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: PATCH to build1 for c/12553


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




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