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).