EGCS-1.1.2 compile error on -O3

David Edelsohn dje@watson.ibm.com
Tue Apr 13 10:17:00 GMT 1999


>>>>> Jens Tingleff writes:

Jens> I have just survived compiling installing Berkeley Ptolemy 7.1p1.

Jens> After upgrading to egcs-1.1.2 I got all the files to compile ;-) I did have
Jens> problems with the optimisation on three files (but, unlike egc-1.1, I could
Jens> compile with little/no optimisation - Thank You, everyone who works on EGCS

Jens> http://www.imaginet.fr/~jensting/EGCS-err/index.html
Jens> complete with (GZIP'ed) preprocessed files.
Jens> First few lines of said page:

Jens> egcs-1.1.2 stops with internal error--unrecognizable insn when being asked
Jens> to optimise with -O3 but works fine with little or
Jens> no optimisation.

	I don't know for sure, but I think that part of the problem is
that egcs-1.1 uses "register_operand" predicate for a number of GOT
patterns in the machine description which should be "gpc_reg_operand".
This change already had been applied to the EGCS development sources a
while ago, but was not change in the egcs-1.1 updates.  It will be
included in the forthcoming egcs-1.2 release.

	Maybe someone who has built a recent version of the development
sources for powerpc-linux can try to recompile your examples to see if
they still fail.

David


More information about the Gcc-bugs mailing list