On 11/6/23 05:24, Richard Sandiford wrote:
decl_attributes and comp_type_attributes both had code that
iterated over one list of attributes and looked for coresponding
attributes in another list.  This patch makes those lookups
namespace-aware.

Tested on aarch64-linux-gnu & x86_64-linux-gnu.  OK to install?

Richard


gcc/
        * attribs.cc (find_same_attribute): New function.
        (decl_attributes, comp_type_attributes): Use it when looking
        up one list's attributes in another list.
OK
jeff

Reply via email to