diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/internal-fn.h | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3e9cb34..cbaa0e6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-04-27 Gabriel Dos Reis <gdr@integrable-solutions.net> + + * internal-fn.h (internal_fn_name_array): Declare. + (internal_fn_flags_array): Likewise. + 2011-04-27 Uros Bizjak <ubizjak@gmail.com> * config/i386/i386.md (ssemodesuffix): Merge with ssevecsize, diff --git a/gcc/internal-fn.h b/gcc/internal-fn.h index c9e660b..6c09411 100644 --- a/gcc/internal-fn.h +++ b/gcc/internal-fn.h @@ -30,19 +30,21 @@ enum internal_fn { /* Return the name of internal function FN. The name is only meaningful for dumps; it has no linkage. */ +extern const char *const internal_fn_name_array[]; + static inline const char * internal_fn_name (enum internal_fn fn) { - extern const char *const internal_fn_name_array[]; return internal_fn_name_array[(int) fn]; } /* Return the ECF_* flags for function FN. */ +extern const int internal_fn_flags_array[]; + static inline int internal_fn_flags (enum internal_fn fn) { - extern const int internal_fn_flags_array[]; return internal_fn_flags_array[(int) fn]; } |