[Bug testsuite/71489] New: [7 regression] gcc.dg/tree-ssa/attr-hotcold-2.c FAILs

ro at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 10 08:46:00 GMT 2016


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

            Bug ID: 71489
           Summary: [7 regression] gcc.dg/tree-ssa/attr-hotcold-2.c FAILs
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: hubicka at gcc dot gnu.org
  Target Milestone: ---
              Host: i386-pc-solaris2.*, sparc-sun-solaris2.*
            Target: i386-pc-solaris2.*, sparc-sun-solaris2.*
             Build: i386-pc-solaris2.*, sparc-sun-solaris2.*

Between 20160606 and 20160609, the gcc.dg/tree-ssa/attr-hotcold-2.c test
started
to error out:

+ERROR: gcc.dg/tree-ssa/attr-hotcold-2.c: error executing dg-final: syntax
error in target selector "profile_estimate"
+UNRESOLVED: gcc.dg/tree-ssa/attr-hotcold-2.c: error executing dg-final: syntax
error in target selector "profile_estimate"

This is due to a syntax error in Jan's last change:

/* { dg-final { scan-tree-dump-times 1 "hot label heuristics" 1
"profile_estimat
e" } } */
/* { dg-final { scan-tree-dump-times 1 "cold label heuristics" 1
"profile_estima
te" } } */

The first arg to scan-tree-dump times is supposed to be a regexp, not a count.
But even with that fixed, the testcase FAILs:

FAIL: gcc.dg/tree-ssa/attr-hotcold-2.c scan-tree-dump-times profile_estimate
"block 4, loop depth 0, count 0, freq [1-4][^0-9]" 1

;; basic block 4, loop depth 0, count 0, freq 2, maybe hot
;;   basic block 4, loop depth 0, count 0, freq 2, maybe hot
;;   basic block 4, loop depth 0, count 0, freq 2

FAIL: gcc.dg/tree-ssa/attr-hotcold-2.c scan-tree-dump-times profile_estimate
"block 5, loop depth 0, count 0, freq [6-9][0-9][0-9][0-9]" 1

;; basic block 5, loop depth 0, count 0, freq 7660, maybe hot
;;   basic block 5, loop depth 0, count 0, freq 7660, maybe hot
;;   basic block 5, loop depth 0, count 0, freq 7660, maybe hot

This is a regression from the gcc-6 branch.

  Rainer


More information about the Gcc-bugs mailing list