This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/12799] [3.4 regression] faulty mov->add change clobbers the CC register
- 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: 30 Oct 2003 13:48:03 -0000
- Subject: [Bug optimization/12799] [3.4 regression] faulty mov->add change clobbers the CC register
- References: <20031027231944.12799.pratap@vmware.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12799
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-10-30 13:48 -------
I won't close the PR until the latent problem is fixed on mainline or a specific
decision is made about it, because this is a potential regression in 3.4 wrt to
3.1.x-3.3.x.
As for your testcase: I'll first try to derive a version that fails on mainline
(it's not the case because the generated code is somewhat different on
mainline). If I don't manage to do so, I'll propose your original version.