Skip to content

Fix type checking of ?: when one operand is void* #143

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

Merged
merged 1 commit into from
Jun 21, 2016

Conversation

tautschnig
Copy link
Collaborator

The C standard requires that types are compatible. For the case of void* vs.
some other pointer type, GCC uses the other pointer type if, and only if, the
void* operand is NULL.

Fixes #134

The C standard requires that types are compatible. For the case of void* vs.
some other pointer type, GCC uses the other pointer type if, and only if, the
void* operand is NULL.

Fixes diffblue#134
@kroening kroening merged commit 91a7a6b into diffblue:master Jun 21, 2016
smowton pushed a commit to smowton/cbmc that referenced this pull request May 9, 2018
smowton pushed a commit to smowton/cbmc that referenced this pull request May 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants