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

            Bug ID: 91062
           Summary: gcc.dg/ipa/ipa-pta-1.c dump contains garbage when gcc
                    was configured with --enable-checking=all
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Keywords: GC
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: amylaar at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu (probably doesn't really matter)
            Target: native or cross

A number of symbol names in the dump file have been replaced by what looks like
ggc erased memory.  The problem can be hidden by adding a suitable min_expand
value,
e.g. (for native unix):

make check-gcc RUNTESTFLAGS='--target_board=unix/--param=ggc-min-expand=30
ipa.exp=ipa-pta-1.c'

on a machine with 16 GB RAM + 8 GB swap.

OTOH, I haven't been able to reproduce this using a compiler that hasn't been
configured with --enable-checking, or merely with --enable-checking=yes, even
when adding --param=ggc-min-expand=0 .

We've originally observed this in a variant of gcc 8.2, so this bug has
probably been around for a while.

Reply via email to