[patch] Add bit_FXSAVE as an alias for bit_FXSR, for gcc compat

Benjamin Kramer benny.kra at gmail.com
Mon Dec 16 08:49:41 PST 2013


On 14.12.2013, at 19:48, Nico Weber <thakis at chromium.org> wrote:

> Hi,
> 
> it looks like gcc spells bit_FXSR like bit_FXSAVE by mistake, but they also don't want to fix this ( http://gcc.gnu.org/ml/gcc-patches/2012-10/msg02158.html ). This causes for example a compiler ifdef in breakpad ( https://breakpad.appspot.com/924002/ ).
> 
> To make things simpler, the attached patch adds support for gcc's spelling too.

This should be fine. I think a comment to explain that it's for GCC compat would be useful.

- Ben



More information about the cfe-commits mailing list