[PATCH][ARM] Fix/revert fallout from machine_mode change

2014-10-29 Thread Kyrill Tkachov
Hi all, This fixes an arm build failure due to removing the 'enum' keyword from machine_mode. Since libgcc2 is compiled with C rather than C++ we need it there for the definition of CUMULATIVE_ARGS. Another place where machine_mode is used is machine_function which is not needed for libgcc2

Re: [PATCH][ARM] Fix/revert fallout from machine_mode change

2014-10-29 Thread Christophe Lyon
On 29 October 2014 17:31, Kyrill Tkachov kyrylo.tkac...@arm.com wrote: Hi all, This fixes an arm build failure due to removing the 'enum' keyword from machine_mode. Since libgcc2 is compiled with C rather than C++ we need it there for the definition of CUMULATIVE_ARGS. Another place where

Re: [PATCH][ARM] Fix/revert fallout from machine_mode change

2014-10-29 Thread Ramana Radhakrishnan
On Wed, Oct 29, 2014 at 4:31 PM, Kyrill Tkachov kyrylo.tkac...@arm.com wrote: Hi all, This fixes an arm build failure due to removing the 'enum' keyword from machine_mode. Since libgcc2 is compiled with C rather than C++ we need it there for the definition of CUMULATIVE_ARGS. Another place

Re: [PATCH][ARM] Fix/revert fallout from machine_mode change

2014-10-29 Thread Joseph S. Myers
On Wed, 29 Oct 2014, Kyrill Tkachov wrote: Hi all, This fixes an arm build failure due to removing the 'enum' keyword from machine_mode. Since libgcc2 is compiled with C rather than C++ we need it there for the definition of CUMULATIVE_ARGS. But why is CUMULATIVE_ARGS needed for libgcc?

Re: [PATCH][ARM] Fix/revert fallout from machine_mode change

2014-10-29 Thread Ramana Radhakrishnan
On Wed, Oct 29, 2014 at 5:50 PM, Joseph S. Myers jos...@codesourcery.com wrote: On Wed, 29 Oct 2014, Kyrill Tkachov wrote: Hi all, This fixes an arm build failure due to removing the 'enum' keyword from machine_mode. Since libgcc2 is compiled with C rather than C++ we need it there for the