X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Ftoplev.c;h=9f1bb79e8f3b541abee5a61122dc692613ad3ec4;hp=c7e5440504afa003f4e8a5eaf58405c51cc81104;hb=efb9d9ee8e1478917ccbfa1e47447d8dfb63953c;hpb=a869d17ed1730aabcda5c3733c3518267ba19628 diff --git a/gcc/toplev.c b/gcc/toplev.c index c7e5440504a..9f1bb79e8f3 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1360,7 +1360,7 @@ print_switch_values (FILE *file, int pos, int max, for (j = 0; j < cl_options_count; j++) if ((cl_options[j].flags & CL_REPORT) - && option_enabled (&cl_options[j]) > 0) + && option_enabled (j) > 0) pos = print_single_switch (file, pos, max, indent, sep, term, "", cl_options[j].opt_text);