Fortran Compiler Fails With Assertion in type.cpp When a String Expression is Used With iso_c_binding
(Doc ID 1514774.1)
Last updated on FEBRUARY 03, 2019
Applies to:Oracle Solaris Studio - Version Sun Studio 12 Update 1 and later
Information in this document applies to any platform.
Sun Studio 12.1
Fortran 95 8.4
When using the Oracle Solaris Studio 12.1/F90 8.4 compiler, f90comp fails with an assertion and crashes.
sunf90: Fatal error in f90comp: Aborted
The problem is specific to Sun Studio 12 Update 1, it cannot show up with Oracle Solaris Studio 12.2/f90 8.5 or newer.
On SPARC, the problem does not show up with -qoption f90comp=fenophoenix.
The problem might occur when string expressions are combined with iso_c_binding, like this:
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document