This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/37312] -Os significantly faster than -O2 on test case wiht -funroll-all-loops
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Sep 2008 20:45:15 -0000
- Subject: [Bug tree-optimization/37312] -Os significantly faster than -O2 on test case wiht -funroll-all-loops
- References: <bug-37312-7834@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pinskia at gcc dot gnu dot org 2008-09-02 20:45 -------
The main difference between -O2 and -Os is that csum_partial is inlined for -Os
and unrolling is disabled for -Os.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37312