diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2020-08-10 06:22:22 +0100 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2020-08-10 06:22:22 +0100 |
commit | abb276d0eca218e62e5ed50babf12ff544250759 (patch) | |
tree | af0a598439e7af193f0b3af7cf7e8bdb4766e8a0 /gcc/predict.c | |
parent | 359815ad136ee6ad142fb54470ce79609e43ff5d (diff) | |
download | gcc-abb276d0eca218e62e5ed50babf12ff544250759.zip gcc-abb276d0eca218e62e5ed50babf12ff544250759.tar.gz gcc-abb276d0eca218e62e5ed50babf12ff544250759.tar.bz2 |
This patch fixes PR96312. Cures a used uninitialized warning.
2020-08-10 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran
PR fortran/96312
* trans-expr.c (fcncall_realloc_result): Only compare shapes if
lhs was allocated..
gcc/testsuite/
PR fortran/96312
* gfortran.dg/pr96312.f90: New test.
Diffstat (limited to 'gcc/predict.c')
0 files changed, 0 insertions, 0 deletions