r246401 - in /trunk/gcc: ChangeLog gimplify.c t...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Wed Mar 22 18:45:00 GMT 2017
Author: jakub
Date: Wed Mar 22 18:45:48 2017
New Revision: 246401
URL: https://gcc.gnu.org/viewcvs?rev=246401&root=gcc&view=rev
Log:
PR c++/80129
* gimplify.c (gimplify_modify_expr_rhs) <case COND_EXPR>: Clear
TREE_READONLY on result if writing it more than once.
* g++.dg/torture/pr80129.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/torture/pr80129.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimplify.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list