This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/66942] trans-expr.c:5701 runtime error: member call on null pointer of type 'struct vec'
- From: "kargl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 20 Jul 2015 16:43:35 +0000
- Subject: [Bug fortran/66942] trans-expr.c:5701 runtime error: member call on null pointer of type 'struct vec'
- Auto-submitted: auto-generated
- References: <bug-66942-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66942
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu.org
--- Comment #1 from kargl at gcc dot gnu.org ---
(In reply to Vittorio Zecca from comment #0)
> ! gcc-5.2.0/gcc/fortran/trans-expr.c:5701:19: runtime error: member call on
> null pointer of type 'struct vec'
> ! gfortran source line "retargs->splice (arglist);"
> ! retargs is NULL
> ! double check with "gcc_assert(retargs);" immediately before
> call sub
> END
What compiler options? What target? What is sub?
With
subroutine sub
end subroutine sub
gfortran 6.0 and 5.2.1 compile, link your code, and executes
without an error.