This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]