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

            Bug ID: 95333
           Summary: [11 Regression] error: number of counters in profile
                    data for function ‘exp_attr__find_stream_subprogram’
                    does not match its profile data (counter ‘arcs’,
                    expected 230 and have 210) [-Werror=coverage-mismatch]
                    since r11-200-gdb4062a0cbe00ce4075a4d7f68a2ff
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: ebotcazou at gcc dot gnu.org
  Target Milestone: ---

Since the revision I see bootstrap failure:

$ ../configure --enable-languages=c,c++,lto,ada --disable-multilib
--disable-libsanitizer --disable-werror --with-build-config=bootstrap-lto-lean
&& time make -j128 STAGE1_CFLAGS="-O2 -g" profiledbootstrap

...
cp doc/gcc.1 doc/g++.1
../../gcc/ada/libgnat/s-rident.ads: In function
‘exp_attr__find_stream_subprogram’:
../../gcc/ada/exp_attr.adb:7930:4: error: number of counters in profile data
for function ‘exp_attr__find_stream_subprogram’ does not match its profile data
(counter ‘arcs’, expected 230 and have 210) [-Werror=coverage-mismatch]
../../gcc/ada/exp_attr.adb:7930:4: error: the control flow of function
‘exp_attr__find_stream_subprogram’ does not match its profile data (counter
‘time_profiler’) [-Werror=coverage-mismatch]
gnat1: some warnings being treated as errors
make[3]: *** [../../gcc/ada/gcc-interface/Make-lang.in:138: ada/exp_attr.o]
Error 1
make[3]: *** Waiting for unfinished jobs....
../../gcc/ada/libgnat/s-rident.ads: In function ‘exp_ch3__stream_operation_ok’:
../../gcc/ada/exp_ch3.adb:10727:4: error: number of counters in profile data
for function ‘exp_ch3__stream_operation_ok’ does not match its profile data
(counter ‘arcs’, expected 66 and have 65) [-Werror=coverage-mismatch]
../../gcc/ada/exp_ch3.adb:10727:4: error: the control flow of function
‘exp_ch3__stream_operation_ok’ does not match its profile data (counter
‘time_profiler’) [-Werror=coverage-mismatch]
../../gcc/ada/libgnat/s-rident.ads: In function ‘exp_ch3__predef_deep_spec’:
../../gcc/ada/exp_ch3.adb:10254:4: error: number of counters in profile data
for function ‘exp_ch3__predef_deep_spec’ does not match its profile data
(counter ‘arcs’, expected 28 and have 27) [-Werror=coverage-mismatch]
../../gcc/ada/exp_ch3.adb:10254:4: error: the control flow of function
‘exp_ch3__predef_deep_spec’ does not match its profile data (counter
‘time_profiler’) [-Werror=coverage-mismatch]
gnat1: some warnings being treated as errors
make[3]: *** [../../gcc/ada/gcc-interface/Make-lang.in:138: ada/exp_ch3.o]
Error 1
../../gcc/ada/libgnat/s-rident.ads: In function
‘sem_attr__analyze_attribute__check_stream_attribute.79’:
../../gcc/ada/sem_attr.adb:2330:7: error: number of counters in profile data
for function ‘sem_attr__analyze_attribute__check_stream_attribute.79’ does not
match its profile data (counter ‘arcs’, expected 74 and have 73)
[-Werror=coverage-mismatch]
../../gcc/ada/sem_attr.adb:2330:7: error: the control flow of function
‘sem_attr__analyze_attribute__check_stream_attribute.79’ does not match its
profile data (counter ‘time_profiler’) [-Werror=coverage-mismatch]
gnat1: some warnings being treated as errors
make[3]: *** [../../gcc/ada/gcc-interface/Make-lang.in:140: ada/sem_attr.o]
Error 1
rm gcov.pod fsf-funding.pod lto-dump.pod gfdl.pod gpl.pod cpp.pod gcc.pod
gcov-dump.pod gcov-tool.pod
make[3]: Leaving directory '/home/mliska/Programming/gcc/objdir/gcc'
make[2]: *** [Makefile:4988: all-stagefeedback-gcc] Error 2
make[2]: Leaving directory '/home/mliska/Programming/gcc/objdir'
make[1]: *** [Makefile:24692: stagefeedback-bubble] Error 2
make[1]: Leaving directory '/home/mliska/Programming/gcc/objdir'
make: *** [Makefile:24712: profiledbootstrap] Error 2

Reply via email to