https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125216
Steve Kargl <kargl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu.org
--- Comment #1 from Steve Kargl <kargl at gcc dot gnu.org> ---
Code compiles for me on x86_64-*-freebsd with 15.2.1, 16.0.1,
and 17.0.0. I do note that if -Wall is added to commandline,
I see
% gfcx -Wall -c -m64 -ffixed-line-length-132 -O2 h9.F
h9.F:11:132:
11 | YA=Y+RI(3)*XP
|
^
Warning: 'xp' may be used uninitialized [-Wmaybe-uninitialized]
h9.F:11:25:
11 | YA=Y+RI(3)*XP
| ^
note: 'xp' was declared here
Looking at the code, xp is never defined. I don't know
if that the issue or not. It looks like a target issue
or middle-end.