This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/24177] function returning structure produce very long/slow assembly
- From: "etienne_lorrain at yahoo dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 15 Dec 2016 11:36:35 +0000
- Subject: [Bug tree-optimization/24177] function returning structure produce very long/slow assembly
- Auto-submitted: auto-generated
- References: <bug-24177-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24177
etienne_lorrain at yahoo dot fr changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from etienne_lorrain at yahoo dot fr ---
Closing, code generated by g++ (GCC-Explorer-Build) 7.0.0 20161113
(experimental) from the source is now:
fct2():
subl $40, %esp
leal 12(%esp), %eax
movl $1, 12(%esp)
movl $2, 16(%esp)
movl $3, 20(%esp)
movl $4, 24(%esp)
pushl %eax
call fct3(str*)
addl $44, %esp
ret