[Bug driver/68029] Strange behavior of -fdiagnostics-color option

EngyCZ at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Nov 3 08:25:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68029

--- Comment #7 from Jiří Engelthaler <EngyCZ at gmail dot com> ---
Created attachment 36638
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36638&action=edit
diag_color.patch

fdiagnostics_color_idx can by on first place so comparing as > 1 will miss it.
There should be >= 1


More information about the Gcc-bugs mailing list