diff options
| author | Kirill Chilikin <chilikin.k@gmail.com> | 2026-01-25 14:43:08 +0700 |
|---|---|---|
| committer | Harald Anlauf <anlauf@gmx.de> | 2026-02-03 21:05:48 +0100 |
| commit | 3c3c7f6519f54d26afdb9bd810cc7bc11b395a53 (patch) | |
| tree | 4a3a26d28514d9791a00e2c00eacfb9ba9b88684 /libjava/classpath/java | |
| parent | cc12934b555625b130e242eb6199c60b353ab509 (diff) | |
| download | gcc-3c3c7f6519f54d26afdb9bd810cc7bc11b395a53.zip gcc-3c3c7f6519f54d26afdb9bd810cc7bc11b395a53.tar.gz gcc-3c3c7f6519f54d26afdb9bd810cc7bc11b395a53.tar.bz2 | |
fortran: Fix creation of reference to C_FUNLOC argument [PR117303]
The reference returned by C_FUNLOC is assigned to a variable. Without that,
no reference from the calling subprogram to the argument of C_FUNLOC
was created in the call graph, resulting in an undefined-reference error
with link-time optimization. Please see PR 117303 for more details.
PR fortran/117303
gcc/fortran/ChangeLog:
* trans-intrinsic.cc (conv_isocbinding_function):
Assign the reference returned by C_FUNLOC to a variable.
gcc/testsuite/ChangeLog:
* gfortran.dg/c_funloc_tests_7.f90:
Updated test due to changed code generation.
* gfortran.dg/c_funloc_tests_9.f90: New test.
Signed-off-by: Kirill Chilikin <chilikin.k@gmail.com>
Diffstat (limited to 'libjava/classpath/java')
0 files changed, 0 insertions, 0 deletions
