]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Document IntegerRange in internal documentation.
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Jun 2018 14:41:10 +0000 (14:41 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Jun 2018 14:41:10 +0000 (14:41 +0000)
2018-06-12  Martin Liska  <mliska@suse.cz>

* doc/options.texi: Document IntegerRange.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261498 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/options.texi

index 0fb4ea82c50a72d82248344b0f1540692ed8f05c..610abcd8c0ab3e7d96a5cfea65f0024f459be997 100644 (file)
@@ -1,3 +1,7 @@
+2018-06-12  Martin Liska  <mliska@suse.cz>
+
+       * doc/options.texi: Document IntegerRange.
+
 2018-06-12  Martin Liska  <mliska@suse.cz>
 
        * config/i386/i386.opt: Make MPX-related options as Deprecated.
index 80f1bd38bc6d3136095819316d53318426b9bdc7..b3ca9f6fce6d87796c4e7932f326f8f786ede9e9 100644 (file)
@@ -264,6 +264,11 @@ option handler.  @code{UInteger} should also be used on options like
 @code{-falign-loops}=@var{n} are supported to make sure the saved
 options are given a full integer.
 
+@item IntegerRange(@var{n}, @var{m})
+The options's arguments are integer numbers.  The option's parser
+will check that value of an option is inclusively within the
+range [@var{n}, @var{m}].
+
 @item ToLower
 The option's argument should be converted to lowercase as part of
 putting it in canonical form, and before comparing with the strings