------- Comment #5 from chris dot pickett at mail dot mcgill dot ca 2008-03-03 02:55 ------- Maybe you could fix the preprocessor to warn about operators with known side effects. Can cpp see the entire expr in assert (expr)? If so, just search the tokens for =, ++, --, +=, -=, etc.
-- chris dot pickett at mail dot mcgill dot ca changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chris dot pickett at mail | |dot mcgill dot ca http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6906