* varasm.c (output_constant): Recompute CODE after lang-specific fn.

From-SVN: r40008
This commit is contained in:
Richard Kenner 2001-02-23 20:28:58 +00:00 committed by Richard Kenner
parent 8ac2677fbb
commit e82a84c471
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Fri Feb 23 15:28:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* varasm.c (output_constant): Recompute CODE after lang-specific fn.
2001-02-23 Jeffrey Oldham <oldham@codesourcery.com>
* Makefile.in (resource.o): Add params.h dependence.

View File

@ -4229,7 +4229,10 @@ output_constant (exp, size)
directly. Give the front-end a chance to convert EXP to a
language-independent representation. */
if (lang_expand_constant)
exp = (*lang_expand_constant) (exp);
{
exp = (*lang_expand_constant) (exp);
code = TREE_CODE (TREE_TYPE (exp));
}
if (size == 0 || flag_syntax_only)
return;