Message ID | CAHODtZSdPjNcRhvyGMvu1ky+yqdNyWVGhr_a4Sig3SRLuOohdg@mail.gmail.com |
---|---|
State | New |
Headers | show |
diff --git a/gcc/opts-common.c b/gcc/opts-common.c index d9bf4d4..24967cc 100644 --- a/gcc/opts-common.c +++ b/gcc/opts-common.c @@ -885,7 +885,7 @@ keep: } } - if (fdiagnostics_color_idx > 1) + if (fdiagnostics_color_idx >= 1) { /* We put the last -fdiagnostics-color= at the first position after argv[0] so it can take effect immediately. */