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

            Bug ID: 90990
           Summary: [10 Regression] ICE: error: ‘component_ref’ LHS in
                    clobber statement
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: hubicka at gcc dot gnu.org, marxin at gcc dot gnu.org
  Target Milestone: ---

It's caused by a probably Honza's recent commit. I see it in godot package with
-m32:

GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
modules/bullet/bullet_physics_server.cpp: In member function
‘joint_create_pin’:
modules/bullet/bullet_physics_server.cpp:1211:5: error: ‘component_ref’ LHS in
clobber statement
 1211 | RID BulletPhysicsServer::joint_create_pin(RID p_body_A, const Vector3
&p_local_A, RID p_body_B, const Vector3 &p_local_B) {
      |     ^
MEM[(struct btPoint2PointConstraint *)_294].m_pivotInB
# .MEM_369 = VDEF <.MEM_368>
MEM[(struct btPoint2PointConstraint *)_294].m_pivotInB ={v} {CLOBBER};
during GIMPLE pass: fixup_cfg
modules/bullet/bullet_physics_server.cpp:1211:5: internal compiler error:
verify_gimple failed
0xcbdca1 verify_gimple_in_cfg(function*, bool)
        /home/marxin/Programming/gcc/gcc/tree-cfg.c:5426
0xb9d95f execute_function_todo
        /home/marxin/Programming/gcc/gcc/passes.c:1963
0xb9e88e execute_todo
        /home/marxin/Programming/gcc/gcc/passes.c:2017

I'm going to reduce that.

Reply via email to