This is the mail archive of the gcc-bugs@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: Bitwise AND short circuit


On Wed, Jan 09, 2002 at 10:55:19PM -0800, Philip C. Tsao wrote:
>   c += 0 & ( x > 0 ? s[ c++ ] : s[ c++ ] );

Undefined.  Can't modify "c" twice without an intervening sequence point.


r~


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