This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/11180] [avr-gcc] Optimization decrease performance of struct assignment.
- From: "eweddington at cso dot atmel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jul 2007 23:50:35 -0000
- Subject: [Bug target/11180] [avr-gcc] Optimization decrease performance of struct assignment.
- References: <bug-11180-6291@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from eweddington at cso dot atmel dot com 2007-07-24 23:50 -------
Version 4.2.1 offers somewhat better results:
With -O0:
.file "test.c"
/* File "test.c": code 109 = 0x006d ( 74), prologues 18, epilogues 17 */
With -O[123s]:
.file "test.c"
/* File "test.c": code 79 = 0x004f ( 28), prologues 26, epilogues 25 */
At least the code no longer increases in size when optimization is turned on.
Dmitry, are the results for 4.2.1 acceptable for this bug report?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11180