PR c++/17880 -Wsequence-point doesn't warn inside if, while, do conditions, for beg/cond/end expressions etc.
Mark Mitchell
mark@codesourcery.com
Mon Aug 25 18:44:00 GMT 2008
Manuel López-Ibáñez wrote:
> 2008/8/25 Mark Mitchell <mark@codesourcery.com>:
>
>> semantics.c:3582: t = maybe_convert_cond (t);
>
> This is called by finish_omp_clauses. I did not add it there. Should I?
You might want to ask Jakub about that; I'm not sure if OpenMP has
different sequence-point rules. But, I would assume it does make sense
there.
Thanks,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
More information about the Gcc-patches
mailing list