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

            Bug ID: 84380
           Summary: No GTY handling for language-specific target files
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
  Target Milestone: ---

While looking into GC issues, I noticed that a couple of language-dependent
target files have GTY markup, but are not included in target_gtfiles in
config.gcc
(and cannot), but there's also no mechanism to handle them (some
<lang>_target_gtfiles
matching {c, cxx, fortran}_target_objs:

        powerpcspe/powerpcspe-c.c
        rs6000/rs6000-c.c
        s390/s390-c.c
        sol2-cxx.c
        spu/spu-c.c
        vms/vms-c.c

This would need special treatment in config.gcc (defining matching variables)
and in configure.ac to append those lists to the per-language sections of
all_gtfiles.
Simply appending another doesn't work: gengtype complains:

gtyp-input.list:159: duplicate language tag [cp]

Reply via email to