diff options
author | Martin Sebor <msebor@redhat.com> | 2019-04-01 17:04:10 +0000 |
---|---|---|
committer | Martin Sebor <msebor@gcc.gnu.org> | 2019-04-01 11:04:10 -0600 |
commit | ddeae8c8ac2681f5fb738f78df747782afa6ac15 (patch) | |
tree | 793b61eaa47bfc7ada1b66ad9c0e0e349f14c1ac /gcc/c-family/ChangeLog | |
parent | 8bad0ced9fad845ef61bb3e27c38d004e0ab6d0f (diff) | |
download | gcc-ddeae8c8ac2681f5fb738f78df747782afa6ac15.tar.gz |
PR c/89685 - ICE on attribute copy with a compound expression
gcc/c-family/ChangeLog:
PR c/89685
* c-attribs.c (handle_copy_attribute): Handle references and
non-constant expressions.
gcc/testsuite/ChangeLog:
PR c/89685
* gcc.dg/attr-copy-8.c: New test.
* g++.dg/ext/attr-copy-2.C: New test.
From-SVN: r270062
Diffstat (limited to 'gcc/c-family/ChangeLog')
-rw-r--r-- | gcc/c-family/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index e10baba8a72..cf73a1cad1c 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2019-04-01 Martin Sebor <msebor@redhat.com> + + PR c/89685 + * c-attribs.c (handle_copy_attribute): Handle references and + non-constant expressions. + 2019-03-22 Jakub Jelinek <jakub@redhat.com> PR c++/87481 |