Skip to content

C front-end: floating-point built-ins are in the symbol table #7175

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
Dec 7, 2022

Conversation

tautschnig
Copy link
Collaborator

It should never be the case that no symbol for __CPROVER_isgreaterf, __CPROVER_isgreaterd and similar floating-point built-ins is present for these are declared in cprover_builtin_headers.h. This commit removes dead code and adds an additional consistency check.

  • Each commit message has a non-empty body, explaining why the change was made.
  • n/a Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
  • n/a The feature or user visible behaviour I have added or modified has been documented in the User Guide in doc/cprover-manual/
  • Regression or unit tests are included, or existing tests cover the modified code (in this case I have detailed which ones those are in the commit message).
  • n/a My commit message includes data points confirming performance improvements (if claimed).
  • My PR is restricted to a single feature or bugfix.
  • n/a White-space or formatting changes outside the feature-related changed lines are in commits of their own.

@codecov
Copy link

codecov bot commented Sep 30, 2022

Codecov Report

Base: 78.38% // Head: 78.36% // Decreases project coverage by -0.02% ⚠️

Coverage data is based on head (fad8023) compared to base (794f6f7).
Patch coverage: 79.85% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #7175      +/-   ##
===========================================
- Coverage    78.38%   78.36%   -0.03%     
===========================================
  Files         1647     1647              
  Lines       190343   189941     -402     
===========================================
- Hits        149196   148842     -354     
+ Misses       41147    41099      -48     
Impacted Files Coverage Δ
src/analyses/invariant_set.cpp 0.00% <0.00%> (ø)
src/analyses/invariant_set.h 0.00% <0.00%> (ø)
src/ansi-c/c_typecheck_base.cpp 83.09% <0.00%> (ø)
src/cpp/cpp_item.h 64.15% <0.00%> (-7.55%) ⬇️
src/cpp/cpp_typecheck_initializer.cpp 29.94% <0.00%> (ø)
src/cpp/expr2cpp.cpp 42.97% <0.00%> (ø)
src/goto-analyzer/unreachable_instructions.cpp 89.01% <ø> (ø)
src/goto-diff/change_impact.cpp 0.00% <0.00%> (ø)
src/goto-instrument/accelerate/accelerate.cpp 32.50% <0.00%> (+0.22%) ⬆️
src/goto-instrument/accelerate/polynomial.cpp 0.00% <0.00%> (ø)
... and 212 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@nwetzler nwetzler self-requested a review September 30, 2022 21:22
@tautschnig tautschnig force-pushed the cleanup/float-builtin branch from d215c1c to 83c1fbf Compare October 27, 2022 09:32
@tautschnig tautschnig force-pushed the cleanup/float-builtin branch 3 times, most recently from 457cdde to 34dad4b Compare November 21, 2022 09:04
It should never be the case that no symbol for `__CPROVER_isgreaterf`,
`__CPROVER_isgreaterd` and similar floating-point built-ins is present
for these are declared in cprover_builtin_headers.h. This commit removes
dead code and adds an additional consistency check.
@tautschnig tautschnig force-pushed the cleanup/float-builtin branch from 34dad4b to fad8023 Compare December 1, 2022 23:44
@peterschrammel peterschrammel removed their assignment Dec 6, 2022
@tautschnig tautschnig merged commit e863241 into diffblue:develop Dec 7, 2022
@tautschnig tautschnig deleted the cleanup/float-builtin branch December 7, 2022 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants