- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
i try to compile this code with ifort12.0.0 20101006. I get no error messages during compiling but the program fails with segmentation fault.
MODULE typesIMPLICIT NONETYPE :: parent_tINTEGER, PRIVATE :: aCONTAINSPROCEDURE :: get_a => get_a_funPROCEDURE :: set_a => set_a_subEND TYPEPRIVATE :: set_a_subPRIVATE :: get_a_funCONTAINSSUBROUTINE set_a_sub(this, intvalue)CLASS(parent_t) :: thisINTEGER :: intvaluethis%a = intvalueEND SUBROUTINEINTEGER FUNCTION get_a_fun(this)CLASS(parent_t) :: thisget_a_fun = this%aEND FUNCTIONEND MODULE typesPROGRAM types_testerUSE typesIMPLICIT NONETYPE(parent_t) :: humanINTEGER :: aaCALL human%set_a(99)aa = human%get_a()write(*,*) aaEND PROGRAM
Thanks for helping
Alex
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I get a segfault/internal error at compile time with a current compiler
Intel Fortran Intel 64 Compiler XE for applications running on Intel 64, Version 12.1.1.256 Build 20111011
so this case definitely qualifies for submission in a problem report.
Intel Fortran Intel 64 Compiler XE for applications running on Intel 64, Version 12.1.1.256 Build 20111011
so this case definitely qualifies for submission in a problem report.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page