[Patch, fortran] PR108961 - Segfault when associating to pointer from C_F_POINTER

Paul Richard Thomas paul.richard.thomas@gmail.com
Tue Jun 20 16:19:07 GMT 2023


Dear All,

This patch is verging on obvious. The PR was originally, incorrectly
blocking PR87477 and the testcase has remained in my 'associate'
directory. I thought that it is time to get shot of it!

Is there a better way to detect a type(c_ptr) formal argument?

Subject to advice on the question, OK for trunk?

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: text/x-patch
Size: 541 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20230620/6f4eb0bf/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Change.Logs
Type: application/octet-stream
Size: 337 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20230620/6f4eb0bf/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr108961.f90
Type: text/x-fortran
Size: 901 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20230620/6f4eb0bf/attachment-0001.bin>


More information about the Fortran mailing list