[Bug c/18740] Execution-time sizeof drops side effects
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Tue Nov 30 22:24:00 GMT 2004
------- Additional Comments From bangerth at dealii dot org 2004-11-30 22:24 -------
That's not a bug. The standard says this:
5.3.3 Sizeof [expr.sizeof]
1 The sizeof operator yields the number of bytes in the object
representation of its operand. The operand is either an expression,
which is not evaluated, or a parenthesized type-id.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18740
More information about the Gcc-bugs
mailing list