From: Ian Lance Taylor Date: Wed, 19 Aug 2009 15:21:16 +0000 (+0000) Subject: md.texi (Insn Canonicalizations): Correct canonicalization of (plus (mult (neg B... X-Git-Tag: releases/gcc-4.5.0~3940 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9302a061421dfbd63626da0559bc65a3c2f87ce4;p=thirdparty%2Fgcc.git md.texi (Insn Canonicalizations): Correct canonicalization of (plus (mult (neg B) C) A). * doc/md.texi (Insn Canonicalizations): Correct canonicalization of (plus (mult (neg B) C) A). From-SVN: r150937 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 855e4e509260..0831f4cfff5f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-08-19 Ian Lance Taylor + + * doc/md.texi (Insn Canonicalizations): Correct canonicalization + of (plus (mult (neg B) C) A). + 2009-08-18 Michael Matz * omp-low.c (optimize_omp_library_calls): Use types_compatible_p @@ -12160,7 +12165,7 @@ (output_init_element): Issue -Wc++-compat warning if needed when initializing a bitfield with enum type. * c-parser.c (c_parser_expression): Set original_type to - original_type of right hand operand of comman operator. + original_type of right hand operand of comma operator. 2009-04-27 Ralf Wildenhues diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 0e516b09fc07..69a23b693b40 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -5625,7 +5625,7 @@ In combinations of @code{neg}, @code{mult}, @code{plus}, and @code{minus}, the @code{neg} operations (if any) will be moved inside the operations as far as possible. For instance, @code{(neg (mult A B))} is canonicalized as @code{(mult (neg A) B)}, but -@code{(plus (mult (neg A) B) C)} is canonicalized as +@code{(plus (mult (neg B) C) A)} is canonicalized as @code{(minus A (mult B C))}. @cindex @code{compare}, canonicalization of