This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36700] [4.3/4.4 Regression] ICE on calling a function
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Sep 2008 12:13:41 -0000
- Subject: [Bug fortran/36700] [4.3/4.4 Regression] ICE on calling a function
- References: <bug-36700-14178@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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