Copied arguments are readonly
* attr-fnspec.h (attr_fnspec::arg_readonly_p): Accept '1'...'9'.
This commit is contained in:
parent
91004436da
commit
8fca8142bc
|
@ -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…
Reference in New Issue