This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/36598] Failed optimisation of return of struct argment in memcpy-1.c
- From: "hutchinsonandy at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jun 2008 14:33:03 -0000
- Subject: [Bug c/36598] Failed optimisation of return of struct argment in memcpy-1.c
- References: <bug-36598-16013@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from hutchinsonandy at gcc dot gnu dot org 2008-06-22 14:33 -------
Thanks for information
--param sra-max-structure-size=32 does indeed remove test failure and produces
optimal code.
But changing the testcase does not remove the optimization problem - unless
sra-max-structure-size was always used. So there is problem somewhere else to
fix.
See also:
http://gcc.gnu.org/ml/gcc-patches/2007-12/msg01144.html
Andy
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36598