Bug#123468: [Bug c/6906] warn about asserts with side effects

2023-08-24 Thread sjames at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6906 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org -- You are

Bug#123468: [Bug c/6906] warn about asserts with side effects

2023-08-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6906 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

Bug#123468: [Bug c/6906] warn about asserts with side effects

2023-08-24 Thread sjames at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6906 Sam James changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

Bug#123468: [Bug c/6906] warn about asserts with side effects

2020-04-16 Thread felix.von.s at posteo dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6906 felix changed: What|Removed |Added CC||felix.von.s at posteo dot de --- Comment #9 from

Bug#123468: [Bug c/6906] warn about asserts with side effects

2017-07-17 Thread felix.von.s at posteo dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6906 felix changed: What|Removed |Added CC||felix.von.s at posteo dot de --- Comment #7 from

Bug#123468: [Bug c/6906] warn about asserts with side effects

2016-02-26 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6906 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org -- You are

Bug#123468: [Bug c/6906] warn about asserts with side effects

2008-03-02 Thread chris dot pickett at mail dot mcgill dot ca
--- 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. --

Bug#123468: [Bug c/6906] warn about asserts with side effects

2006-10-15 Thread fang at csl dot cornell dot edu
-- fang at csl dot cornell dot edu changed: What|Removed |Added CC||fang at csl dot cornell dot |

Bug#123468: [Bug c/6906] warn about asserts with side effects

2006-10-15 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-10-15 19:45 --- *** Bug 29480 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

Bug#123468: [Bug c/6906] warn about asserts with side effects

2005-12-09 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Last reconfirmed|2005-09-10 16:23:19 |2005-12-10 05:43:37 date||

Bug#123468: [Bug c/6906] warn about asserts with side effects

2004-08-10 Thread mbp at sourcefrog dot net
--- Additional Comments From mbp at sourcefrog dot net 2004-08-10 23:56 --- It might be nice if there were a compile-time function similar to __builtin_constant_p which checked whether an expression was free of side-effects.One could then write # define assert(expr) \

Bug#123468: [Bug c/6906] warn about asserts with side effects

2003-12-31 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Keywords||diagnostic Last reconfirmed|2003-10-01 04:02:16 |2003-12-31 16:03:17 date|

Bug#123468: [Bug c/6906] warn about asserts with side effects

2003-05-27 Thread [EMAIL PROTECTED]
PLEASE REPLY TO [EMAIL PROTECTED] ONLY, *NOT* [EMAIL PROTECTED] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6906 [EMAIL PROTECTED] changed: What|Removed |Added