PR target/35839
* config/rs6000/rs6000.c (rs6000_check_sdmode): Handle additional
kinds of indirect references.
From-SVN: r134107
+2008-04-08 Janis Johnson <janis187@us.ibm.com>
+
+ PR target/35839
+ * config/rs6000/rs6000.c (rs6000_check_sdmode): Handle additional
+ kinds of indirect references.
+
2008-04-08 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.c (rs6000_output_function_epilogue): Update
return NULL_TREE;
}
- gcc_assert (TREE_CODE (*tp) != ALIGN_INDIRECT_REF);
- gcc_assert (TREE_CODE (*tp) != MISALIGNED_INDIRECT_REF);
-
switch (TREE_CODE (*tp))
{
case VAR_DECL:
case RESULT_DECL:
case REAL_CST:
case INDIRECT_REF:
+ case ALIGN_INDIRECT_REF:
+ case MISALIGNED_INDIRECT_REF:
case VIEW_CONVERT_EXPR:
if (TYPE_MODE (TREE_TYPE (*tp)) == SDmode)
return *tp;