http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705
--- Comment #19 from Andreas Tobler <andreast at gcc dot gnu.org> 2011-12-30 10:59:03 UTC --- Works too: + sed = "s/\\[\\[noreturn\\]\\]/__attribute__((__noreturn__))/"; + test_text = "#define _Noreturn __attribute__((__noreturn__))"; Looks less cryptic, iow, I do not need to look for __dead2 to understand what is meant.