https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112709
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|address sanitize and |[13/14 Regression] address |returns_twice causes an ICE |sanitize and returns_twice | |causes an ICE Ever confirmed|0 |1 Last reconfirmed| |2023-11-25 Target Milestone|--- |13.3 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed, the checking is new in GCC 13. Though it seems like GCC 5 produced IR that was ok. I am not 100% sure how we should handle this case either.