From: Jozef Lawrynowicz Date: Tue, 12 Jun 2018 13:07:07 +0000 (+0000) Subject: sourcebuild.texi: Document usage of line number 0 in verify compiler messages directives. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=09c4caddb412aecdcaff708e427e51c84ccde02b;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b77ed1af1a..61784b4e839 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 09c00531333..d52183d9c60 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}] ]] @}