PR middle-end/92721 - checking ICE on attribute access redeclaration
authorMartin Sebor <msebor@redhat.com>
Mon, 2 Mar 2020 00:58:45 +0000 (17:58 -0700)
committerMartin Sebor <msebor@redhat.com>
Mon, 2 Mar 2020 00:58:45 +0000 (17:58 -0700)
commit649e174102a8ae2d570616d09aa336b712e1baae
tree0a9d51cdfc11c504a79a9f42d59f35f97847f62e
parent726e292d410fc29812a95eb6d88a2ceb82d9080d
PR middle-end/92721 - checking ICE on attribute access redeclaration

gcc/c-family/ChangeLog:

PR c++/92721
* c-attribs.c (append_access_attrs): Correctly handle attribute.
(handle_access_attribute): Same.

gcc/ChangeLog:

PR c++/92721
* calls.c (init_attr_rdwr_indices): Correctly handle attribute.

gcc/testsuite/ChangeLog:

PR c++/92721
g++.dg/ext/attr-access.C: New test.
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-attribs.c
gcc/calls.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/attr-access.C [new file with mode: 0644]