This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix #pragma implementation diagnostics (PR c++/69145, take 2)
- From: Bernd Schmidt <bschmidt at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>, David Malcolm <dmalcolm at redhat dot com>, Dodji Seketeli <dseketel at redhat dot com>
- Cc: Jason Merrill <jason at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 7 Jan 2016 13:49:12 +0100
- Subject: Re: [PATCH] Fix #pragma implementation diagnostics (PR c++/69145, take 2)
- Authentication-results: sourceware.org; auth=none
- References: <20160105182334 dot GZ18720 at tucnak dot redhat dot com> <1452025144 dot 5803 dot 17 dot camel at surprise> <20160107090546 dot GE18720 at tucnak dot redhat dot com>
On 01/07/2016 10:05 AM, Jakub Jelinek wrote:
+ if (IS_ADHOC_LOC (location))
+ {
+ location &= MAX_SOURCE_LOCATION;
+ location
+ = pfile->line_table->location_adhoc_data_map.data[location].locus;
+ }
This looks like it is get_location_from_adhoc_loc.
Bernd