This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/21767] if-convert leaves invalid REG_EQUAL notes
- From: "amylaar at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jun 2005 18:53:25 -0000
- Subject: [Bug rtl-optimization/21767] if-convert leaves invalid REG_EQUAL notes
- References: <20050526143523.21767.amylaar@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From amylaar at gcc dot gnu dot org 2005-06-01 18:53 -------
(In reply to comment #4)
> Well, 3.4 is open for regression fixes only. Did the testcase ever work before
> 3.4 in any previous GCC version?
P.S.: There used to be an euivalent optimization in jump.c, but that one
explicitly acknowledged the problem with REG_EQUAL notes possibly confusing
cse, and didn't do the transformation if a non-trivial REG_EQUAL note was
present. For details, do:
cvs -z 9 dif -puw -r1.119 -r1.120 jump.c|less
and search for:
x = a; goto l
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21767