[Patch, Fortran] PR 42353: [OOP] Bogus Error: Name 'vtype$...' at (1) is an ambiguous reference ...

Harald Anlauf anlauf@gmx.de
Sat Jan 2 14:50:00 GMT 2010


Hi Janus,

first of all Happy New Year!

> Argh. Should have checked this myself, sorry. Here is an updated
> patch, which kills this error by adding a special case for vtypes in
> 'gfc_compare_derived_types'. Hope this one works better. I made sure
> that it has no testsuite regressions at least.

I tried your latest patch against fortran-dev and now got an ICE on
ia32.  I boiled this down to the attached testcase which does not
fail with the trunk:

% /opt/gfortran/dev/bin/gfortran gfcbug96d.f90
gfcbug96d.f90: In function ‘cg’:
gfcbug96d.f90:77:0: internal compiler error: in gimplify_expr, at gimplify.c:7175

Cheers!

-- 
-Harald Anlauf


Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gfcbug96d.f90
Type: application/octet-stream
Size: 2477 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100102/3c9fbd47/attachment.obj>


More information about the Fortran mailing list