Re: [PATCH, ARM] Fix redefinition of cpp macros with #pragma GCC pop,reset

2016-02-23 Thread Kyrill Tkachov
Hi Christian, On 17/02/16 12:50, Christian Bruel wrote: target_option_current_node, used in c-pragma.c to check if a state should be popped or reseted to the previous value, was not set when switching state with #pragma GCC target (I missed to see that, since it is done for pop,reset). So in som

[PATCH, ARM] Fix redefinition of cpp macros with #pragma GCC pop,reset

2016-02-17 Thread Christian Bruel
target_option_current_node, used in c-pragma.c to check if a state should be popped or reseted to the previous value, was not set when switching state with #pragma GCC target (I missed to see that, since it is done for pop,reset). So in some cases the state might not be reset correctly. This patch