diff mbox

Teach genmatch.c to generate single-use restrictions from flags

Message ID alpine.LSU.2.11.1509150932290.24931@zhemvz.fhfr.qr
State New
Headers show

Commit Message

Richard Biener Sept. 15, 2015, 7:32 a.m. UTC
On Mon, 14 Sep 2015, Bernhard Reutner-Fischer wrote:

> On September 14, 2015 11:23:28 AM GMT+02:00, Richard Biener <rguenther@suse.de> wrote:
> >On Fri, 11 Sep 2015, Bernd Schmidt wrote:
> >
> >> On 07/08/2015 04:39 PM, Richard Biener wrote:
> >> > 
> >> > This introduces a :s flag to match expressions which enforces
> >> > the expression to have a single-use if(!) the simplified
> >> > expression is larger than one statement.
> >> 
> >> This seems to be missing documentation in match-and-simplify.texi.
> >
> >Fixed as follows, built and inspected .info and .pdf on x86_64-linux,
> >applied.
> >
> >Richard.
> >
> >2015-09-14  Richard Biener  <rguenther@suse.de>
> >
> >	* doc/match-and-simplify.texi: Fixup some formatting issues
> >	and document the 's' flag.
> >
> >Index: gcc/doc/match-and-simplify.texi
> >===================================================================
> >--- gcc/doc/match-and-simplify.texi	(revision 227737)
> >+++ gcc/doc/match-and-simplify.texi	(working copy)
> >@@ -186,20 +186,36 @@ preprocessor directives.
> >   (bit_and @@1 @@0))
> > @end smallexample
> > 
> >-Here we introduce flags on match expressions.  There is currently
> >-a single flag, @code{c}, which denotes that the expression should
> >+Here we introduce flags on match expressions.  There used flag
> 
> s/There used flag/The flag used/

Fixed.

Richard.

2015-09-15  Richard Biener  <rguenther@suse.de>

	* doc/match-and-simplify.texi: Fix wording.
diff mbox

Patch

Index: gcc/doc/match-and-simplify.texi
===================================================================
--- gcc/doc/match-and-simplify.texi	(revision 227741)
+++ gcc/doc/match-and-simplify.texi	(working copy)
@@ -228,7 +228,7 @@  preprocessor directives.
   (bit_and @@1 @@0))
 @end smallexample
 
-Here we introduce flags on match expressions.  There used flag
+Here we introduce flags on match expressions.  The flag used
 above, @code{c}, denotes that the expression should
 be also matched commutated.  Thus the above match expression
 is really the following four match expressions: