]> gcc.gnu.org Git - gcc.git/commit
[Ada] Incorrect emptying of CUDA global subprograms
authorJustin Squirek <squirek@adacore.com>
Fri, 10 Jun 2022 12:16:17 +0000 (12:16 +0000)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 6 Jul 2022 13:29:47 +0000 (13:29 +0000)
commit614c45555a11a658f0c9639afb67d1d4bbb3454f
tree4d6e3a2ae7300e5931fa42213931aa39fd13c94a
parent405ebd743d392d2b0afd384e0955e3922e388ca9
[Ada] Incorrect emptying of CUDA global subprograms

This patch corrects an error in the compiler whereby no
Corresponding_Spec was set for emptied CUDA global subprograms - leading
to a malformed tree.

gcc/ada/

* gnat_cuda.adb (Empty_CUDA_Global_Subprogram): Set
Specification and Corresponding_Spec to match the original
Kernel_Body.
gcc/ada/gnat_cuda.adb
This page took 0.061165 seconds and 5 git commands to generate.