[Patch, Fortran, 4.4 Regression] PR38152: procedure pointers as module variables

Janus Weil janus@gcc.gnu.org
Wed Apr 8 11:09:00 GMT 2009


Dear Release Managers,

I was wondering what the current status of the 4.4 branch is. Is it
still possible to commit regression fixes? I have this small patch,
which was just approved and applied to trunk. It is a 4.4 regression
(even if not a bad one), pretty simple and low-risk.

Can I apply this to the 4.4 branch or should I wait until the release
has happened?

Cheers,
Janus



---------- Forwarded message ----------
From: Janus Weil <janus@gcc.gnu.org>
Date: 2009/4/7
Subject: [Patch, Fortran] PR38152: procedure pointers as module variables
To: gfortran <fortran@gcc.gnu.org>, gcc patches <gcc-patches@gcc.gnu.org>


Hi all,

here is a one-line fix for a problem with proc_ptr_13.f90 I discovered
today. The test case works as long as it is not compiled with "-g"
(which results in a segfault).
Regression-tested on x86_64-unknown-linux-gnu. Ok for trunk?

Should I also backport this to 4.4? If yes, would this be possible
before the release, or should I wait? It definitely is a regression
(in the way that 4.3 gave a "not implemented" message, while 4.4 gives
an ICE).

Cheers,
Janus


2009-04-07  Janus Weil  <janus@gcc.gnu.org>

       PR fortran/38152
       * trans-decl.c (gfc_get_symbol_decl): Correctly set decl location for
       procedure pointer decls.


2009-04-07  Janus Weil  <janus@gcc.gnu.org>

       PR fortran/38152
       * gfortran.dg/proc_ptr_13.f90: Add "-g" option.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr38152.diff
Type: text/x-patch
Size: 1032 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090408/81c8b440/attachment.bin>


More information about the Gcc-patches mailing list