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

            Bug ID: 125776
           Summary: compare debug fail building gettext/intl on x86_64 /
                    aarch64 since r17-1507
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Keywords: wrong-code, wrong-debug
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: iains at gcc dot gnu.org
                CC: pinskia at gcc dot gnu.org
  Target Milestone: ---
            Target: x86_64-linux, x86_64-darwin, aarch64-darwin

Created attachment 64728
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64728&action=edit
preprocessed loadmsgcat.c

reproduces on x86_64 darwin and linux, the stage1 compiler also fails, so it's
likely deterministic rather than a miscompiled compiler.

This causes a bootstrap fail for me, since I build gettext in-tree (but that
can be worked around).

$ ./stage1-gcc/xgcc -Bstage1-gcc -fpreprocessed loadmsgcat.i -O2 -c
-fcompare-debug
xgcc: error: loadmsgcat.i: ‘-fcompare-debug’ failure (length)

apologies, I did not have time to reduce the test case .. but I did do the
bisect.

Reply via email to