From 8c8fe822d335e7bcdc0ba22945293a2bf1ad8966 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Tue, 12 Jul 2005 21:07:17 +0000 Subject: 2005-06-22 Richard Kenner PR middle-end/20593 * varasm.c (compute_reloc_for_constant): Treat VIEW_CONVER_EXPR the same as the other cast operands. (output_addressed_constants): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@101945 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/varasm.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/varasm.c') diff --git a/gcc/varasm.c b/gcc/varasm.c index 882c2dcd4e3..b5f6eb43808 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -3397,6 +3397,7 @@ compute_reloc_for_constant (tree exp) case NOP_EXPR: case CONVERT_EXPR: case NON_LVALUE_EXPR: + case VIEW_CONVERT_EXPR: reloc = compute_reloc_for_constant (TREE_OPERAND (exp, 0)); break; @@ -3453,6 +3454,7 @@ output_addressed_constants (tree exp) case NOP_EXPR: case CONVERT_EXPR: case NON_LVALUE_EXPR: + case VIEW_CONVERT_EXPR: output_addressed_constants (TREE_OPERAND (exp, 0)); break; -- cgit v1.2.3