From 09c4caddb412aecdcaff708e427e51c84ccde02b Mon Sep 17 00:00:00 2001 From: Jozef Lawrynowicz Date: Tue, 12 Jun 2018 13:07:07 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/doc/sourcebuild.texi | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b77ed1..61784b4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-06-12 Jozef Lawrynowicz + + * doc/sourcebuild.texi: Document usage of line number 0 in verify + compiler messages directives. + 2018-06-12 Matthew Fortune * 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}] ]] @} -- 2.7.4