https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107793
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Lars Gullik Bjønnes from comment #0) > Created attachment 53936 [details] > Preprocessed source > > This is most likely the same as Bug 107411, but with =pattern instead of > =zero and with GCC 12.2.1. Yes it is the same issue in the end (added -fno-exceptions but the only difference there is argmaper::map ends the basic block): _1 = .DEFERRED_INIT (4, 1, &"D.3055"[0]); D.3055 = _1; arg_7 = .DEFERRED_INIT (8, 1, &"arg"[0]); _2 = (char) val_8(D); _3 = (int) _2; _4 = arg_mapper::map (&D.3053, _3); D.3055 = _4; arg_11 = &D.3055; The IR are basically the same here even. *** This bug has been marked as a duplicate of bug 107411 ***