trans.c (trans_code): Set backend locus early.
authorJakub Jelinek <jakub@redhat.com>
Fri, 14 May 2010 07:40:06 +0000 (09:40 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 14 May 2010 07:40:06 +0000 (09:40 +0200)
commit88e09c797b51a5351ae3a7c599b530cfb2708be6
treee39ccc528bc3ef0a7db14f0ca3cd31862e8ae8cb
parentc46a5e284eeb2cfdfe882c1ad1e16ffd73eb4173
trans.c (trans_code): Set backend locus early.

* trans.c (trans_code): Set backend locus early.
* trans-decl.c (gfc_get_fake_result_decl): Use source location
of the function instead of current input_location.

* gfortran.dg/gomp/pr44036-1.f90: Adjust.

From-SVN: r159388
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/fortran/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/gomp/pr44036-1.f90