public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/111262] New: error: count of bb not initialized with -O3
@ 2023-08-31 20:45 dcb314 at hotmail dot com
  2023-08-31 21:37 ` [Bug tree-optimization/111262] " dcb314 at hotmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: dcb314 at hotmail dot com @ 2023-08-31 20:45 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 111262
           Summary: error: count of bb not initialized with -O3
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 55829
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55829&action=edit
gzipped C++ source code

For the attached C++ code, with recent gcc trunk and compiler
flag -O3, does this:

foundBugs $ /home/dcb38/gcc/results.20230824.asan.ubsan/bin/gcc -c -w -O3
bug953.cc
foundBugs $ /home/dcb38/gcc/results.20230825.asan.ubsan/bin/gcc -c -w -O3
bug953.cc
In file included from testing/regtest.cc:31:
testing/cmp.h: In static member function ‘static xoff_t
Regtest<Constants>::CmpDifferentBytes(const FileSpec&, const FileSpec&) [with
Constants = SmallBlock]’:
testing/cmp.h:19:15: error: count of bb 188 not initialized
testing/cmp.h:19:15: error: count of bb 189 not initialized
testing/cmp.h:19:15: error: count of bb 190 not initialized
testing/cmp.h:19:15: error: count of bb 191 not initialized
testing/cmp.h:19:15: error: count of bb 193 not initialized
during GIMPLE pass: vect
testing/cmp.h:19:15: internal compiler error: verify_flow_info failed
0xbb35fa verify_flow_info()
        ../../trunk.year/gcc/cfghooks.cc:287
0x11a6aaf checking_verify_flow_info()
        ../../trunk.year/gcc/cfghooks.h:214
0x11a6aaf cleanup_tree_cfg_noloop(unsigned int)
        ../../trunk.year/gcc/tree-cfgcleanup.cc:1154

The bug first seems to start sometime between g:7e05cd632fab4587
and g:449ab115dece8ac8

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-10-17 13:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-31 20:45 [Bug c++/111262] New: error: count of bb not initialized with -O3 dcb314 at hotmail dot com
2023-08-31 21:37 ` [Bug tree-optimization/111262] " dcb314 at hotmail dot com
2023-09-01  3:08 ` [Bug tree-optimization/111262] [14 Regression] " pinskia at gcc dot gnu.org
2023-09-01  3:15 ` pinskia at gcc dot gnu.org
2023-09-01 18:21 ` dcb314 at hotmail dot com
2023-09-01 18:51 ` dcb314 at hotmail dot com
2023-10-17 12:32 ` rguenth at gcc dot gnu.org
2023-10-17 13:27 ` dcb314 at hotmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).