[Bug target/87370] [7/8/9 Regression] Inefficient return code of struct values

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Dec 14 12:41:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87370

--- Comment #14 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to trashyankes from comment #12)
> (In reply to H.J. Lu from comment #11)
> > (In reply to trashyankes from comment #10)
> > 
> > Which GCC are you using? GCC 8.2 generates:
> 
> GCC Explorer :D
> 
> g++ (GCC-Explorer-Build) 9.0.0 20181211 (experimental)
> 
> https://gcc.godbolt.org/z/7AQXiq
> 
> Code is copy paste of test case.
> Compiler is x86-64
> Important are flags: `-O3 -march=skylake-avx512`
> Without it compile this code fine.

It has been fixed in GCC 9 by r267133.


More information about the Gcc-bugs mailing list