Skip to content

"&p->a" causes abort when "->" is user-defined

ID0002025: This issue was created automatically from Mantis Issue 2025. Further discussion may take place here.


Id Project Category View Due Date Updated
ID0002025 Frama-Clang Plug-in > clang public 2014-12-11 2015-02-15
Reporter Jochen Assigned To virgile Resolution fixed
Priority normal Severity minor Reproducibility always
Platform frama-c-Neon-20140301+dev-stance OS - OS Version xubuntu-cfe13.10
Product Version - Target Version - Fixed in Version -

Description :

output:

framaCIRGen: src/frama-clang/ACSLTermOrPredicate.h:276: void Acsl::TermOrPredicate::Operator::setLocation(location): Assertion `!_startLocation' failed. Aborted (core dumped) [kernel] user error: Failed to parse C++ file. See Clang messages for more information

The problem disappears if the assertion is replaced by the statement "if (&p->a == 0);".

Attachments

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information