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

            Bug ID: 95600
           Summary: [11 regression] tree-prof/indir-call-prof-2.c fails on
                    armeb-linux-gnueabihf since r11-830
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: clyon at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

Hi,

Since r11-830 (g:85bce484d37fdda9c7eadb9bdcdb1ded891462bb), I've noticed
regressions on armeb-linux-gnueabihf:
gcc.dg/tree-prof/indir-call-prof-2.c compilation,  -fprofile-use -D_PROFILE_USE
gcc.dg/tree-prof/indir-call-prof.c compilation,  -fprofile-use -D_PROFILE_USE
gcc.dg/tree-prof/pr59003.c compilation,  -fprofile-use -D_PROFILE_USE
gcc.dg/tree-prof/val-prof-2.c scan-ipa-dump profile "Transformation done:
div/mod by constant 256"
gcc.dg/tree-prof/val-prof-6.c compilation,  -fprofile-use -D_PROFILE_USE

gcc.log says:
/gcc/testsuite/gcc.dg/tree-prof/indir-call-prof-2.c: In function 'sub1':
/gcc/testsuite/gcc.dg/tree-prof/indir-call-prof-2.c:10:1: warning: profile for
function 'sub1' not found in profile data [-Wmissing-profile]
/gcc/testsuite/gcc.dg/tree-prof/indir-call-prof-2.c: In function 'add1':
/gcc/testsuite/gcc.dg/tree-prof/indir-call-prof-2.c:4:1: warning: profile for
function 'add1' not found in profile data [-Wmissing-profile]
FAIL: gcc.dg/tree-prof/indir-call-prof-2.c compilation,  -fprofile-use
-D_PROFILE_USE
UNRESOLVED: gcc.dg/tree-prof/indir-call-prof-2.c

/gcc/testsuite/gcc.dg/tree-prof/pr59003.c: In function 'foo':
/gcc/testsuite/gcc.dg/tree-prof/pr59003.c:9:10: error: corrupted value profile:
stringops profile counter (28246016 out of 100001) inconsistent with
basic-block count (100001)
compiler exited with status 1
FAIL: gcc.dg/tree-prof/pr59003.c compilation,  -fprofile-use -D_PROFILE_USE
UNRESOLVED: gcc.dg/tree-prof/pr59003.c execution,    -fprofile-use
-D_PROFILE_USE


/gcc/testsuite/gcc.dg/tree-prof/val-prof-6.c: In function 't':
/gcc/testsuite/gcc.dg/tree-prof/val-prof-6.c:8:3: error: corrupted value
profile: stringops profile counter (28246016 out of 1000) inconsistent with
basic-block count (1000)
compiler exited with status 1
FAIL: gcc.dg/tree-prof/val-prof-6.c compilation,  -fprofile-use -D_PROFILE_USE
UNRESOLVED: gcc.dg/tree-prof/val-prof-6.c execution,    -fprofile-use
-D_PROFILE_USE


/gcc/testsuite/gcc.dg/tree-prof/indir-call-prof.c: In function 'setp':
/gcc/testsuite/gcc.dg/tree-prof/indir-call-prof.c:17:6: warning: profile for
function 'setp' not found in profile data [-Wmissing-profile]
/gcc/testsuite/gcc.dg/tree-prof/indir-call-prof.c: In function 'a2':
/gcc/testsuite/gcc.dg/tree-prof/indir-call-prof.c:8:12: warning: profile for
function 'a2' not found in profile data [-Wmissing-profile]
/gcc/testsuite/gcc.dg/tree-prof/indir-call-prof.c: In function 'a1':
/gcc/testsuite/gcc.dg/tree-prof/indir-call-prof.c:3:12: warning: profile for
function 'a1' not found in profile data [-Wmissing-profile]
FAIL: gcc.dg/tree-prof/indir-call-prof.c compilation,  -fprofile-use
-D_PROFILE_USE
UNRESOLVED: gcc.dg/tree-prof/indir-call-prof.c execution,    -fprofile-use
-D_PROFILE_USE

Reply via email to