re PR c++/17972 (const/pure functions result in bad asm)
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 15 Dec 2004 19:14:55 +0000 (19:14 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 15 Dec 2004 19:14:55 +0000 (19:14 +0000)
commit774a9b00ca266a7ce1abbd4d59d6470598256401
treea18fec77f84f3bf26eb79a6bc22ae87ad38cfa21
parent172b87995cadacf87ba6ce1517b8a49acc3db0ae
re PR c++/17972 (const/pure functions result in bad asm)

PR c++/17972
* tree-inline.c (expand_call_inline): Set TREE_SIDE_EFFECTS
on the STMT_EXPR wrapping up the inlined body.

From-SVN: r92210
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/inline9.C [new file with mode: 0644]
gcc/tree-inline.c