This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/23980] [3.4 Regression] THUMB basic block reordering incorrectly redirects non-simple cond-jump->fallthru
- From: "rearnsha at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Oct 2005 17:10:02 -0000
- Subject: [Bug rtl-optimization/23980] [3.4 Regression] THUMB basic block reordering incorrectly redirects non-simple cond-jump->fallthru
- References: <bug-23980-11386@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from rearnsha at gcc dot gnu dot org 2005-10-07 17:10 -------
The problem here is that we have a complex compare-and-jump insn with side
effects, so the insn can't be simply removed. cfgrtl is getting confused and
is generating code that references a deleted label.
--
rearnsha at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rearnsha at gcc dot gnu dot
| |org
Component|target |rtl-optimization
GCC host triplet|i386-unknown-linux |
Summary|Bad assembly output in Thumb|[3.4 Regression] THUMB basic
|mode with -O2 |block reordering incorrectly
| |redirects non-simple cond-
| |jump->fallthru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23980