https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95293
--- Comment #2 from David Sagan <david.sagan at gmail dot com> --- The gcc documentation says: ‘array-temps’ Warns at run time when for passing an actual argument a temporary array had to be generated. The information generated by this warning is sometimes useful in optimization, in order to avoid such temporaries. But a temporary array does not have to be created in this example. The ifort compiler does not do this.