2009-06-28 Paolo Bonzini <bonzini@gnu.org>
commit80e1bfa19e430fa42f5c02972ac55c8dfc10d8c1
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 28 Jun 2009 17:01:16 +0000 (28 17:01 +0000)
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 28 Jun 2009 17:01:16 +0000 (28 17:01 +0000)
treec4b677b4f4b96faeeeb3b82fdd95454ff8e7e03d
parent3fcf767f4bc7223ea813164bf4f2daa041dbb2e9
2009-06-28  Paolo Bonzini  <bonzini@gnu.org>

        * expr.c (expand_expr_real_1): Just use do_store_flag.
        (do_store_flag): Drop support for TRUTH_NOT_EXPR.  Use
        emit_store_flag_force.
        * expmed.c (emit_store_flag_force): Copy here trick
        previously in expand_expr_real_1.  Try reversing the comparison.
        (emit_store_flag_1): Work if target is NULL.
        (emit_store_flag): Work if target is NULL, using the result mode
        from the comparison.  Use split_comparison, restructure final part
        to simplify conditionals.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149032 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expmed.c
gcc/expr.c