We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca682e0 commit a284af8Copy full SHA for a284af8
src/ansi-c/ansi_c_convert_type.cpp
@@ -64,11 +64,11 @@ void ansi_c_convert_typet::read_rec(const typet &type)
64
c_qualifiers.is_ptr64=true;
65
else if(type.id()==ID_volatile)
66
c_qualifiers.is_volatile=true;
67
- else if(type.id()==ID_asm &&
68
- type.has_subtype() &&
69
- type.subtype().id()==ID_string_constant)
+ else if(type.id()==ID_asm)
70
{
71
- c_storage_spec.asm_label=type.subtype().get(ID_value);
+ if(type.has_subtype() &&
+ type.subtype().id()==ID_string_constant)
+ c_storage_spec.asm_label=type.subtype().get(ID_value);
72
}
73
else if(type.id()==ID_section &&
74
type.has_subtype() &&
0 commit comments