[Patch, Fortran] PR 51605 - SELECT TYPE - set target attribute

Tobias Burnus burnus@net-b.de
Mon Dec 19 14:38:00 GMT 2011


This patch addresses three issues:

a) For SELECT TYPE: If the selector has the pointer attribute, the 
associate name is a nonpointer, but it gets the target attribute. 
(Rejects-valid issue; was accepted [for the wrong reasons] before PR 
48887 got fixed.)

b) The example "one" is invalid, but the ICE came before the error was 
printed. After adding three "&& attr.class_ok", the ICE is gone.

c) Some preparatory patches for SELECT TYPE support of polymorphic 
coarrays. (Using them will still fail.)

The ICE with the original test case of the PR is not yet fixed. (It's a 
BLOCK label issue, unrelated to polymorphism.)


Build and regtested on x86-64-linux.
OK for the trunk?

Tobias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: select-target.diff
Type: text/x-patch
Size: 5373 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20111219/6c6fd8ff/attachment.bin>


More information about the Fortran mailing list