Commit 13b8c631 by Craig Rodrigues

emit-rtl.c (gen_highpart): Add check for NULL_RTX.

2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        * emit-rtl.c (gen_highpart): Add check for NULL_RTX.

From-SVN: r48586
parent a858ca75
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> 2002-01-06 Jakub Jelinek <jakub@redhat.com>
* objc/objc-act.c (handle_impent): Use assemble_variable to emit * objc/objc-act.c (handle_impent): Use assemble_variable to emit
......
...@@ -1200,7 +1200,7 @@ gen_highpart (mode, x) ...@@ -1200,7 +1200,7 @@ gen_highpart (mode, x)
/* simplify_gen_subreg is not guaranteed to return a valid operand for /* 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, the target if we have a MEM. gen_highpart must return a valid operand,
emitting code if necessary to do so. */ emitting code if necessary to do so. */
if (GET_CODE (result) == MEM) if (result != NULL_RTX && GET_CODE (result) == MEM)
result = validize_mem (result); result = validize_mem (result);
if (!result) if (!result)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment