Comments (10)
Consider invoking it as goto-gcc
(note the extra g
).
from cbmc.
Nope... still fails with:
rodchap@f4d4889dcf6d arrays % goto-gcc --function ctcc_harness -DCBMC -o ar.goto ar.c
/opt/gcc-13.1.0-aarch64/lib/gcc/aarch64-apple-darwin21/13.1.0/include/stddef.h:433:1: error: syntax error before '__float128'
__float128 __max_align_f128 __attribute__((__aligned__(__alignof(__float128))));
PARSING ERROR
from cbmc.
It seems that goto-cc predefines _Float128 but not __float128
The latter is expected by GCC's stddef.h when APPLE , aarch64 are defined and STDC_VERSION >= 201112
from cbmc.
I will try to reproduce - we have support for __float128
conditional on what compiler family and version we believe we are running under. Apparently we are messing something up (possibly because we assume clang when on macOS). I suppose you have GCC 13 installed via brew?
from cbmc.
No... it's from here: https://github.com/simonjwright/distributing-gcc/releases/tag/gcc-13.2.0-aarch64
This includes the Ada compiler.
from cbmc.
I will try to reproduce - we have support for
__float128
conditional on what compiler family and version we believe we are running under. Apparently we are messing something up (possibly because we assume clang when on macOS). I suppose you have GCC 13 installed via brew?
We'll need to enable a few more types when on ARM. GCC has these as well, it's not just clang.
from cbmc.
We'll need to enable a few more types when on ARM. GCC has these as well, it's not just clang.
#8319 fixes __float128
; I don't know which other types we might need to add? (__float80
is not supported by GCC it seems.)
from cbmc.
#8319 fixes
__float128
; I don't know which other types we might need to add? (__float80
is not supported by GCC it seems.)
We also need to check __fp16
.
from cbmc.
We also need to check
__fp16
.
Hmm, yes, but that one we haven't yet got any support for. We need to figure out whether we can use the same conditions for enabling it as we do for __bf16
.
from cbmc.
__fp16
support will be added by #8323.
from cbmc.
Related Issues (20)
- Spurious pointer-out-of-bounds-error
- --refine imprecision
- CBMC 5.95.1 crashes on proof of simple array equality function HOT 7
- Inconsistency in the results by different SMT solvers HOT 3
- CBMC wavefront does not terminate on simple decreases clause in loop HOT 7
- Incorrect result for --external-sat-solver z3 option HOT 2
- CBMC 6.0.0-alpha crashes on array copy function HOT 1
- [QUESTION] Conversion Error HOT 4
- Generating GOTO-programs as front-end to other tool HOT 2
- String abstraction crash on very simple C program
- Zero-termination assertion fails on zero-terminated strings
- CBMC contracts crash when dynamic allocation is not in the harness. HOT 5
- Non-termination of proof on simple array copy example HOT 3
- CBMC 6.0.0-preview fails with mal-formed SMT HOT 13
- Opened in error - apologies. Please delete or close.
- CBMC-6.0.0 fails if local variable name overloads name of quantified variable in contract HOT 2
- no bounds check assertion HOT 1
- Unwind Issue: How to make a loop inductive? HOT 46
- aarch64: error: incompatible type for argument 1 of '__CPROVER_OBJECT_SIZE
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cbmc.