mark match.pd ! not implemented on GENERIC
authorRichard Biener <rguenther@suse.de>
Mon, 3 Aug 2020 08:30:49 +0000 (10:30 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 3 Aug 2020 10:56:34 +0000 (12:56 +0200)
commitf2ec836aa1d6e2ed4fe286ffa661050888f652d1
treece4297a0fb73ecf105ea9ebc714671719cdc7a59
parent2b1c2a4bd9fb555dccde5d67d6da64547064e0e6
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.
gcc/doc/match-and-simplify.texi
gcc/genmatch.c