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

            Bug ID: 109929
           Summary: profiledbootstrap failure on aarch64-linux-gnu with
                    graphite optimization
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: xry111 at gcc dot gnu.org
  Target Milestone: ---

Configure GCC trunk with:

../gcc/configure --prefix=$HOME/gcc-trunk --enable-languages=c,c++
--with-system-zlib --disable-fixincludes --disable-werror

Note that --disable-werror is needed to work around PR100416.

And make it with:

make STAGE1_CFLAGS="-O2 -pipe" BOOT_CFLAGS="-O2 -fgraphite-identity -pipe"
profiledbootstrap

Then some error messages shows up during stagetrain, like:

* genhooks: No place specified to document hook TARGET_ASM_OPEN_PAREN
* build/genmodes: ../../gcc/gcc/machmode.def:222: no mode "TI"

etc.

I guess stageprofile compiler is miscompiled, and it miscompiled genhooks and
genmodes then.  Not sure how to debug the issue.

Reply via email to