aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-08-19 16:20:37 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1993-08-19 16:20:37 -0400
commit423012407eef5b91fa84417f05d4db3bc8a2db1a (patch)
tree25b202b697c8a81f3a05f3c20c180d382545bbf3 /gcc/fold-const.c
parent2df46b06a27b26a2b142fc28db58c57985bf0b6e (diff)
downloadgcc-423012407eef5b91fa84417f05d4db3bc8a2db1a.zip
gcc-423012407eef5b91fa84417f05d4db3bc8a2db1a.tar.gz
gcc-423012407eef5b91fa84417f05d4db3bc8a2db1a.tar.bz2
(can_combine_p): Don't reject SUBREG assignments here.
(subst): Instead, do it here, but also allow it in as a nested SUBREG since the inner one will be eliminated. (simplify_and_const_int): Convert (and (neg X) (const_int 1)) to a shift when X is known to be either 0 or 1. From-SVN: r5187
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions