Re: ALLOCATABLE or POINTER



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
.



Relevant Pages

  • Re: <ctype.h> toLower()
    ... > If it's a free standing implimentation, then the scope of the standard is ... I am talking about the compiled object code when I mean ... advantages of object code far outweigh source code in terms of portability. ... > you compile it with a hosted implimentation for that platform). ...
    (alt.comp.lang.learn.c-cpp)
  • Re: export
    ... > The standard mandated lots of things not demanded by the market, ... Only when you think of templates as functions. ... You don't compile them to object code, ... cannot make libraries of metafunctions and meta-object files with any ...
    (comp.lang.cpp)
  • Re: C++ Coding Standards
    ... In standard C is not possible to replace ... Compile cleanly at high warning levels. ... Always write internal #include guards. ...
    (comp.lang.c)
  • Re: Portable Generator of visual stimuli
    ... I want to be able to control maximum and minimum interval between the light signal and the total number of signals whithin a standard period of time, ... You are not asking for something that can not be constructed within reasonable price constraints. ... Maybe someone here will design it for you for free but I don't have the time. ... I'd put a pair of LEDs on a glasses frame and power them from the serial or parallel port of your laptop. ...
    (sci.electronics.basics)
  • Re: ifc error?
    ... it does not violate any of the rules of the standard. ... correct and not violating any constraints is not sufficient for standard ... I would say that the standard does not give an interpretation for what ...
    (comp.lang.fortran)