diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2010-05-06 13:03:12 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2010-05-06 06:03:12 -0700 |
commit | afa83c1559cb514cdb4e45e584f6e35b641b83a4 (patch) | |
tree | 61bf09bb63f3907d99e0787d1030f28b9ba4d83e | |
parent | 315a02daf18b7148822e1fed4b991a512be09138 (diff) | |
download | gcc-afa83c1559cb514cdb4e45e584f6e35b641b83a4.zip gcc-afa83c1559cb514cdb4e45e584f6e35b641b83a4.tar.gz gcc-afa83c1559cb514cdb4e45e584f6e35b641b83a4.tar.bz2 |
Add argument kind to lto_handle_option.
2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
* lto-lang.c (lto_handle_option): Add argument kind.
From-SVN: r159105
-rw-r--r-- | gcc/lto/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/lto/lto-lang.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 304bf6e..0ff5222 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,7 @@ +2010-05-06 H.J. Lu <hongjiu.lu@intel.com> + + * lto-lang.c (lto_handle_option): Add argument kind. + 2010-05-05 Jan Hubicka <jh@suse.cz> * lto.c (lto_promote_cross_file_statics): Compute boundary based on refs. diff --git a/gcc/lto/lto-lang.c b/gcc/lto/lto-lang.c index 8c4b254..4c90721 100644 --- a/gcc/lto/lto-lang.c +++ b/gcc/lto/lto-lang.c @@ -616,7 +616,8 @@ lto_init_options (unsigned int argc ATTRIBUTE_UNUSED, const char *resolution_file_name; static int -lto_handle_option (size_t scode, const char *arg, int value ATTRIBUTE_UNUSED) +lto_handle_option (size_t scode, const char *arg, + int value ATTRIBUTE_UNUSED, int kind ATTRIBUTE_UNUSED) { enum opt_code code = (enum opt_code) scode; int result = 1; |