------- Additional Comments From paulthomas2 at wanadoo dot fr 2005-03-03 23:24 ------- Subject: Re: pointer function with RESULT specified returns pointer to "ptr" rather than "*ptr"
Is this connected with functions that return character pointers being so completely screwed up? ----- Original Message ----- From: "tobi at gcc dot gnu dot org" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 03, 2005 11:54 PM Subject: [Bug fortran/19673] pointer function with RESULT specified returns pointer to "ptr" rather than "*ptr" > > ------- Additional Comments From tobi at gcc dot gnu dot org 2005-03-03 > 22:54 ------- > In this particular case (sym vs sym->result) the right thing IMO would be > to > either *always* create a sym->result variable, which takes on all the > functions > attributes, or to *always* copy the attributes of the result variable to > the > function's symbol. This should happen once the function has been > completely > resolved. I believe that the latter option could be more difficult for > the > exact reasons that the standard requires the use of RESULT in certain > cases. > > -- > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19673 > > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19673