aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2001-05-16 19:58:10 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2001-05-16 17:58:10 +0000
commitd96ecaf4339976665eb6a8fa5ff6ab20091ac9ea (patch)
tree6c706e881955ca2c028aee2b86aa15c88ff30293
parent6e20204ff4046f1309800d18ca62a2ea7173adb3 (diff)
downloadgcc-d96ecaf4339976665eb6a8fa5ff6ab20091ac9ea.zip
gcc-d96ecaf4339976665eb6a8fa5ff6ab20091ac9ea.tar.gz
gcc-d96ecaf4339976665eb6a8fa5ff6ab20091ac9ea.tar.bz2
re PR rtl-optimization/185 (Internal compiler error in `fixup_var_refs_1', at function.c:207)
* stmt.c (expand_asm_operands): Be able to offload addressof expression to memory. (PR optimization/185) From-SVN: r42160
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/stmt.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 73b3fd2..fd294e0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Wed May 16 19:53:53 CEST 2001 Jan Hubicka <jh@suse.cz>
+
+ * stmt.c (expand_asm_operands): Be able to offload addressof
+ expression to memory. (PR optimization/185)
+
Wed May 16 18:53:23 CEST 2001 Jan Hubicka <jh@suse.cz>
* combine.c (combine_simplify_rtx): Set op0_mode to VOIDmode after
diff --git a/gcc/stmt.c b/gcc/stmt.c
index e628635..917f46b 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));