This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/34627] Incorrect branching with -Ox on hppa



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]