expression "&this->val" in logic function body causes framaCIRGen abort
ID0002055: **This issue was created automatically from Mantis Issue 2055. Further discussion may take place here.** --- | **Id** | **Project** | **Category** | **View** | **Due Date** | **Updated** | | --- | --- | --- | --- | --- | --- | | ID0002055 | Frama-Clang | Plug-in > clang | public | 2015-01-22 | 2015-02-14 | | | | | | | | | --- | --- | --- | --- | --- | --- | | **Reporter** | Jochen | **Assigned To** | virgile | **Resolution** | fixed | | **Priority** | normal | **Severity** | minor | **Reproducibility** | always | | **Platform** | Neon-20140301+dev-STANCE-Jan2015 | **OS** | - | **OS Version** | xubuntu-cfe13.10 | | **Product Version** | - | **Target Version** | - | **Fixed in Version** | - | ### Description : output: [kernel] Parsing FRAMAC_SHARE/libc/__fc_builtin_for_normalization.i (no preprocessing) [kernel] Parsing 436.cpp (external front-end) 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 Line 6 is just to demonstrate that the same expression is accepted in C++ code. The problem disappears if (1) both "*" and "&" is removed from line 5, or (2) "this->" is removed from line 5. ## Attachments - [436.cpp](/uploads/f2bc89ce2f0ad2fa74cdf8b1dd36eb15/436.cpp)
issue