Re: ALLOCATABLE or POINTER
- From: Jan Vorbrüggen <jvorbrueggen@xxxxxxxxxxxxxxx>
- Date: Tue, 22 May 2007 09:00:49 +0200
How can the compiler _not_ diagnose this particular problem?The rule is that compilers are required to diagnose problems in a program if and only if they violate Constraints in the Fortran
standard. A compiler is free to do anything at all (except a compile-
time crash and core dump) with a program that violates the standard in a way that does not violate any Constraint.
Yeah, I know that. I'd say I really wanted to ask a slightly different question: Given that the processor (if not supporting it as an extension) needs to diagnose this at compile time, and that constraints are (informally) put into the standard if they can be enforced at compile time, why didn't this one get a constraint in the standard?
Jan
.
- References:
- ALLOCATABLE or POINTER
- From: fj
- Re: ALLOCATABLE or POINTER
- From: fj
- Re: ALLOCATABLE or POINTER
- From: Richard Maine
- Re: ALLOCATABLE or POINTER
- From: Jan Vorbrüggen
- Re: ALLOCATABLE or POINTER
- From: John Harper
- ALLOCATABLE or POINTER
- Prev by Date: Re: trailing double underscores
- Next by Date: Re: ALLOCATABLE or POINTER
- Previous by thread: Re: ALLOCATABLE or POINTER
- Next by thread: Re: ALLOCATABLE or POINTER
- Index(es):
Relevant Pages
|