diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-08-04 16:13:52 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2022-08-04 16:52:52 +0100 |
commit | 79d0f29464fc0aa68af7b317964aff4bc35af59a (patch) | |
tree | 8bc08398524b309e1e2e4e19862c7dbd145e9341 /gcc/rust/backend/rust-compile-expr.h | |
parent | 6f88307147ac7b63c315aab2e81811e985a867a7 (diff) | |
download | gcc-79d0f29464fc0aa68af7b317964aff4bc35af59a.zip gcc-79d0f29464fc0aa68af7b317964aff4bc35af59a.tar.gz gcc-79d0f29464fc0aa68af7b317964aff4bc35af59a.tar.bz2 |
Fix ICE in audodref mappings when argument is a method call
Similar to the fix in 405d9f1d135771015199546cd1c224ba589ab48d when we have
arguments that our method calls. The id used for storing the autoderef
mappings being the method call itself rather than the receiver argument
it will cause an ICE when we are type checking all arguments for the case
of:
Foo(a, bar.baz(123))
This ensures we store the autoderef mappings directly on the reciever
instead.
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.h')
0 files changed, 0 insertions, 0 deletions