aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJozef Lawrynowicz <jozef.l@mittosystems.com>2018-06-12 13:07:07 +0000
committerJozef Lawrynowicz <jozefl@gcc.gnu.org>2018-06-12 13:07:07 +0000
commit09c4caddb412aecdcaff708e427e51c84ccde02b (patch)
tree717f0dff829748313a051d7c67631638bcc6efbc /gcc
parent97cad5113bf860876883a9911cbee4b9283d363f (diff)
downloadgcc-09c4caddb412aecdcaff708e427e51c84ccde02b.zip
gcc-09c4caddb412aecdcaff708e427e51c84ccde02b.tar.gz
gcc-09c4caddb412aecdcaff708e427e51c84ccde02b.tar.bz2
sourcebuild.texi: Document usage of line number 0 in verify compiler messages directives.
* doc/sourcebuild.texi: Document usage of line number 0 in verify compiler messages directives. From-SVN: r261493
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/sourcebuild.texi2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0b77ed1..61784b4e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi
index 09c0053..d52183d 100644
--- a/gcc/doc/sourcebuild.texi
+++ b/gcc/doc/sourcebuild.texi
@@ -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}] ]] @}