-
Notifications
You must be signed in to change notification settings - Fork 274
goto-instrument: anonymous structs in typedefs #964
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
@tautschnig: FYI |
I have just confirmed that this is already addressed by #858, and have added the above as a regression test. |
I'm sorry, I have spoken too soon as it does only work when using an older version of goto-cc. I'll take a look and will provide an update once properly fixed. |
tautschnig
added a commit
to tautschnig/cbmc
that referenced
this issue
Jun 8, 2017
Follow-up to 99067de, which made expr2c prefer typedef names over original type expressions. Thanks Andreas Stahlbauer for providing the regression tests and help in debugging. Fixes: diffblue#882 Fixes: diffblue#964 Fixes: diffblue#972
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The problem is caused by not dumping names of anonymous structs in typedefs. Example:
Input for goto-cc:
Output of goto-instrument:
GCC output:
clang output:
The text was updated successfully, but these errors were encountered: