Frama-C Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002197Frama-CKernel > ACSL implementationpublic2015-12-07 18:072015-12-07 18:46
ReporterJochen 
Assigned Tovirgile 
PrioritynormalSeverityfeatureReproducibilityalways
StatusassignedResolutionopen 
PlatformSodium-20150201OSOS Versionxubuntu14.04
Product Version 
Target VersionFixed in Version 
Summary0002197: expression "term!=term" is considered always a predicate, rather than (in some contexts) a term
DescriptionRunning "frama-c 485.c -no-unicode" on the attached program results in an error message 485.c:2:[kernel] user error: comparison of incompatible types: integer and boolean in annotation. However, according to the manual "acsl-implementation-Sodium-20150201.pdf", p.16-17, fig.2.1, 2.2, the ACSL grammar allows for a derivation pred ------> term rel-op term ------> 2 > ( term ) ------> 2 > ( term bin-op term ) ------> 2 > ( id != id ) ------> 2 > (x != x) The remark on consecutive comparison operators (p.18) shouldn't apply due to the additional parantheses around "x!=x".
Additional Information(The file was boiled down from a file generated by a first version of "acslsmith", an adaption of "csmith".)
TagsNo tags attached.
Attached Filesc file icon 485.c [^] (43 bytes) 2015-12-07 18:07 [Show Content]

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2015-12-07 18:07 Jochen New Issue
2015-12-07 18:07 Jochen File Added: 485.c
2015-12-07 18:45 signoles Category Kernel => Kernel > ACSL implementation
2015-12-07 18:46 signoles Assigned To => virgile
2015-12-07 18:46 signoles Status new => assigned


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker