Adriaan van Os wrote:
Waldek Hebisch wrote:
Adriaan van Os wrote:
Waldek Hebisch wrote:
Yes, it is bug 16649. The following patch extracted from the bug report eliminated ICE. I still get duplicate labels, but I had to skip one hunk which did not apply:
I looks like the missing pieces of the puzzle can be found here http://gcc.gnu.org/ml/gcc-cvs/2004-07/msg01139.html.
As I wrote in the other message, 4.0 still has the same problem. So the above patch is of little help. On the other hand it makes substantial changes to PPC Darwin, which may be dangerous alone (the patch is to 4.0 branch).
I can reproduce the problem with a C program, so I reported it to backend folks:
It looks like the Apple gcc back-end folks now finally woke up http://gcc.gnu.org/ml/gcc-patches/2005-11/msg02158.html.
Yes, a quick hack to gcc-3.4.4 (included as a separate file), together with the below patch (my apologies), solves the remaining compiler problems for position independent code on i686-apple-darwin
Fixed now in the gcc sources for gcc-4.2.0 and above, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22099.
Regards,
Adriaan van Os