Frama-C-discuss mailing list archives
This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Frama-c-discuss] *p and p[0]
- Subject: [Frama-c-discuss] *p and p[0]
- From: pascal.cuoq at gmail.com (Pascal Cuoq)
- Date: Fri, 9 Jul 2010 17:18:43 +0800
- In-reply-to: <4C36E6E8.9040906@inria.fr>
- References: <AEF3FB2726363B4CB096A240443255105212E5@SCTEX008.st-cloud.dassault-avion.fr> <4C36E6E8.9040906@inria.fr>
> I'm extremely happy to see such a demonstration of how useful is > to use type integer instead of int in the annotations. Many thanks! I would like to emphasize that I just copied the example from the ACSL tutorial. I would never use "int" when I have a chance to use "integer" in a property. I like it, it somehow reminds me of COBOL. > By the way, I have no idea at all why *p versus p[0] makes a difference. > Is it reproducible ? I had the problem and the students who arrived that far too, so: yes. Actually, the same student who also reported an alt-ergo soundness bug also found that using p[0] was no longer enough to help if he inserted an irrelevant assignment like: Global = 402; at the beginning of the function. The ways of the automatic prover are unfathomable (when proving existential formulas anyway). Pascal PS: Could we also accept the syntax "INTEGER"? That would be paradise.
- Follow-Ups:
- [Frama-c-discuss] *p and p[0]
- From: tzuhsiang.chien at gmail.com (Logan Chien)
- [Frama-c-discuss] *p and p[0]
- References:
- [Frama-c-discuss] *p and p[0]
- From: Dillon.Pariente at dassault-aviation.com (Pariente Dillon)
- [Frama-c-discuss] *p and p[0]
- From: Claude.Marche at inria.fr (Claude Marche)
- [Frama-c-discuss] *p and p[0]
- Prev by Date: [Frama-c-discuss] *p and p[0]
- Next by Date: [Frama-c-discuss] Difference between default and user-defined behavior
- Previous by thread: [Frama-c-discuss] *p and p[0]
- Next by thread: [Frama-c-discuss] *p and p[0]
- Index(es):