[Bug tree-optimization/24177] function returning structure produce very long/slow assembly
etienne_lorrain at yahoo dot fr
gcc-bugzilla@gcc.gnu.org
Thu Dec 15 11:36:00 GMT 2016
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
More information about the Gcc-bugs
mailing list