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

--- Comment #11 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #10)
> (In reply to David Malcolm from comment #9)
> > Fixed on trunk for GCC 10 by r276132.
> 
> I still see different colors in the following error as of r276658:
> 
> sci_gateway/fortran/intexecstr.f:96:19:
> 
>    84 |             call icopy(ln,istk(ld),-1,istk(ld+i1),-1)
>       |                          2
> ......
>    96 |       call icopy(6,retu,1,istk(l1),1)
>       |                   1
> Error: Rank mismatch between actual argument at (1) and actual argument at
> (2) (scalar and rank-1)
> 
> (source file is from scilab/modules/functions:
> https://github.com/cooljeanius/scilab/blob/master/scilab/modules/functions/
> sci_gateway/fortran/intexecstr.f for reference)

Eric: what colors are you seeing?  The intent is that they *should* be colored
differently, but the colors of the "1" and "2" in the quoted source should now
match those of the "(1)" and "(2)" in the diagnostic text.

Reply via email to