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 where machine_mode is used is machine_function which is not
> needed for libgcc2 so it is gated on !defined(USED_FOR_TARGET)
>
> This allows me to build arm-none-eabi.
>
> Ok for trunk?

Ok.

Ramana

>
> 2014-10-29  Kyrylo Tkachov  <kyrylo.tkac...@arm.com>
>
>     * config/arm/arm.h (MACHMODE): Add 'enum' to machine_mode.
>     (struct machine_function): Gate definition on
>     !defined(USED_FOR_TARGET).

Reply via email to