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 optimization/11662] [3.3 regression][SPARC] -O1: wrong code for expr. with cast to long long and exclusive or


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11662



------- Additional Comments From ehrhardt at mathematik dot uni-ulm dot de  2003-07-25 16:36 -------
This is a combine bug where CLOBBER expressions, that are meant to
make the combine attempt fail are folded and treated as zero.

It got fixed in 3.4 by this hunk:

2003-07-10  Denis Chertykov  <denisc@overta.ru>
            Richard Kenner <kenner@vlsi1.ultra.nyu.edu>

        * combine.c (gen_binary): Handle the CLOBBER rtx and
        don't build a binary operation with it.

I'll add the relevant backported hunk as a proposed patch. But it'll
take some time to get it bootstrapped and regresison tested.

    regards  Christian


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