This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/21676] [4.0/4.1/4.2/4.3 Regression] Optimizer regression: SciMark sparse matrix benchmark
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2008 14:34:37 -0000
- Subject: [Bug rtl-optimization/21676] [4.0/4.1/4.2/4.3 Regression] Optimizer regression: SciMark sparse matrix benchmark
- References: <bug-21676-10607@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from steven at gcc dot gnu dot org 2008-01-12 14:34 -------
Re. comment #7, "Assignment to sum should be moved before if..."
This is called code hoisting, and it is not performed in GCC except with -Os.
See bug 24001, bug 33315, and other reports about the same issue in Bugzilla.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21676