https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86715
Segher Boessenkool <segher at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Status|UNCONFIRMED |RESOLVED --- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> --- "struct Matrix" is over 2GB big. The whole stack is just a few megabytes typically. Passing "struct Matrix" on the stack is entirely unreasonable. The comment right before this sorry() is /* We don't allow passing huge (> 2^30 B) arguments by value. It would cause an overflow later on. */ and this is in generic code. Closing as WONTFIX. Sorry.