aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/expr.h')
-rw-r--r--gcc/expr.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index 26c53cf..53cb9a9 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -286,13 +286,11 @@ typedef struct optab
So produce the pointer-to-function directly.
Luckily, these compilers seem to work properly when you
call the pointer-to-function. */
-#define GEN_FCN(CODE) (insn_gen_function[(int) (CODE)])
+#define GEN_FCN(CODE) (insn_data[(int) (CODE)].genfun)
#else
-#define GEN_FCN(CODE) (*insn_gen_function[(int) (CODE)])
+#define GEN_FCN(CODE) (*insn_data[(int) (CODE)].genfun)
#endif
-extern rtx (*const insn_gen_function[]) PROTO ((rtx, ...));
-
/* Enumeration of valid indexes into optab_table. */
enum optab_index
{