https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118824
Bug ID: 118824
Summary: `-: ` for dg-warning/error means no column but it is
NOT documented
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Keywords: documentation, internal-improvement
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
While writing a testcase for PR 100904, I needed a dg-error where there is no
column information (traditional cpp does not handle columns that well) and I
could not figure it out why my dg-error was failing but in the end `-:` could
be used as first part of the message and it means column information is
missing.
Also `^[0-9]+:` regex will be the column number that is for the use the
dg-error/dg-warning and that is also not documented.