Bug 95178 - error: array subscript has type char
Summary: error: array subscript has type char
Status: UNCONFIRMED
Alias: None
Product: gcc
Classification: Unclassified
Component: libquadmath (show other bugs)
Version: 10.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-17 19:42 UTC by Roland Illig
Modified: 2020-05-17 19:42 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
patch (509 bytes, patch)
2020-05-17 19:42 UTC, Roland Illig
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Illig 2020-05-17 19:42:56 UTC
Created attachment 48553 [details]
patch

The GCC code should correctly use the <ctype.h> functions.

Compiling GCC with -Werror=char-subscripts should succeed.