From 86efc2bbbd615a3603a4fdd9fb5bb533afabfc97 Mon Sep 17 00:00:00 2001 From: ian Date: Wed, 19 Aug 2009 15:21:16 +0000 Subject: [PATCH] * doc/md.texi (Insn Canonicalizations): Correct canonicalization of (plus (mult (neg B) C) A). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150937 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 7 ++++++- gcc/doc/md.texi | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 855e4e50926..0831f4cfff5 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 0e516b09fc0..69a23b693b4 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 -- 2.11.0