https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79440
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks|83700 |
CC| |pault at gcc dot gnu.org
--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> ---
The tests in comments 2 & 3 seem to have been fixed before 13-branch.
However, the original and the tests in comment 4 still fail
trans-expr.cc: 10305
gfc_add_modify (&block, dest,
// fold_convert (TREE_TYPE (dest), se.expr));
fold_build1_loc (input_location, VIEW_CONVERT_EXPR,
TREE_TYPE (dest), se.expr));
Results in successful compilation but causes an invalid memory reference at run
time.
I was going through the coarray meta-bug, when I encountered this. I have noted
it for a future revisit, even though this is not a coarray bug. I have deleted
the 'blocks' entry.
Paul
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83700
[Bug 83700] [Meta-bug] Fortran Coarray issues