sourcebuild.texi: Document usage of line number 0 in verify compiler messages directives.
authorJozef Lawrynowicz <jozef.l@mittosystems.com>
Tue, 12 Jun 2018 13:07:07 +0000 (13:07 +0000)
committerJozef Lawrynowicz <jozefl@gcc.gnu.org>
Tue, 12 Jun 2018 13:07:07 +0000 (13:07 +0000)
* doc/sourcebuild.texi: Document usage of line number 0 in verify
compiler messages directives.

From-SVN: r261493

gcc/ChangeLog
gcc/doc/sourcebuild.texi

index 0b77ed1..61784b4 100644 (file)
@@ -1,3 +1,8 @@
+2018-06-12  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+       * doc/sourcebuild.texi: Document usage of line number 0 in verify
+       compiler messages directives.
+
 2018-06-12  Matthew Fortune  <mfortune@gmail.com>
 
        * config/mips/mips-cpus.def: New MIPS_CPU for i6500.
index 09c0053..d52183d 100644 (file)
@@ -1177,6 +1177,8 @@ conditions (which are the same as for @code{dg-skip-if}) are met.
 @end table
 
 @subsubsection Verify compiler messages
+Where @var{line} is an accepted argument for these commands, a value of @samp{0}
+can be used if there is no line associated with the message.
 
 @table @code
 @item @{ dg-error @var{regexp} [@var{comment} [@{ target/xfail @var{selector} @} [@var{line}] ]] @}