-dtreecheck bug
This issue has evolved from #2259 (closed) and #2261 (closed) which now both work without treecheck but fail through treecheck in phase 21:
** 21: Generating Code ...
**** Tag preparation ...
-> Running syntax tree checks
**** Creating intermediate code macros ...
-> Running syntax tree checks
warning: mandatory attribute ID_AVIS is NULL
...
warning: mandatory attribute ID_AVIS is NULL
OOOOOOOPS, your program crashed the compiler 8-((