[C PATCH] Kill bogus warnings on _Atomics (PR c/60195)

2014-02-18 Thread Marek Polacek
This PR is about bogus warnings on _Atomics. E.g., for _Atomic int, the warning right-hand operand of comma has no effect makes no sense. One problem was that when making COMPOUND_EXPR out of atomic variable, we create artificial variable via create_tmp_var, but we shouldn't warn on those. So

Re: [C PATCH] Kill bogus warnings on _Atomics (PR c/60195)

2014-02-18 Thread Joseph S. Myers
On Tue, 18 Feb 2014, Marek Polacek wrote: This PR is about bogus warnings on _Atomics. E.g., for _Atomic int, the warning right-hand operand of comma has no effect makes no sense. One problem was that when making COMPOUND_EXPR out of atomic variable, we create artificial variable via