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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2024-04-29
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
                 CC|                            |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |ASSIGNED

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 58069
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58069&action=edit
gcc15-pr114876.patch

Untested fix.  Given that there are or at least were implementations which
emitted no characters, I've chosen to use min 0 and all the other values 1,
so it will basically deal with both implementations and make the glibc / ISO
C23 / new POSIX behavior the likely one for warning etc. purposes.

Reply via email to