Commit be8d9ace by Richard Henderson Committed by Richard Henderson

* explow.c (set_mem_attributes): Do nothing for NULL type.

From-SVN: r34523
parent f8bc3f3a
2000-06-13 Richard Henderson <rth@cygnus.com>
* explow.c (set_mem_attributes): Do nothing for NULL type.
Tue Jun 13 14:45:10 2000 Jeffrey A Law (law@cygnus.com)
* config/m68k/openbsd.h (ASM_SPEC): pass down options to assembler
......
......@@ -659,7 +659,15 @@ set_mem_attributes (ref, t, objectp)
tree t;
int objectp;
{
tree type = TYPE_P (t) ? t : TREE_TYPE (t);
tree type;
/* It can happen that type_for_mode was given a mode for which there
is no language-level type. In which case it returns NULL, which
we can see here. */
if (t == NULL_TREE)
return;
type = TYPE_P (t) ? t : TREE_TYPE (t);
/* Get the alias set from the expression or type (perhaps using a
front-end routine) and then copy bits from the type. */
......
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