[Bug default/28319] abidw - regression in treatment of anonymous enums in structs

gprocida at google dot com sourceware-bugzilla@sourceware.org
Mon Jan 24 17:06:17 GMT 2022


https://sourceware.org/bugzilla/show_bug.cgi?id=28319

gprocida at google dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #14 from gprocida at google dot com ---
Hi Dodji.

1. I mentioned on IRC, there is a bit of debris left after your last commit.

git grep use_enum_binary_only_equality

2. Just for the record, if you think this is working as intended, please
re-close the bug.

When I tested in comment 12, I looked for changes in abidw output and there was
none.

There is a regression in abidiff though.

The two enums in these small code fragments

enum E6 { a6 = 6 } v6;

enum E6 { a6 = 6, b6 = 6 } v6;

are treated as ABI equivalent as they share the same set of enumerator values.

Giuliano.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libabigail mailing list