[Bug c++/105851] New: Error: "Duplicate key positions selected" when recreating cfns.h

qcorba at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Jun 5 02:37:51 GMT 2022


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

            Bug ID: 105851
           Summary: Error: "Duplicate key positions selected" when
                    recreating cfns.h
           Product: gcc
           Version: 5.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: qcorba at gmail dot com
  Target Milestone: ---

Below patch was applied to my gcc-5.3.0 build:
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=ec1cc0263f156f70693a62cf17b254a0029f4852

I tried to recreate cfns.h using:
$ gperf -o -C -E -k '1-6,$$' -j1 -D -N 'libc_name_p' -L C++ cfns.gperf cfns.h

But got error: Duplicate key positions selected

It would be successful if the key is changed to '1-6,$'.

Please check.


More information about the Gcc-bugs mailing list