public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #1462
@ 2022-08-11 19:19 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-08-11 19:19 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:b28f1384830dcd2bad277208157710364e28797e
commit b28f1384830dcd2bad277208157710364e28797e
Merge: eca2ac2c23e f891a13aa2a
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date: Thu Aug 11 12:00:27 2022 +0000
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>
Diff:
gcc/rust/rust-gcc.cc | 3 +++
1 file changed, 3 insertions(+)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-11 19:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-11 19:19 [gcc/devel/rust/master] Merge #1462 Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).