2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
* emit-rtl.c (gen_highpart): Add check for NULL_RTX.
From-SVN: r48586
+2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
+
+ * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
+
2002-01-06 Jakub Jelinek <jakub@redhat.com>
* objc/objc-act.c (handle_impent): Use assemble_variable to emit
/* simplify_gen_subreg is not guaranteed to return a valid operand for
the target if we have a MEM. gen_highpart must return a valid operand,
emitting code if necessary to do so. */
- if (GET_CODE (result) == MEM)
+ if (result != NULL_RTX && GET_CODE (result) == MEM)
result = validize_mem (result);
if (!result)