[Bug c++/65046] New: -Wabi-tag doesn't warn about variables or function return types

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 12 21:34:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65046

            Bug ID: 65046
           Summary: -Wabi-tag doesn't warn about variables or function
                    return types
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Keywords: ABI
          Severity: blocker
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jason at gcc dot gnu.org

Compiling this testcase with -Wabi-tag doesn't warn about 'a' or change its
mangled name.  This needs to be fixed for GCC 5.

inline namespace foo __attribute ((abi_tag)) {
  struct A { };
};

A a;



More information about the Gcc-bugs mailing list