cgraphunit.c (analyze_functions): Save input_location, set it to UNKNOWN_LOCATION...
authorJan Hubicka <jh@suse.cz>
Tue, 10 Sep 2013 13:04:36 +0000 (15:04 +0200)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 10 Sep 2013 13:04:36 +0000 (13:04 +0000)
commit4f90d3e08cd1b7696fc29a88056e14388d78fdf6
tree1ba16c2374c0a1fd2be1a0ca9f6816084b6f05ac
parent39e87bafc6df5d2405e7d2bedbe44018a5cd0269
cgraphunit.c (analyze_functions): Save input_location, set it to UNKNOWN_LOCATION and restore it at the end.

2013-09-10  Jan Hubicka  <jh@suse.cz>
    Paolo Carlini  <paolo.carlini@oracle.com>

* cgraphunit.c (analyze_functions): Save input_location, set it
to UNKNOWN_LOCATION and restore it at the end.

/cp
2013-09-10  Jan Hubicka  <jh@suse.cz>
    Paolo Carlini  <paolo.carlini@oracle.com>

* error.c (print_instantiation_partial_context_line): If
loc == UNKNOWN_LOCATION return immediately.

/testsuite
2013-09-10  Jan Hubicka  <jh@suse.cz>
    Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/template/cond2.C: Tweak, do not expect a "required from".

Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com>
From-SVN: r202445
gcc/ChangeLog
gcc/cgraphunit.c
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/cond2.C