This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/36700] [4.3/4.4 Regression] ICE on calling a function



------- Comment #4 from pault at gcc dot gnu dot org  2008-09-14 12:13 -------
This is caused by my fix for the regression PR32526 and the fix for PR31494.  I
completely overlooked the possibility that folk might CALL functions:-)

I have a prospective fix in gfc_match_call:2545, which is where the trouble
starts; add a && !sym->attr.function to the if statement. The confusion between
function and subroutine gets patched up in resolution.

I'm not in a position to either regtest or commit until Thursday. If anybody
feels the need to do either before then, feel free!

Paul


-- 

pault at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pault at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2008-07-02 18:10:59         |2008-09-14 12:13:41
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36700


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]