(get_inner_reference): If flag_volatile, treat every INDIRECT_REF as volatile.
From-SVN: r2499
This commit is contained in:
parent
eda5fa7b7e
commit
037080855f
@ -2807,6 +2807,9 @@ get_inner_reference (exp, pbitsize, pbitpos, poffset, pmode, punsignedp, pvolati
|
|||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
|
if (TREE_CODE (exp) == INDIRECT_REF && flag_volatile)
|
||||||
|
*pvolatilep = 1;
|
||||||
|
|
||||||
if (TREE_CODE (exp) == COMPONENT_REF || TREE_CODE (exp) == BIT_FIELD_REF)
|
if (TREE_CODE (exp) == COMPONENT_REF || TREE_CODE (exp) == BIT_FIELD_REF)
|
||||||
{
|
{
|
||||||
tree pos = (TREE_CODE (exp) == COMPONENT_REF
|
tree pos = (TREE_CODE (exp) == COMPONENT_REF
|
||||||
|
Loading…
Reference in New Issue
Block a user