diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2001-12-29 21:17:50 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2001-12-29 16:17:50 -0500 |
commit | 44e3910ab7a6842e7435c1015d055c418761fa16 (patch) | |
tree | 5d8109897e5b1960b790a8455ba12d11a4355d06 /gcc/varasm.c | |
parent | 9413de453da4c94d53f3fa21592643a7d6c311bc (diff) | |
download | gcc-44e3910ab7a6842e7435c1015d055c418761fa16.zip gcc-44e3910ab7a6842e7435c1015d055c418761fa16.tar.gz gcc-44e3910ab7a6842e7435c1015d055c418761fa16.tar.bz2 |
varasm.c (decode_addr_const, [...]): Call output_constant_def instead of looking at TREE_CST_RTL.
* varasm.c (decode_addr_const, case INTEGER_CST): Call
output_constant_def instead of looking at TREE_CST_RTL.
From-SVN: r48386
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index 6a3fb7c..aabdd17 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -2366,7 +2366,9 @@ decode_addr_const (exp, value) case COMPLEX_CST: case CONSTRUCTOR: case INTEGER_CST: - x = TREE_CST_RTL (target); + /* This constant should have been output already, but we can't simply + use TREE_CST_RTL since INTEGER_CST doesn't have one. */ + x = output_constant_def (target, 1); break; default: |