+2001-08-03 Richard Henderson <rth@redhat.com>
+
+ * dbxout.c (dbxout_symbol_location): Flatten subregs first;
+ don't take REGNO of a non-register.
+
2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
* gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
If the decl was from an inline function, then its rtl
is not identically the rtl that was used in this
particular compilation. */
- if (GET_CODE (home) == REG)
- {
- regno = REGNO (home);
- if (regno >= FIRST_PSEUDO_REGISTER)
- return 0;
- }
- else if (GET_CODE (home) == SUBREG)
+ if (GET_CODE (home) == SUBREG)
{
rtx value = home;
if (REGNO (value) >= FIRST_PSEUDO_REGISTER)
return 0;
}
- regno = REGNO (alter_subreg (home));
+ home = alter_subreg (home);
+ }
+ if (GET_CODE (home) == REG)
+ {
+ regno = REGNO (home);
+ if (regno >= FIRST_PSEUDO_REGISTER)
+ return 0;
}
/* The kind-of-variable letter depends on where