diff options
Diffstat (limited to 'gcc/genmodes.c')
-rw-r--r-- | gcc/genmodes.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/genmodes.c b/gcc/genmodes.c index 1a32cdefeab..bb9dbbf508e 100644 --- a/gcc/genmodes.c +++ b/gcc/genmodes.c @@ -958,7 +958,7 @@ inline __attribute__((__always_inline__))\n\ extern __inline__ __attribute__((__always_inline__, __gnu_inline__))\n\ #endif\n\ unsigned char\n\ -mode_size_inline (enum machine_mode mode)\n\ +mode_size_inline (machine_mode mode)\n\ {\n\ extern %sunsigned char mode_size[NUM_MACHINE_MODES];\n\ switch (mode)\n\ @@ -988,7 +988,7 @@ inline __attribute__((__always_inline__))\n\ extern __inline__ __attribute__((__always_inline__, __gnu_inline__))\n\ #endif\n\ unsigned char\n\ -mode_nunits_inline (enum machine_mode mode)\n\ +mode_nunits_inline (machine_mode mode)\n\ {\n\ extern const unsigned char mode_nunits[NUM_MACHINE_MODES];\n\ switch (mode)\n\ @@ -1017,7 +1017,7 @@ inline __attribute__((__always_inline__))\n\ extern __inline__ __attribute__((__always_inline__, __gnu_inline__))\n\ #endif\n\ unsigned char\n\ -mode_inner_inline (enum machine_mode mode)\n\ +mode_inner_inline (machine_mode mode)\n\ {\n\ extern const unsigned char mode_inner[NUM_MACHINE_MODES];\n\ switch (mode)\n\ @@ -1108,7 +1108,7 @@ enum machine_mode\n{"); printf ("#define NUM_INT_N_ENTS %d\n", n_int_n_ents); - puts ("\n#if GCC_VERSION >= 4001\n"); + puts ("\n#if !defined (USED_FOR_TARGET) && GCC_VERSION >= 4001\n"); emit_mode_size_inline (); emit_mode_nunits_inline (); emit_mode_inner_inline (); |