https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100491
Martin Jambor <jamborm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2021-05-12 Status|UNCONFIRMED |NEW --- Comment #6 from Martin Jambor <jamborm at gcc dot gnu.org> --- It is the char[] part of the declaration that causes this, changing it to a pointer also avoids the issue. In GCC 11, functions with parameters which are these length-less arrays automagically receive an access function type attribute and IPA-SRA does not understand them and so punts. Understanding some attributes, eventually including access, is on my TODO list, meanwhile please use a pointer type.