https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100911
Bug ID: 100911
Summary: Bind(c): failure handling C_PTR
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: jrfsousa at gcc dot gnu.org
Target Milestone: ---
Created attachment 50937
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50937&action=edit
Fortran code showing problem
Hi All!
Wrong type and kind and crash due to division by zero (elem_len==0)
Seen on:
GNU Fortran (GCC) 10.3.1 20210526
GNU Fortran (GCC) 11.1.1 20210526
GNU Fortran (GCC) 12.0.0 20210529 (experimental)
Thank you very much.
Best regards,
José Rui