[Bug libfortran/95177] error: array subscript has type char

2021-12-18 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 Francois-Xavier Coudert changed: What|Removed |Added Target Milestone|--- |12.0

[Bug libfortran/95177] error: array subscript has type char

2021-12-18 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 Francois-Xavier Coudert changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug libfortran/95177] error: array subscript has type char

2021-12-16 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 --- Comment #18 from Francois-Xavier Coudert --- Patch submitted at https://gcc.gnu.org/pipermail/fortran/2021-December/057198.html

[Bug libfortran/95177] error: array subscript has type char

2021-12-16 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 --- Comment #17 from Roland Illig --- (In reply to Francois-Xavier Coudert from comment #16) > I feel like the "array subscript has type char" error is really a red > herring in this case. I agree, especially for C programmers who are not aware

[Bug libfortran/95177] error: array subscript has type char

2021-12-16 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 Francois-Xavier Coudert changed: What|Removed |Added CC||fxcoudert at gcc dot gnu.org -

[Bug libfortran/95177] error: array subscript has type char

2021-11-14 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 --- Comment #15 from Roland Illig --- (In reply to Steve Kargl from comment #9) > I'm still trying to understand how an > option names -Werror=char-subscripts could trigger an > error. There are no subscripts. There _are_ subscripts, just look

[Bug libfortran/95177] error: array subscript has type char

2021-11-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 --- Comment #14 from anlauf at gcc dot gnu.org --- (In reply to Thomas Koenig from comment #13) > (In reply to anlauf from comment #12) > > > Any reason not to use the macros from safe-ctype.h? > > Can we actually use it? This is part of libibe

[Bug libfortran/95177] error: array subscript has type char

2021-11-11 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 --- Comment #13 from Thomas Koenig --- (In reply to anlauf from comment #12) > Any reason not to use the macros from safe-ctype.h? Can we actually use it? This is part of libiberty, AFAIK, and I am not sure that we link libgfortran against it.

[Bug libfortran/95177] error: array subscript has type char

2021-11-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org ---

[Bug libfortran/95177] error: array subscript has type char

2021-11-11 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libfortran/95177] error: array subscript has type char

2020-05-19 Thread roland.illig at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 --- Comment #10 from Roland Illig --- (In reply to Steve Kargl from comment #9) > That could work. I'm still trying to understand how an > option names -Werror=char-subscripts could trigger an > error. There are no subscripts. The C standard a

[Bug libfortran/95177] error: array subscript has type char

2020-05-19 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 --- Comment #9 from Steve Kargl --- On Wed, May 20, 2020 at 04:10:50AM +, tkoenig at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 > > Thomas Koenig changed: > >What|Removed

[Bug libfortran/95177] error: array subscript has type char

2020-05-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 Thomas Koenig changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug libfortran/95177] error: array subscript has type char

2020-05-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment #

[Bug libfortran/95177] error: array subscript has type char

2020-05-19 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libfortran/95177] error: array subscript has type char

2020-05-19 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #5

[Bug libfortran/95177] error: array subscript has type char

2020-05-19 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 --- Comment #4 from Steve Kargl --- On Tue, May 19, 2020 at 04:38:32AM +, roland.illig at gmx dot de wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 > > --- Comment #2 from Roland Illig --- > >--- Comment #1 from kargl at gcc do

[Bug libfortran/95177] error: array subscript has type char

2020-05-19 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org K

[Bug libfortran/95177] error: array subscript has type char

2020-05-18 Thread roland.illig at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 --- Comment #2 from Roland Illig --- >--- Comment #1 from kargl at gcc dot gnu.org --- >Why cast to unsigned char? The prototypes for tolower(), toupper(), >isdigit(), etc show that the type of the argument is int. See https://stackoverflow.com

[Bug libfortran/95177] error: array subscript has type char

2020-05-18 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C