https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92817
--- Comment #5 from PaX Team <pageexec at gmail dot com> --- (In reply to Martin Liška from comment #2) > You are right, it's wrong. Can you please explain to me what control-flow > integrity check do you use? it's my own called RAP (Reuse Attack Protector, see https://pax.grsecurity.net/docs/PaXTeam-H2HC15-RAP-RIP-ROP.pdf). a public version for linux (the kernel) is available in PaX and grsecurity though i think that older version won't find this problem as it didn't handle internal types like this at the time.