https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69624
--- Comment #3 from Jiri Slaby <jirislaby at gmail dot com> --- Preprocessed code: http://www.fi.muni.cz/~xslaby/sklad/af_netlink.i This one results in the code from initial description. I.e. rdx is loaded before a call.