aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-08-03 10:30:49 +0200
committerRichard Biener <rguenther@suse.de>2020-08-03 12:56:34 +0200
commitf2ec836aa1d6e2ed4fe286ffa661050888f652d1 (patch)
treece4297a0fb73ecf105ea9ebc714671719cdc7a59 /gcc/doc
parent2b1c2a4bd9fb555dccde5d67d6da64547064e0e6 (diff)
downloadgcc-f2ec836aa1d6e2ed4fe286ffa661050888f652d1.zip
gcc-f2ec836aa1d6e2ed4fe286ffa661050888f652d1.tar.gz
gcc-f2ec836aa1d6e2ed4fe286ffa661050888f652d1.tar.bz2
mark match.pd ! not implemented on GENERIC
This makes us error when the ! operator modifier is encountered when not targeting GIMPLE. 2020-08-03 Richard Biener <rguenther@suse.de> * genmatch.c (parser::gimple): New. (parser::parser): Initialize gimple flag member. (parser::parse_expr): Error on ! operator modifier when not targeting GIMPLE. (main): Pass down gimple flag to parser ctor. * doc/match-and-simplify.texi: Amend accordingly.
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/match-and-simplify.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/doc/match-and-simplify.texi b/gcc/doc/match-and-simplify.texi
index 41980ac..8752bd2 100644
--- a/gcc/doc/match-and-simplify.texi
+++ b/gcc/doc/match-and-simplify.texi
@@ -374,7 +374,8 @@ for example
which moves the outer @code{plus} operation to the inner arms
of the @code{vec_cond} expression but only if the actual plus
-operations both simplify.
+operations both simplify. Note this is currently only supported
+for code generation targeting @code{GIMPLE}.
As intermediate conversions are often optional there is a way to
avoid the need to repeat patterns both with and without such