diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-08-11 12:34:13 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2022-08-11 12:34:13 +0100 |
commit | f891a13aa2af912584176d2c595c295b77ff5ff9 (patch) | |
tree | 90a38aef7e87f385a58c6cf35c9d9e7788efd4e8 /gcc/rust/backend/rust-compile-resolve-path.cc | |
parent | eca2ac2c23e0c8b438fd696d4f85e35c9210d8dd (diff) | |
download | gcc-f891a13aa2af912584176d2c595c295b77ff5ff9.zip gcc-f891a13aa2af912584176d2c595c295b77ff5ff9.tar.gz gcc-f891a13aa2af912584176d2c595c295b77ff5ff9.tar.bz2 |
Ensure we set TREE_SIDE_EFFECTS on call expressions
When we compiling call expressions the GCC helper has quite a simple
implementation to determine if there are SIDE_EFFECTS we have more
information in the front-end to determine this. This adds a check that
the call expression is deemed to have no side effects ensure we check this
against the fndecl used.
Fixes #1460
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions