Commit e82a84c4 by Richard Kenner Committed by Richard Kenner

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

From-SVN: r40008
parent 8ac2677f
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> 2001-02-23 Jeffrey Oldham <oldham@codesourcery.com>
* Makefile.in (resource.o): Add params.h dependence. * Makefile.in (resource.o): Add params.h dependence.
......
...@@ -4229,7 +4229,10 @@ output_constant (exp, size) ...@@ -4229,7 +4229,10 @@ output_constant (exp, size)
directly. Give the front-end a chance to convert EXP to a directly. Give the front-end a chance to convert EXP to a
language-independent representation. */ language-independent representation. */
if (lang_expand_constant) 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) if (size == 0 || flag_syntax_only)
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment