powerpc-ibm-aix4.2.1.0: 980214 bootstrap fails
Jeffrey A Law
law@cygnus.com
Wed Feb 18 22:21:00 GMT 1998
In message < XFMail.980216194349.pooh@msu.net >you write:
> Bootstrapping of egcs-980214 fails during compilation of
> enquire.c with xgcc, giving a huge amount of errors like:
> ....
> /tmp/cc_72Jaa.s: line 139: Invalid displacement
> ....
> It seems that something broken in code generation because
> assembler file contains symbolic displacements in
> "lwz <displacement>(2)" commands instead of numeric.
> Note, that lwz command using register other than 2
> are valid.
The problem isn't the existance of the symbolic constant, but
rather that the symbolic constant is undefined.
This is a direct consequence of my goof fixing a problem in the
recent varasm.c cleanup.
This patch to the most recent snapshot should fix the problem:
Index: varasm.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/./gcc/varasm.c,v
retrieving revision 1.14
diff -c -3 -p -r1.14 varasm.c
*** varasm.c 1998/02/18 10:38:51 1.14
--- varasm.c 1998/02/19 06:11:45
*************** output_constant_pool (fnname, fndecl)
*** 3563,3573 ****
abort ();
}
- }
-
#ifdef ASM_OUTPUT_SPECIAL_POOL_ENTRY
done: ;
#endif
#ifdef ASM_OUTPUT_POOL_EPILOGUE
ASM_OUTPUT_POOL_EPILOGUE (asm_out_file, fnname, fndecl, pool_offset);
--- 3563,3573 ----
abort ();
}
#ifdef ASM_OUTPUT_SPECIAL_POOL_ENTRY
done: ;
#endif
+
+ }
#ifdef ASM_OUTPUT_POOL_EPILOGUE
ASM_OUTPUT_POOL_EPILOGUE (asm_out_file, fnname, fndecl, pool_offset);
More information about the Gcc
mailing list