This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
[Patch, fortran] PR31292 - ICE with module procedure interface in a procedure body
- From: "Paul Richard Thomas" <paul dot richard dot thomas at gmail dot com>
- To: "fortran at gcc dot gnu dot org List" <fortran at gcc dot gnu dot org>, "gcc-patches List" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 27 Mar 2007 15:59:19 +0200
- Subject: [Patch, fortran] PR31292 - ICE with module procedure interface in a procedure body
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=p/fIuTCxaQhTgl/pwQaw5teXUmVvLlZ6GjYEPf9vz+raB4E/upje6qKu+up7IEpVhZvonsZPnEk+FHB+OtFEXXNLd3lmO0NvBUdAn6A4Z7gy8vLCTqwgOAtnw8n7/PrHqO3XiV6Z6oCZ/yzuNLWl7DLIUlqFds+GjT20WhA4owU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=aWGoE8CG9Hw35zEfDZCIDYoNQjSSOuL4nzfAN/Z4ypsenpHt5aRmfRiOUJdyKU/3SMVj2UaQ5/d5zAIZvuQZJ7IAp0tSaVmXZqL3arPNK0xyTS76/l36qL82S6zHS3Fp+UN7ianX7UFs9hdqCmGA2QugrhWaJ9okCGZJs8Y3XM4=
:ADDPATCH fortran:
This one really is self-descriptive:) The symbol for the contained
module procedure must be in the module namespace, otehrwise it will
never be associated with the procedure itself. The fix goes to the
top of the namespace tree, checks that this is a namespace and uses
that for gfc_get_symbol.
Bootstrapped and regtested on SUSE10.1/amd64.
OK for trunk?
Paul
--
Saint Augustine - "O Lord, help me to be pure, but not yet"
Attachment:
Change.Logs
Description: Binary data
Attachment:
pr31292.diff
Description: Binary data