Adriaan van Os wrote:
Anyway, fjf584a.pas and fjf584b.pas reproduce the problem in the testsuite (like PMemList does in units/system.pas).
I can now reproduce the problem, the following should fix it:
--- gcc-4.0.2/gcc/dbxout.c~ 2006-03-21 01:50:59.000000000 +0100 +++ gcc-4.0.2/gcc/dbxout.c 2006-03-30 02:07:55.483660880 +0200 @@ -2455,7 +2455,7 @@ we see following the TREE_TYPE chain. */
t = type; - while (POINTER_TYPE_P (t)) + while (POINTER_TYPE_P (t) && !TYPE_NAME (t)) t = TREE_TYPE (t);
/* RECORD_TYPE, UNION_TYPE, QUAL_UNION_TYPE, and ENUMERAL_TYPE