[Bug c/68656] [4.9/5/6 Regression] warning about disabled var-tracking uses odd location info
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 4 18:04:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68656
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Dec 4 18:04:06 2015
New Revision: 231292
URL: https://gcc.gnu.org/viewcvs?rev=231292&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-family/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/opt/pr34036.C
trunk/gcc/testsuite/gcc.dg/pr33007.c
trunk/gcc/testsuite/gcc.dg/tree-ssa/pr23109.c
trunk/gcc/testsuite/gcc.dg/tree-ssa/recip-5.c
trunk/gcc/testsuite/gcc.target/i386/pr65044.c
trunk/gcc/toplev.c
More information about the Gcc-bugs
mailing list