https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111818
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |4.9.1 Known to fail| |10.1.0, 5.1.0 Target Milestone|--- |11.5 Ever confirmed|0 |1 Last reconfirmed| |2023-10-15 Summary|GCC: 14: internal compiler |[11/12/13/14 Regression] |error: tree check: expected |ICE with __builtin_memcpy |tree that contains 'decl |with volatile and constants |common' structure, have | |'integer_cst' in | |tree_could_trap_p, at | |tree-eh.cc:2733 | Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. Even though GCC 11.x and 12.x and 13.x don't ICE without checking enabled. The IR is still invalid: _9 ={v} MEM <unsigned int> [(char * {ref-all})&305419896]; That is just wrong.