[Bug c++/61402] [C++1y] Init-capture with side effect not working for some types
richard-gccbugzilla at metafoo dot co.uk
gcc-bugzilla@gcc.gnu.org
Fri Jun 13 21:14:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61402
Richard Smith <richard-gccbugzilla at metafoo dot co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |richard-gccbugzilla@metafoo
| |.co.uk
--- Comment #2 from Richard Smith <richard-gccbugzilla at metafoo dot co.uk> ---
Your testcase has undefined behavior:
[ i = ++t ]
/*...*/
(t);
The increment and load of 't' are unsequenced.
More information about the Gcc-bugs
mailing list