This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/28726] [4.1 regression] -fsched2-use-superblock produces wrong code
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Sep 2006 19:28:51 -0000
- Subject: [Bug rtl-optimization/28726] [4.1 regression] -fsched2-use-superblock produces wrong code
- References: <bug-28726-13093@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from ebotcazou at gcc dot gnu dot org 2006-09-11 19:28 -------
Subject: Bug 28726
Author: ebotcazou
Date: Mon Sep 11 19:28:41 2006
New Revision: 116856
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116856
Log:
PR rtl-optimization/28726
* sched-deps.c (sched_analyze_reg): New function extracted from...
(sched_analyze_1): ...here. Call it to analyze references to
registers. Treat again writes to a stack register as writing to the
register.
(sched_analyze_2): ...and here. Call it to analyze references to
registers. Treat again reads of a stack register as reading the
register.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/pr28726.c
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/sched-deps.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28726