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

--- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-07-26 
14:52:33 UTC ---
(In reply to comment #5)
> Created attachment 27878 [details]
> source code

Compiles here (w/o errors) on x86-64-gnu-linux with
  gcc version 4.5.3 20110428 [gcc-4_5-branch revision 173117] (SUSE Linux)
However, I do get a link error due to a mishandling of the virtual table in the
compiler. (That's a bug in GCC 4.5 handling of polymorphic variables "CLASS".)

Using GCC 4.6 or 4.8, it compiles and runs, complaining at run time that the
input file could not be found. Thus, it seems as if you need at least 4.6.0
though newer 4.6 releases contain some other bugs fixes and 4.7 contains some
extra fixes for polymorphism. See http://gcc.gnu.org/wiki/OOP for details. (And
for an overview about new features http://gcc.gnu.org/wiki/GFortran#news )

Reply via email to