"Joel Sherrill <[EMAIL PROTECTED]>" <[EMAIL PROTECTED]> writes:
> mips64-rtems4.7, mips-rtems4.7, and powerpc-rtems4.7 all die in Ada at > the same spot. > > ../../xgcc -B../../ -c -g -O2 -W -Wall -gnatpg a-calend.adb -o > a-calend.o > +===========================GNAT BUG DETECTED===================+ > | 4.1.0 20051102 (experimental) (mips-unknown-rtems4.7) GCC error: | > | tree check: expected class | > | Error detected at a-calend.adb:480:24 This is probably PR22533, workaround: Index: ipa-utils.c =================================================================== --- ipa-utils.c (revision 106486) +++ ipa-utils.c (working copy) @@ -217,6 +217,7 @@ get_base_var (tree t) while (!SSA_VAR_P (t) && (!CONSTANT_CLASS_P (t)) + && TREE_CODE (t) != CONSTRUCTOR && TREE_CODE (t) != LABEL_DECL && TREE_CODE (t) != FUNCTION_DECL && TREE_CODE (t) != CONST_DECL) Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."