aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/decl.cc
diff options
context:
space:
mode:
authorJulia Lapenko <julia.lapenko@gmail.com>2022-05-16 10:37:49 +0300
committerIan Lance Taylor <iant@golang.org>2022-05-18 19:34:49 -0700
commitb8944f0438a183a0245ffe17aeaeaf3a1a00069c (patch)
tree479a7909cff1ed8753c874357248b16696809172 /gcc/ada/gcc-interface/decl.cc
parent1cda629f96b4e982bb87343a35a6db39445d3962 (diff)
downloadgcc-b8944f0438a183a0245ffe17aeaeaf3a1a00069c.zip
gcc-b8944f0438a183a0245ffe17aeaeaf3a1a00069c.tar.gz
gcc-b8944f0438a183a0245ffe17aeaeaf3a1a00069c.tar.bz2
compiler: traverse expressions when exporting constants
When exporting a constant A that is expressed through a constant B from another package, it is necessary to traverse an expression representing the constant A to generate a sequence of type casts from the constant B. Current implementation doesn't collect types of constants contained in such expressions. This change fetches these types. Fixes golang/go#51291 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/405976
Diffstat (limited to 'gcc/ada/gcc-interface/decl.cc')
0 files changed, 0 insertions, 0 deletions