re PR c++/84704 (internal compiler error: gimplification failed)
authorJakub Jelinek <jakub@redhat.com>
Mon, 12 Mar 2018 23:39:21 +0000 (00:39 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 12 Mar 2018 23:39:21 +0000 (00:39 +0100)
commit038df1baecf93ad9d17ba7deafb47e99b3e287ad
tree50a4b18f4d9d892def8a79913f59eb011ab21f5a
parent97ca95ac6fb17297f40e160d86c29cbcb3488270
re PR c++/84704 (internal compiler error: gimplification failed)

PR c++/84704
* tree.c (stabilize_reference_1): Return save_expr (e) for
STATEMENT_LIST even if it doesn't have side-effects.

* g++.dg/debug/pr84704.C: New test.

From-SVN: r258470
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/pr84704.C [new file with mode: 0644]
gcc/tree.c