--- Additional Comments From tobi at gcc dot gnu dot org 2005-09-30 21:07
---
Length is a type parameter. All type parameters shall be identical in a POINTER
assignment. Hence the example is illegal.
This means that bound checking should reject the following for i /= 5:
character*5,
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-30
20:52 ---
I am going to go out on a limb and say this is invalid so confirmed.
--
What|Removed |Added
--- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-06-25
18:44 ---
Well, don't know the standard reference, but the Sun compiler does error out on
this code.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20895
--- Additional Comments From tobi at gcc dot gnu dot org 2005-05-19 17:23
---
I don't think so, I'm sure this code is valid, but I believe you know the
standard well enough to justify your statement.
--
What|Removed |Added