copy_loop_headers patch disappeared?!
Arpad Beszedes
beszedes@cc.u-szeged.hu
Wed Mar 12 13:17:00 GMT 2003
Dear all,
According to the ChangeLog:
Wed Mar 5 15:45:40 CET 2003 Jan Hubicka <jh@suse.cz>
* toplev.c (rest_of_compilation): Do duplicate loop headers when
optimizing for size.
What was the reason for "&& !optimize_size" to disappear before
copy_loop_headers call in toplev.c:rest_of_compilation? The difference
appeared between snapshots 20030303 and 20030310.
The original patch was introduced at:
2002-10-06 Richard Henderson <rth@redhat.com>
PR optimization/2960
* toplev.c (rest_of_compilation): Don't copy_loop_headers if
optimize_size.
And it prevented duplicate loop condition checking when optimizing for
size (although it is faster but the generated code is smaller).
On our testbed it reduces code size by almost 2%, so I would be happy if
it remained the previous version.
Regards,
Arpad Beszedes
--
******************************************************************
* Arpad Beszedes - researcher *
* *
* Research Group on Artificial Intelligence - RGAI *
* Hungarian Academy of Sciences & University of Szeged, Hungary *
* e-mail: beszedes@cc.u-szeged.hu *
* web: http://www.inf.u-szeged.hu/~beszedes *
* tel.: (+36) 62 544145 *
******************************************************************
More information about the Gcc-patches
mailing list