diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2019-06-08 15:52:38 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2019-06-08 15:52:38 +0000 |
commit | 8e73afcf40a43a88c9e2ca5406570f0189e6d903 (patch) | |
tree | 6366e9a41b1377422463f779226690bbc0b348d1 /libgcc | |
parent | ec332875f8e2456bd104c16a553ac5ecad9024b3 (diff) | |
download | gcc-8e73afcf40a43a88c9e2ca5406570f0189e6d903.zip gcc-8e73afcf40a43a88c9e2ca5406570f0189e6d903.tar.gz gcc-8e73afcf40a43a88c9e2ca5406570f0189e6d903.tar.bz2 |
re PR fortran/90786 (ICE on procedure pointer assignment to function with class pointer result)
2019-06-08 Paul Thomas <pault@gcc.gnu.org>
PR fortran/90786
* trans-expr.c (pointer_assignment_is_proc_pointer) Remove as
it is very simple and only called from one place.
(gfc_trans_pointer_assignment): Rename non_proc_pointer_assign
as non_proc_ptr_assign. Assign to it directly, rather than call
to above, deleted function and use gfc_expr_attr instead of
only checking the reference chain.
2019-06-08 Paul Thomas <pault@gcc.gnu.org>
PR fortran/90786
* gfortran.dg/proc_ptr_51.f90 : New test.
From-SVN: r272084
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions