OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2010-05-06 Tobias Burnus <burnus@net-b.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
fortran
/
trans-types.c
diff --git
a/gcc/fortran/trans-types.c
b/gcc/fortran/trans-types.c
index
31a250d
..
dca19ce
100644
(file)
--- a/
gcc/fortran/trans-types.c
+++ b/
gcc/fortran/trans-types.c
@@
-1793,6
+1793,9
@@
gfc_sym_type (gfc_symbol * sym)
restricted);
byref = 0;
}
restricted);
byref = 0;
}
+
+ if (sym->attr.cray_pointee)
+ GFC_POINTER_TYPE_P (type) = 1;
}
else
{
}
else
{
@@
-1808,7
+1811,7
@@
gfc_sym_type (gfc_symbol * sym)
{
if (sym->attr.allocatable || sym->attr.pointer)
type = gfc_build_pointer_type (sym, type);
{
if (sym->attr.allocatable || sym->attr.pointer)
type = gfc_build_pointer_type (sym, type);
- if (sym->attr.pointer)
+ if (sym->attr.pointer
|| sym->attr.cray_pointee
)
GFC_POINTER_TYPE_P (type) = 1;
}
GFC_POINTER_TYPE_P (type) = 1;
}