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

            Bug ID: 121109
           Summary: ICE at O2: verify_flow_info failed
           Product: gcc
           Version: 15.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bic60176 at gmail dot com
  Target Milestone: ---

Created attachment 61880
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61880&action=edit
testcase

Compiler Explorer: https://godbolt.org/z/KqT98dvcx

console:
<source>: In function 'test_9':
<source>:9:6: error: returns_twice call is not first in basic block 12
    9 | void test_9(void) {
      |      ^~~~~~
__analyzer_eval (_102(ab));
<source>:9:6: error: returns_twice call is not first in basic block 14
__analyzer_eval (_120(ab));
<source>:9:6: error: returns_twice call is not first in basic block 28
__analyzer_eval (_246(ab));
<source>:9:6: error: returns_twice call is not first in basic block 30
__analyzer_eval (_264(ab));
during GIMPLE pass: slp
<source>:9:6: internal compiler error: verify_flow_info failed
0x253d385 diagnostic_context::diagnostic_impl(rich_location*,
diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag
(*) [1], diagnostic_t)
        ???:0
0x255f066 internal_error(char const*, ...)
        ???:0
0xbe69a3 verify_flow_info()
        ???:0
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
Compiler returned: 1

Reply via email to