[Bug fortran/118120] Wrong aliasing assumptions for Fortran POINTERs

2024-12-20 Thread szakharin at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118120 --- Comment #14 from Slava Zakharin --- Thank you for the quick fix!

[Bug fortran/118120] Wrong aliasing assumptions for Fortran POINTERs

2024-12-19 Thread szakharin at nvidia dot com via Gcc-bugs
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

[Bug fortran/118120] Wrong aliasing assumptions for Fortran POINTERs

2024-12-18 Thread szakharin at nvidia dot com via Gcc-bugs
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

[Bug fortran/118120] New: Wrong aliasing assumptions for Fortran POINTERs

2024-12-18 Thread szakharin at nvidia dot com via Gcc-bugs
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