This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/64947] ICE in gimplify_expr, at gimplify.c:8425 with arrays of type(C_PTR)
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 05 Feb 2015 15:34:29 +0000
- Subject: [Bug fortran/64947] ICE in gimplify_expr, at gimplify.c:8425 with arrays of type(C_PTR)
- Auto-submitted: auto-generated
- References: <bug-64947-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64947
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Internal compiler error: in |ICE in gimplify_expr, at
|gimplify_expr, at |gimplify.c:8425 with arrays
|gimplify.c:8425 |of type(C_PTR)
--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Tobias Burnus from comment #2)
> void * D.3415;
> D.3415 = (*strings)[0];
> D.3417 = strnlen (*D.3415, 40);
Namely, the "*D.3415" is the problem. What data type has a "void *" pointer if
it is dereferenced?
We really have to pass D.3415 to strlen - not the derefed temporary variable.