https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100094
Bug ID: 100094
Summary: Undefined pointers have incorrect rank when using
optimization
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: jrfsousa at gmail dot com
Target Milestone: ---
Created attachment 50599
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50599&action=edit
Fortran code showing problem
Hi All!
Rank information is not correctly written into the pointer descriptor when
using optimization or -ffpe-trap.
Seen on:
GNU Fortran (GCC) 11.0.1 20210415 (experimental)
GNU Fortran (GCC) 10.3.1 20210415
Thank you very much.
Best regards,
José Rui