[Bug bootstrap/12358] [3.4 regression] Bootstrap comparison failure!

danglin at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Sep 22 23:26:00 GMT 2003


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

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


danglin at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roger at eyesopen dot com
           Severity|normal                      |critical
            Summary|Bootstrap comparison        |[3.4 regression] Bootstrap
                   |failure!                    |comparison failure!


------- Additional Comments From danglin at gcc dot gnu dot org  2003-09-22 22:19 -------
This regression was introduced by the following patch:

 2003-09-16  Roger Sayle  <roger@eyesopen.com>

        * fold-const.c (tree_swap_operands_p): New function to determine
        the prefered ordering of operands.
        (fold): Numerous clean-ups.  Use tree_swap_operands_p when swapping
        operands to commutative, comparison or ternary operators.  Replace
        uses of TREE_SET_CODE with recursive call to fold.  Remove duplicate
        transformation of A ? B : C into !A ? C : B.



More information about the Gcc-bugs mailing list