* varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for a
entity in a local scope.
* fold-const.c (fold): Call truthvalue_conversion for values which
are folded to boolean type.
From-SVN: r18929
+1998-04-01 Mark Mitchell <mmitchell@usa.net>
+
+ * varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for a
+ entity in a local scope.
+
+ * fold-const.c (fold): Call truthvalue_conversion for values which
+ are folded to boolean type.
+
Wed Apr 1 06:09:53 1998 Jeffrey A Law (law@cygnus.com)
* 1750a.md, arm.c, clipper.c, clipper.md: Use GEN_INT consistently.
TREE_INT_CST_LOW (t1) ^= 1;
TREE_TYPE (t1) = type;
+ if (TREE_CODE (type) == BOOLEAN_TYPE)
+ return truthvalue_conversion (t1);
return t1;
case COND_EXPR:
ASM_FORMAT_PRIVATE_NAME (label, name, var_labelno);
name = obstack_copy0 (saveable_obstack, label, strlen (label));
var_labelno++;
+
+ /* We've changed the name by which this entity is
+ known. In order that we can generate
+ correct references to it, we update its
+ DECL_ASSEMBLER_NAME. */
+ DECL_ASSEMBLER_NAME (decl) = get_identifier (name);
}
if (name == 0)