Commit a6017253 by Jakub Jelinek Committed by Jakub Jelinek

re PR ada/23593 (5 ACATS compiler SEGV c371002 c371003 c52008b cc51004 cc51b03)

	PR ada/23593
	* builtins.c (get_memory_rtx): Don't strip nops
	in between COMPONENT_REFs.

From-SVN: r103578
parent 0305ea8c
2005-08-28 Jakub Jelinek <jakub@redhat.com>
PR ada/23593
* builtins.c (get_memory_rtx): Don't strip nops
in between COMPONENT_REFs.
2005-08-27 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/23463
......
......@@ -1108,13 +1108,6 @@ get_memory_rtx (tree exp, tree len)
mem_expr = TREE_OPERAND (mem_expr, 0);
inner = TREE_OPERAND (inner, 0);
while (TREE_CODE (inner) == NOP_EXPR
|| TREE_CODE (inner) == CONVERT_EXPR
|| TREE_CODE (inner) == NON_LVALUE_EXPR
|| TREE_CODE (inner) == VIEW_CONVERT_EXPR
|| TREE_CODE (inner) == SAVE_EXPR)
inner = TREE_OPERAND (inner, 0);
}
if (mem_expr == NULL)
......
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