https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81357
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW Severity|normal |enhancement Assignee|qing.zhao at oracle dot com |unassigned at gcc dot gnu.org --- Comment #14 from Andrew Pinski <pinskia at gcc dot gnu.org> --- We get now on the trunk: adrp x1, .LANCHOR0 add w2, w0, 1 add w0, w0, 1 str x2, [x1, #:lo12:.LANCHOR0] ret Which started in GCC 9 which added 2->2 combine.