Tobias Burnus <[EMAIL PROTECTED]> writes:
> I use in my patch:
> + if (sym->attr.volatile_)
> + TREE_THIS_VOLATILE (decl) = 1;
I think you will also want to give DECL a type which is
volatile-qualified:
build_qualified_type (original_type, TYPE_QUAL_VOLATILE)
Ian
Hi,
if I dump the tree of the following C program,
int main() { volatile int i; i = 5; return 0; }
I get (-tree-original):
{
volatile int i;
volatile int i;
i = 5;
return 0;
}
However, if I apply my volatile-in-Fortran patch [1] and compile
integer, volatile :: i; i = 5; end
then t