aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorHarald Anlauf <anlauf@gmx.de>2025-01-28 21:21:40 +0100
committerHarald Anlauf <anlauf@gmx.de>2025-01-29 08:47:37 +0100
commit5d001fa122bf04cfd0611ff7723969a0421b3094 (patch)
tree374ac5605039d677f9a6ef4207d6ff69eed6fe0d /gcc/expr.cc
parent2abc555a80be3c983c675a5f8d744917d4fc23d1 (diff)
downloadgcc-5d001fa122bf04cfd0611ff7723969a0421b3094.zip
gcc-5d001fa122bf04cfd0611ff7723969a0421b3094.tar.gz
gcc-5d001fa122bf04cfd0611ff7723969a0421b3094.tar.bz2
Fortran: fix passing of component ref to assumed-rank dummy [PR118683]
While the fix for pr117774 addressed the passing of an inquiry reference to an assumed-rank dummy, it missed the similar case of passing a component reference. The newer testcase gfortran.dg/pr81978.f90 uncovered this latent issue with a UBSAN instrumented compiler. PR fortran/118683 gcc/fortran/ChangeLog: * trans-expr.cc (gfc_conv_procedure_call): The bounds update for passing to assumed-rank dummies shall also handle component references besides inquiry references.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions