re PR middle-end/68656 (warning about disabled var-tracking uses odd location info)
authorJakub Jelinek <jakub@gcc.gnu.org>
Fri, 4 Dec 2015 18:04:06 +0000 (19:04 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 4 Dec 2015 18:04:06 +0000 (19:04 +0100)
commitb3d5bc621f9c7da0bbac965c610ae2a4044e1a68
treed54e8d57bec108ea41968e0e24fe0a0cdeeb6eec
parent88636b62bc7fae0ef7eaac6a22e5cd8107e69be8
re PR middle-end/68656 (warning about disabled var-tracking uses odd location info)

PR c/68656
* toplev.c (init_asm_output): Pass UNKNOWN_LOCATION instead of
input_location to inform.
(process_options): Use warning_at (UNKNOWN_LOCATION instead of
warning ( and error_at (UNKNOWN_LOCATION instead of error (.
Pass UNKNOWN_LOCATION instead of input_location to fatal_error.

* gcc.target/i386/pr65044.c: Expect error on line 0 rather than
line 1.
* g++.dg/opt/pr34036.C: Expect warning on line 0 rather than line 1.
* gcc.dg/tree-ssa/pr23109.c: Likewise.
* gcc.dg/tree-ssa/recip-5.c: Likewise.
* gcc.dg/pr33007.c: Likewise.

From-SVN: r231292
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr34036.C
gcc/testsuite/gcc.dg/pr33007.c
gcc/testsuite/gcc.dg/tree-ssa/pr23109.c
gcc/testsuite/gcc.dg/tree-ssa/recip-5.c
gcc/testsuite/gcc.target/i386/pr65044.c
gcc/toplev.c