[Patch, Fortran] PR49397 - Fix ICE with proc-pointers

Tobias Burnus burnus@net-b.de
Tue Feb 18 20:41:00 GMT 2014


This patch fixes an ICE on valid error - and a missed diagnostic.

Wording from the standard F2008, Corr2:

C729 (R742) A <procedure-name> shall be the name of a module or dummy 
procedure, a specific intrinsic function listed in 13.6 and not marked 
with a bullet ($\bullet$), a procedure point, or a specific intrinsic 
function listed in 13.6 and not marked with a bullet ($\bullet$), or an 
external procedure that is accessed by use or host association, 
referenced in the scoping unit as a procedure, or that has the EXTERNAL 
attribute.


The ICE is a 4.7/4.8/4.9 regression.

Build and regtested on x86-64-gnu-linux.
OK for the trunk and 4.8? What about 4.7?

Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr49397.diff
Type: text/x-patch
Size: 2937 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140218/54e2b45f/attachment.bin>


More information about the Gcc-patches mailing list