This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/43896] [OOP] ICE in gfc_conv_variable, at fortran/trans-expr.c:551
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Apr 2010 13:30:09 -0000
- Subject: [Bug fortran/43896] [OOP] ICE in gfc_conv_variable, at fortran/trans-expr.c:551
- References: <bug-43896-18842@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from burnus at gcc dot gnu dot org 2010-04-27 13:30 -------
(In reply to comment #13)
> I have not got that far to the linking step. I am converting some code to a
> more OOP style. I have tried to patch my local version but unfrtunately what
> I have downloaded, 4.5_20100422 and 4.5_20100424, do not seem to match in
> the symbol.c with the patch distributed yesterday in the comments. Am I
> getting the wrong versions of the source?
Well, there are three development "branches":
* 4.5 ("gcc-4_5-branch", which you seemingly have downloaded): Last stable
release of GCC, which only sees regression fixes and serious fixes
* 4.6 experimental ("trunk"): The version which will be 4.6.0 in about a year,
which is continuously being modified.
* "fortran-dev": Based on 4.6, but contains some additional fixes for
polymorphism/OOP.
The commit in comment 10 was against fortran-dev, which fixed an additional
problem on Fortran-dev, which was revealed with your example. It does not yet
fix the initial problem - neither on Fortran-dev nor on the trunk (i.e. 4.6.0).
In the next few days, the changes from "fortran-dev" will be merged into the
trunk as "fortran-dev" fixes severals OOP-related issues (but not yet yours).
Dominique (comment 12) used a few patches on top of fortran-dev.
I think the simplest is to wait a few days and then use the 4.6 version (not
4.5_...).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43896