diff options
author | David Malcolm <dmalcolm@redhat.com> | 2021-12-10 09:28:48 -0500 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2021-12-10 17:51:24 -0500 |
commit | a2f4b4b76cdd0a4150e82e69fae4a70c54b523d2 (patch) | |
tree | 0a5ba1d8d2be853797d6eb330d69e7fae5507499 /libgcc | |
parent | 1e2eee7b29ed2afbc7edea6f3da7e6c8f70b1a4e (diff) | |
download | gcc-a2f4b4b76cdd0a4150e82e69fae4a70c54b523d2.zip gcc-a2f4b4b76cdd0a4150e82e69fae4a70c54b523d2.tar.gz gcc-a2f4b4b76cdd0a4150e82e69fae4a70c54b523d2.tar.bz2 |
jit: set DECL_CONTEXT of RESULT_DECL [PR103562]
libgccjit was failing to set the DECL_CONTEXT of function RESULT_DECLs,
leading to them failing to be properly handled by the inlining machinery.
Fixed thusly.
gcc/jit/ChangeLog:
PR jit/103562
* jit-playback.c (gcc::jit::playback::context::new_function): Set
DECL_CONTEXT of the result_decl.
gcc/testsuite/ChangeLog:
PR jit/103562
* jit.dg/all-non-failing-tests.h: Add comment about...
* jit.dg/test-pr103562.c: New test.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions