[Bug c++/85557] Incorrect calculation of function arguments with C++17 sequencing rules

ixsci at yandex dot ru gcc-bugzilla@gcc.gnu.org
Mon Apr 30 16:01:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85557

--- Comment #4 from Evgeniy Shcherbina <ixsci at yandex dot ru> ---
Jonathan, yes it *should* be called as foo(1, 2) but the result is as if it is
called as foo(1, 1).

--- Comment #5 from Evgeniy Shcherbina <ixsci at yandex dot ru> ---
Jonathan, yes it *should* be called as foo(1, 2) but the result is as if it is
called as foo(1, 1).


More information about the Gcc-bugs mailing list