Copied arguments are readonly
* attr-fnspec.h (attr_fnspec::arg_readonly_p): Accept '1'...'9'.
This commit is contained in:
parent
91004436da
commit
8fca8142bc
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ public:
|
|||
{
|
||||
unsigned int idx = arg_idx (i);
|
||||
gcc_checking_assert (arg_specified_p (i));
|
||||
return str[idx] == 'r' || str[idx] == 'R';
|
||||
return str[idx] == 'r' || str[idx] == 'R' || (str[idx] >= '1' && str[idx] <= '9');
|
||||
}
|
||||
|
||||
/* True if memory reached by the argument is read (directly or indirectly) */
|
||||
|
|
Loading…
Add table
Reference in a new issue