I compiled up 1.9.77 with gcc4 using these patches with the following 4 internal gcc4 compiler errors.
– gcc#19299# gimplify.c:368
– gcc#20008# stmt.c:2397 (though this patch works around)
– gcc#20022# segfault in binfilter
– gcc#20023# segfault in sw
Bugs which affect gcc34 and gcc4
– AbstractMethodError libgcj runtime crash
– the slideshow crasher, but this is being worked around in ooo itself.