about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-07-05 20:27:01 +0200
committerGitHub <noreply@github.com>2019-07-05 20:27:01 +0200
commit58f402aab79347a23f1c0d87fc73c7732542bbe7 (patch)
tree9a044e06ef37123e6e1db709c1794a75753b2fb9 /src/test/ui/thinlto
parent216a1871bbc7326fce5e69ff5965fa026d04a2d0 (diff)
parent050a71b570e49106e8dd6f6282e322220a5edf6f (diff)
downloadrust-58f402aab79347a23f1c0d87fc73c7732542bbe7.tar.gz
rust-58f402aab79347a23f1c0d87fc73c7732542bbe7.zip
Rollup merge of #62380 - eddyb:x64-sysv-regs, r=nagisa
rustc_target: avoid negative register counts in the SysV x86_64 ABI.

Because `needed_{int,sse}` and `{int,sse}_regs` were only used with integer literals, they were inferred to `i32` and `{int,sse}_regs` could therefore be negative.
There was a check which prevented that, but *only* for aggregate arguments, not scalars.

Fixes #62350.

r? @nagisa or @rkruppe
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions