[cfe-dev] [RFC] Bump up clang's __GNUC_MINOR__

PaX Team pageexec at freemail.hu
Sat May 12 08:20:10 PDT 2012

On 12 May 2012 at 10:18, Rafael EspĂ­ndola wrote:

> Pretending to be an old gcc protects us from some of the more obscure
> gcc features used in glibc. test/CodeGen/pr9614.c has some cases that
> we already have to handle.

i'd like to add that pretending to be gcc 4.5 or newer will also require support
for attribute((__cold__)) and "asm goto" stmts that are used in linux extensively
(and there's possibly more, these are the ones i remember from the code).

More information about the cfe-dev mailing list