X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Flto-opts.c;h=3cff0ee7430d0d6f07212ae7811585c70e0496e8;hb=eb65953e5fb04b26d1fdb09340cee6e262d601b7;hp=9979e8da8215dd92778bc1f137fd2b5596914040;hpb=284cc4806917b7677ea5e0780a3dbaddadff325a;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/lto-opts.c b/gcc/lto-opts.c index 9979e8da821..3cff0ee7430 100644 --- a/gcc/lto-opts.c +++ b/gcc/lto-opts.c @@ -194,7 +194,7 @@ input_string_block (struct lto_input_block *ib) Among others, optimization options may well be appropriate here. */ static bool -register_user_option_p (size_t code, int type) +register_user_option_p (size_t code, unsigned int type) { if (type == CL_TARGET) return true; @@ -215,7 +215,8 @@ register_user_option_p (size_t code, int type) If relevant to LTO, save it in the user options vector. */ void -lto_register_user_option (size_t code, const char *arg, int value, int type) +lto_register_user_option (size_t code, const char *arg, int value, + unsigned int type) { if (register_user_option_p (code, type)) {