mirror of git://gcc.gnu.org/git/gcc.git
re PR bootstrap/68168 (r229609 breaks bootstrap)
PR Bootstrap/68168 gcc/fortran/ * openmp.c (resolve_omp_clauses): Pass &n->where when calling gfc_error. From-SVN: r229631
This commit is contained in:
parent
64c7c0953f
commit
d057afcdca
|
@ -1,3 +1,10 @@
|
|||
2015-10-31 Cesar Philippidis <cesar@codesourcery.com>
|
||||
|
||||
PR Bootstrap/68168
|
||||
|
||||
* openmp.c (resolve_omp_clauses): Pass &n->where when calling
|
||||
gfc_error.
|
||||
|
||||
2015-10-30 Cesar Philippidis <cesar@codesourcery.com>
|
||||
|
||||
* gfortran.h (gfc_omp_namespace): Add locus where member.
|
||||
|
|
|
@ -2922,7 +2922,7 @@ resolve_omp_clauses (gfc_code *code, gfc_omp_clauses *omp_clauses,
|
|||
{
|
||||
if (!code && (!n->sym->attr.dummy || n->sym->ns != ns))
|
||||
gfc_error ("Variable %qs is not a dummy argument at %L",
|
||||
n->sym->name, n->where);
|
||||
n->sym->name, &n->where);
|
||||
continue;
|
||||
}
|
||||
if (n->sym->attr.flavor == FL_PROCEDURE
|
||||
|
|
Loading…
Reference in New Issue