aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-resolve-path.cc
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-08-11 12:00:27 +0000
committerGitHub <noreply@github.com>2022-08-11 12:00:27 +0000
commitb28f1384830dcd2bad277208157710364e28797e (patch)
tree90a38aef7e87f385a58c6cf35c9d9e7788efd4e8 /gcc/rust/backend/rust-compile-resolve-path.cc
parenteca2ac2c23e0c8b438fd696d4f85e35c9210d8dd (diff)
parentf891a13aa2af912584176d2c595c295b77ff5ff9 (diff)
downloadgcc-b28f1384830dcd2bad277208157710364e28797e.zip
gcc-b28f1384830dcd2bad277208157710364e28797e.tar.gz
gcc-b28f1384830dcd2bad277208157710364e28797e.tar.bz2
Merge #1462
1462: Ensure we set TREE_SIDE_EFFECTS on call expressions r=philberty a=philberty 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 Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions