diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2022-06-17 17:01:31 +0200 |
---|---|---|
committer | Uros Bizjak <ubizjak@gmail.com> | 2022-06-17 17:02:25 +0200 |
commit | 1f8278bfcfc7f7157bf2b405471e67dd5097636b (patch) | |
tree | 7f052ad695f3635dbdd7485eb60fea53c53bc567 /libgo | |
parent | 1d6044c250e3badfa2a403fee670b295106bf4fc (diff) | |
download | gcc-1f8278bfcfc7f7157bf2b405471e67dd5097636b.zip gcc-1f8278bfcfc7f7157bf2b405471e67dd5097636b.tar.gz gcc-1f8278bfcfc7f7157bf2b405471e67dd5097636b.tar.bz2 |
i386: Fix assert in ix86_function_arg [PR105970]
The mode of pointer argument should equal ptr_mode, not Pmode.
2022-06-17 Uroš Bizjak <ubizjak@gmail.com>
gcc/ChangeLog:
PR target/105970
* config/i386/i386.cc (ix86_function_arg): Assert that
the mode of pointer argumet is equal to ptr_mode, not Pmode.
gcc/testsuite/ChangeLog:
PR target/105970
* gcc.target/i386/pr105970.c: New test.
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions