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

            Bug ID: 58425
           Summary: Finalization: Segfault at runtime
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org

The code at ssdSource/chapter05/hermetic of http://www.cambridge.org/rouson
fails at run-time with:

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
#3  0x401169 in __vortex_module_MOD_finalize
#4  0x400D92 in __vortex_module_MOD___final_vortex_module_Vortex
#5  0x4011C9 in __vortex_module_MOD_finalize
#6  0x400D92 in __vortex_module_MOD___final_vortex_module_Vortex
#7  0x401138 in __vortex_module_MOD_manual_finalizer
#8  0x400B37 in MAIN__ at main.F90:?


It works with other compilers. (As finalization is new, it doesn't count as
regression.)

Reply via email to