OSDN Git Service

* emit-rtl.c (offset_address): Use simplify_gen_binary rather
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Feb 2002 23:06:16 +0000 (23:06 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Feb 2002 23:06:16 +0000 (23:06 +0000)
commitfac6aae60a6c98e1f11b16661387c5cc8581eea0
treea3e850cb8cef839fc826131f523c7a39605ea9d5
parentbfba49c61e39a87f50ab921d83feabe6e88e331d
    * emit-rtl.c (offset_address): Use simplify_gen_binary rather
        than gen_rtx_PLUS to form the sum.
        * explow.c (force_reg): Rearrange to not allocate new pseudo
        when force_operand returns a register.
        * expr.c (expand_assignment): Allow offset_rtx expansion to
        return a sum.  Do not force addresses into registers.
        (expand_expr): Likewise.
        * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
        to canonicalize arithmetic that didn't simpify.
        (simplify_plus_minus): New argument force; update
        all callers.  Don't split CONST unless we can do something with it,
        and wouldn't lose the constness of the operands.

        * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
        that we generated earlier.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49945 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/emit-rtl.c
gcc/explow.c
gcc/expr.c
gcc/simplify-rtx.c