https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118120
--- Comment #14 from Slava Zakharin ---
Thank you for the quick fix!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118120
--- Comment #5 from Slava Zakharin ---
Right, this test deliberately introduces the aliasing to demonstrate that
gfortran has too optimistic assumptions about aliasing of COMPLEX and REAL
pointers.
Thank you for the pointer to trans-array.cc! M
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118120
--- Comment #3 from Slava Zakharin ---
Thank you for taking a look!
This code seems to comply with Fortran 2008 standard:
7.2.2 Pointer assignment
... data-pointer-object (bounds-remapping-list ) => data-target
R737 data-target is variable
C7
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118120
Bug ID: 118120
Summary: Wrong aliasing assumptions for Fortran POINTERs
Product: gcc
Version: 14.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component