varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO for INTEGER_CST.
* varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO for INTEGER_CST. From-SVN: r51051
This commit is contained in:
parent
251c13f163
commit
90158e35b8
|
@ -1,3 +1,8 @@
|
|||
2002-03-19 Olivier Hainque <hainque@act-europe.fr>
|
||||
|
||||
* varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO
|
||||
for INTEGER_CST.
|
||||
|
||||
2002-03-19 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* varasm.c (globalize_decl): Get the name from the RTL, not
|
||||
|
|
|
@ -3290,7 +3290,11 @@ output_constant_def (exp, defer)
|
|||
encoded in it. */
|
||||
if (! found)
|
||||
{
|
||||
ENCODE_SECTION_INFO (exp);
|
||||
/* Take care not to invoque ENCODE_SECTION_INFO for constants
|
||||
which don't have a TREE_CST_RTL. */
|
||||
if (TREE_CODE (exp) != INTEGER_CST)
|
||||
ENCODE_SECTION_INFO (exp);
|
||||
|
||||
desc->rtl = rtl;
|
||||
desc->label = XSTR (XEXP (desc->rtl, 0), 0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue