mirror of
https://github.com/LIV2/bebbo-gcc.git
synced 2025-12-06 00:23:32 +00:00
refs #228: store asm spec and mark hard reg before processing the
template
This commit is contained in:
parent
c34091089b
commit
cc55b3f993
@ -6721,6 +6721,12 @@ cp_finish_decl (tree decl, tree init, bool init_const_expr_p,
|
||||
}
|
||||
}
|
||||
|
||||
if (VAR_P (decl) && DECL_REGISTER (decl) && asmspec)
|
||||
{
|
||||
set_user_assembler_name (decl, asmspec);
|
||||
DECL_HARD_REGISTER (decl) = 1;
|
||||
}
|
||||
|
||||
if (processing_template_decl)
|
||||
{
|
||||
bool type_dependent_p;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user