]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c-family/ChangeLog
PR c++/94346 - [9/10 Regression] ICE due to handle_copy_attribute since r9-3982
authorMartin Sebor <msebor@redhat.com>
Fri, 27 Mar 2020 20:24:03 +0000 (14:24 -0600)
committerMartin Sebor <msebor@redhat.com>
Fri, 27 Mar 2020 20:33:57 +0000 (14:33 -0600)
commit52f24a9e989300506f812bacb8cc302a8bf03a06
tree771a900ca9fd395bf4d99d442ba34800aa4ac8e8
parentc7fc15f54b321b2522ae26abebb86957de5c6fae
PR c++/94346 - [9/10 Regression] ICE due to handle_copy_attribute since r9-3982

gcc/c-family/ChangeLog:

PR c++/94346
* c-attribs.c (handle_copy_attribute): Avoid passing expressions
to decl_attributes.  Make handling of different kinds of entities
more robust.

gcc/c-c++-common/ChangeLog:

PR c++/94346
* c-c++-common/attr-copy.c: New test.
gcc/c-family/ChangeLog
gcc/c-family/c-attribs.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/attr-copy.c [new file with mode: 0644]