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

            Bug ID: 126356
           Summary: gcc.dg/macro-fusion-[12].c fail when source directory
                    contains “compare”
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: aldyh at gcc dot gnu.org
  Target Milestone: ---

The macro-fusion-[12].c tests are failing on a local build where the source
directory contains “compare” because scan-rtl-dump-not seems to be matching the
entire test, including its filename ??

This seems to fix the problem, but my TCL has never been great.

-/* { dg-final { scan-rtl-dump-not "compare.*insn.*jump_insn.*jump_insn"
"sched2" } } */
+/* { dg-final { scan-rtl-dump-not "\\(compare.*insn.*jump_insn.*jump_insn"
"sched2" } } */

Reply via email to