[Bug c++/33483] New warning suggestion (for -Wall): sizeof() with non-lvalue has side effects that will not execute at runtime
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 19 03:13:00 GMT 2007
------- Comment #3 from bangerth at dealii dot org 2007-09-19 03:13 -------
Confirmed. Using sizeof with an argument that appears to have side effects
but isn't evaluated seems like an error waiting to happen.
W.
--
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bangerth at dealii dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-09-19 03:13:48
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33483
More information about the Gcc-bugs
mailing list