summaryrefslogtreecommitdiff
path: root/gcc/stmt.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-16 17:58:10 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-16 17:58:10 +0000
commitc4ee384482bd0b648a1a9fdcff713f076ce91804 (patch)
tree6c706e881955ca2c028aee2b86aa15c88ff30293 /gcc/stmt.c
parentcc566b643545a4eaa57eb897217649264f72c2e2 (diff)
downloadgcc-c4ee384482bd0b648a1a9fdcff713f076ce91804.tar.gz
* stmt.c (expand_asm_operands): Be able to offload addressof
expression to memory. (PR optimization/185) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42160 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r--gcc/stmt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c
index e628635fc6a..917f46ba609 100644
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -1757,6 +1757,7 @@ expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line)
op);
else if (GET_CODE (op) == REG
|| GET_CODE (op) == SUBREG
+ || GET_CODE (op) == ADDRESSOF
|| GET_CODE (op) == CONCAT)
{
tree type = TREE_TYPE (TREE_VALUE (tail));