public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/64209] New: [OOP] copy class(*) component from type with a subroutine
@ 2014-12-06 16:00 polajnar.miha at gmail dot com
  2014-12-09 19:27 ` [Bug fortran/64209] " dominiq at lps dot ens.fr
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: polajnar.miha at gmail dot com @ 2014-12-06 16:00 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64209

            Bug ID: 64209
           Summary: [OOP] copy class(*) component from type with a
                    subroutine
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: polajnar.miha at gmail dot com

Created attachment 34209
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34209&action=edit
Source code describing the bug

The attached source code produces segmentation fault :

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0x7FA69CC6F4D0
#1  0x7FA69CC6E6B0
#2  0x7FA69C17E54F
#3  0x4011FC in __copy_INTEGER_4_.3528 at gfort_bug.f90:?
#4  0x4010B0 in __m_MOD_copy
#5  0x401411 in MAIN__ at gfort_bug.f90:?
Segmentation fault

with 

gcc version 5.0.0 20141202 (experimental) [trunk revision 218267] (SUSE Linux).

The code works fine with ifort.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-12-19 19:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-06 16:00 [Bug fortran/64209] New: [OOP] copy class(*) component from type with a subroutine polajnar.miha at gmail dot com
2014-12-09 19:27 ` [Bug fortran/64209] " dominiq at lps dot ens.fr
2014-12-18 19:20 ` [Bug fortran/64209] [OOP] runtime segfault with CLASS(*), INTENT(OUT) dummy argument janus at gcc dot gnu.org
2014-12-18 20:58 ` janus at gcc dot gnu.org
2014-12-18 22:07 ` janus at gcc dot gnu.org
2014-12-18 22:53 ` janus at gcc dot gnu.org
2014-12-18 23:24 ` janus at gcc dot gnu.org
2014-12-19 19:29 ` janus at gcc dot gnu.org
2014-12-19 19:32 ` janus at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).