This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/41872] wrong-code: Issues with allocatable scalars



------- Comment #7 from burnus at gcc dot gnu dot org  2009-12-30 00:20 -------
Created an attachment (id=19421)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19421&action=view)
Patch

- Nullifies local variables
- Fixes double-allocation check in ALLOCATE statement

TODO:
- INTENT(OUT) variables do not get initialized
- SAVED local variables are (probably) mishandled
- Check whether other things such as allocatable scalar components,
(absent/present) optional dummys etc. work.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41872


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]