return error_mark_node;
}
- StringExp *se = (StringExp*) e0;
+ StringExp *se = e0->toStringExp ();
gcc_assert (se->sz == 1);
/* Empty string attribute, just ignore it. */
void visit (GccAsmStatement *s)
{
- StringExp *insn = (StringExp *)s->insn;
+ StringExp *insn = s->insn->toStringExp ();
tree outputs = NULL_TREE;
tree inputs = NULL_TREE;
tree clobbers = NULL_TREE;
const char *sname = name ? name->toChars () : NULL;
tree id = name ? build_string (strlen (sname), sname) : NULL_TREE;
- StringExp *constr = (StringExp *)(*s->constraints)[i];
+ StringExp *constr = (*s->constraints)[i]->toStringExp ();
const char *cstring = (const char *)(constr->len
? constr->string : "");
tree str = build_string (constr->len, cstring);
{
for (size_t i = 0; i < s->clobbers->length; i++)
{
- StringExp *clobber = (StringExp *)(*s->clobbers)[i];
+ StringExp *clobber = (*s->clobbers)[i]->toStringExp ();
const char *cstring = (const char *)(clobber->len
? clobber->string : "");