Skip to content

Hotfix: fix pragmas being copied in DupTree.c

Quinten Cabo requested to merge hotfix-fix-pragma-copying into develop

In pretp:rtpf fundef are copied to make the impl functions. In DupTree.c the new pragma atributes added in !420 (merged) where not being copied in DupTree.c. This meant that all but module pragma safe (because the module itself was not copied) disappeared after pretp:rtpf. I don't know how no one noticed this.

In this commit I also add new test to check if #pragma safe is still there after pretp:rtpf just in case.

Merge request reports