This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/87370] [7/8/9 Regression] Inefficient return code of struct values
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 13 Dec 2018 13:45:28 +0000
- Subject: [Bug target/87370] [7/8/9 Regression] Inefficient return code of struct values
- Auto-submitted: auto-generated
- References: <bug-87370-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87370
--- Comment #13 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.
This is a known issue.