aboutsummaryrefslogtreecommitdiff
path: root/libcpp/line-map.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-10-04 18:14:30 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-10-04 18:14:30 +0000
commit69b35f396ceb22e2e04b4228a6811291621808c1 (patch)
treee5b8c8a1488b30e41d0039391145aeb734ef6f6f /libcpp/line-map.c
parent432bbcbb1e9d4a2b2bd946a0120c2be52c4ec01d (diff)
downloadgcc-69b35f396ceb22e2e04b4228a6811291621808c1.zip
gcc-69b35f396ceb22e2e04b4228a6811291621808c1.tar.gz
gcc-69b35f396ceb22e2e04b4228a6811291621808c1.tar.bz2
compiler: include selected constant types during export processing
The machinery that collects types referenced by expressions that are part of inlinable function bodies was missing the types of local named constants in certain cases. This patch updates the Collect_export_references::expression() hook to look for references to local named constants and include their types in the exported set. Fixes golang/go#34577. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/198017 From-SVN: r276594
Diffstat (limited to 'libcpp/line-map.c')
0 files changed, 0 insertions, 0 deletions