diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2020-08-10 06:22:22 +0100 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 15:07:52 -0300 |
commit | fc267be27fe4eb8072ead7f7635f70a152999a14 (patch) | |
tree | ff9d4af83f8856ba1e0aef724aa71b6bc3d265c3 /gcc/cp/constexpr.c | |
parent | e6d42dd6cbf14f5859c0fb8b33a8a61d5906dafe (diff) | |
download | gcc-fc267be27fe4eb8072ead7f7635f70a152999a14.zip gcc-fc267be27fe4eb8072ead7f7635f70a152999a14.tar.gz gcc-fc267be27fe4eb8072ead7f7635f70a152999a14.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/cp/constexpr.c')
0 files changed, 0 insertions, 0 deletions