I have now "almost ready" experimental gcc-4.1.0 port. There are some minor problems but basically 4.1.0 port should be now as good (or as bad...) as 4.0.3 port. I would like to fix some extra problems (most of them not related to port) and add some feature before I make a new snapshot, so ATM I have made port available as patches:
http://www.math.uni.wroc.pl/~hebisch/gpc/gpc-4.1-4.diff.gz
and
http://www.math.uni.wroc.pl/~hebisch/gpc/gcc-4.1-4.diff.gz
The patches are relative to gpc-20060325. gpc diff contains parser diffs. To avoid needless regeneration of parser file touch p/parse.[ch] after patching.
The port should build without problems. There are extra test failures (compared to 3.4.6):
asmtest.pas, fjf395[ab].pas -- test programs expect to much
fjf1102.pas -- unimplemented feature (but works with older older backends)
fjf403b.pas, fjf779[abefg].pas, nicola4c.pas -- port does not detect error/unused variables
fjf395[ab].pas -- wrong tests
fjf322.pas, fjf587b.pas -- spurious warnings