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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
                 CC|                            |hubicka at gcc dot gnu.org
           Assignee|marxin at gcc dot gnu.org          |unassigned at gcc dot 
gnu.org

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
So it's a bit older:

$ cat pr90026.cc
void *operator new(__SIZE_TYPE__, void *) {__builtin_unreachable (); }
struct e {
  int *b;
  ~e() { delete b; }
};
void bar();
void foo() {
  e a;
  if (a.b)
    a.b = new int();
  bar();
  new (0) void *;
}

$ g++ -c -fnon-call-exceptions -ftracer -O2 -fchecking pr90026.cc
pr90026.cc: In function ‘void foo()’:
pr90026.cc:13:1: error: missing barrier after block 2
   13 | }
      | ^
during RTL pass: outof_cfglayout
pr90026.cc:13:1: internal compiler error: verify_flow_info failed
0xb0309b verify_flow_info()
        /home/marxin/Programming/gcc/gcc/cfghooks.c:265
0xb1c961 execute
        /home/marxin/Programming/gcc/gcc/cfgrtl.c:3622

Started with r249070, but it's probably just a tracer influencing commit.
I'm unassigning.

Reply via email to