https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118120
--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:aed4a2689dbc8ea7e60c1fab9e7f455d99e632b7 commit r15-6395-gaed4a2689dbc8ea7e60c1fab9e7f455d99e632b7 Author: Harald Anlauf <anl...@gmx.de> Date: Thu Dec 19 22:22:52 2024 +0100 Fortran: potential aliasing of complex pointer inquiry references [PR118120] PR fortran/118120 PR fortran/113928 gcc/fortran/ChangeLog: * trans-array.cc (symbols_could_alias): If one symbol refers to a complex type and the other to a real type of the same kind, do not a priori exclude the possibility of aliasing. gcc/testsuite/ChangeLog: * gfortran.dg/aliasing_complex_pointer.f90: New test.