This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/34627] Incorrect branching with -Ox on hppa
- 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: 3 Feb 2008 12:54:20 -0000
- Subject: [Bug middle-end/34627] Incorrect branching with -Ox on hppa
- References: <bug-34627-7657@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from steven at gcc dot gnu dot org 2008-02-03 12:54 -------
Further investigation shows that simplify_if_then_else() called from
combine.c:5211 (combine.c r131744) turns this:
(if_then_else:SI (ge (reg/v:SI 94 [ i ])
(reg:SI 98))
(neg:SI (reg/v:SI 94 [ i ]))
(reg/v:SI 94 [ i ]))
into this:
(neg:SI (abs:SI (reg/v:SI 94 [ i ])))
which is obviously wrong.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34627