Go to file
Tom de Vries f66c70dc03 Add dg-line
Context: there are currently two types of line number supported in
dg-{error,warning,message,bogus} directives: absolute and relative.  With an
absolute line number, it's immediately clear what line number is meant, but
when a line is added at the start of the file, the line number needs to be
updated.  With a relative line number, that problem is solved, but when relative
line numbers become large, it becomes less clear what line it refers to, and
when adding a line inbetween the directive using the relative line number and
the line it refers to, the relative line number still needs to be updated.

Add a directive dg-line with argument varname, that saves the line number
of the directive in a variable varname, which can be used as line number in dg
directives.

2017-04-25  Tom de Vries  <tom@codesourcery.com>

	* lib/gcc-dg.exp (cleanup-after-saved-dg-test): Cleanup line number
	variables.
	(dg-line): New proc.
	(process-message): Handle line number variables.
	* objc.dg/try-catch-12.m: Use dg-line.

From-SVN: r247251
2017-04-25 15:42:35 +00:00
config
contrib download_prerequisites (md5_check): New function emulates Linux 'md5 --check' on macOS. 2017-04-11 16:34:07 +00:00
fixincludes re PR target/68739 (FAIL: 30_threads/call_once/constexpr.cc (test for excess errors)) 2017-02-25 20:29:39 +00:00
gcc Add dg-line 2017-04-25 15:42:35 +00:00
gnattools
gotools
include * ansidecl.h (ATTRIBUTE_PACKED): Fix typo in comment. 2017-04-04 12:19:47 +01:00
INSTALL
intl
libada
libatomic
libbacktrace btest.c (test5): Replace #ifdef guard with 'unused' attribute to fix compile warning when... 2017-03-08 14:21:21 +00:00
libcc1 [libcp1] handle anon aggregates linkage-named by typedefs 2017-04-15 03:28:31 +00:00
libcilkrts
libcpp Regenerate .pot files. 2017-04-24 21:37:39 +01:00
libdecnumber Fix numerous typos in comments 2017-04-03 23:30:56 +01:00
libffi
libgcc Introduce gcov.h header file (PR gcov-profile/80435). 2017-04-19 08:08:44 +00:00
libgfortran close.c: Fix white space in pointer declarations and comment formats where applicable. 2017-04-11 14:51:25 +00:00
libgo libgo: update to Go 1.8.1 release 2017-04-17 22:10:58 +00:00
libgomp omp-low: fix lastprivate/linear lowering for SIMT 2017-04-20 20:21:50 +03:00
libhsail-rt
libiberty libiberty: Limit demangler maximum d_print_comp recursion call depth. 2017-04-21 09:02:03 +00:00
libitm Fix numerous typos in comments 2017-04-03 23:30:56 +01:00
libmpx
libobjc
liboffloadmic
libquadmath
libsanitizer Cherry-pick upstream r299036 from libsanitizer (PR sanitizer/80166). 2017-04-06 13:42:24 +00:00
libssp ssp.c (__guard_setup): Suppress unused variable warning. 2017-04-02 00:35:58 +00:00
libstdc++-v3 PR libstdc++/80506 fix constant used in condition 2017-04-24 14:43:19 +01:00
libvtv
lto-plugin
maintainer-scripts * crontab: Enable snapshots from gcc-7-branch. 2017-04-20 12:51:33 +02:00
zlib re PR bootstrap/79771 (in-tree zlib breaks build) 2017-03-14 23:01:23 -06:00
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
ChangeLog re PR bootstrap/77661 (--enable-maintainer-mode causes in-tree-build of MPC to fail) 2017-04-19 18:49:29 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess * config.guess: Import latest from upstream. 2017-03-18 18:22:06 +00:00
config.rpath
config.sub
configure configure.ac: Enable LTO by default on darwin >= 9. 2017-03-22 17:51:18 +00:00
configure.ac configure.ac: Enable LTO by default on darwin >= 9. 2017-03-22 17:51:18 +00:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS Add RISC-V Maintainers 2017-03-20 16:11:32 +00:00
Makefile.def re PR bootstrap/77661 (--enable-maintainer-mode causes in-tree-build of MPC to fail) 2017-04-19 18:49:29 +00:00
Makefile.in re PR bootstrap/77661 (--enable-maintainer-mode causes in-tree-build of MPC to fail) 2017-04-19 18:49:29 +00:00
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.