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 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 >> definitio

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 libg

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 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 machine_

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

2014-10-29 Thread Christophe Lyon
On 29 October 2014 17:31, 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. > > Another place where machine_mode is

[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