aboutsummaryrefslogtreecommitdiff
path: root/libbacktrace
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-09-14 09:42:29 -0700
committerNathan Sidwell <nathan@acm.org>2020-09-14 09:45:24 -0700
commite9fdb9a73249f95f3da2d7fde6f268ae12d0d22c (patch)
treebc6b255876ccd75fd7e03e5d271d7b929305ce96 /libbacktrace
parent05ab8befe1230c46116aae37d44f2ce0933e8dae (diff)
downloadgcc-e9fdb9a73249f95f3da2d7fde6f268ae12d0d22c.zip
gcc-e9fdb9a73249f95f3da2d7fde6f268ae12d0d22c.tar.gz
gcc-e9fdb9a73249f95f3da2d7fde6f268ae12d0d22c.tar.bz2
c++: local externs in templates do not get template head
Now we consistently mark local externs with DECL_LOCAL_DECL_P, we can teach the template machinery not to give them a TEMPLATE_DECL head, and the instantiation machinery treat them as the local specialiations they are. (openmp UDRs also fall into this category, and are dealt with similarly.) gcc/cp/ * pt.c (push_template_decl_real): Don't attach a template head to local externs. (tsubst_function_decl): Add support for headless local extern decls. (tsubst_decl): Add support for headless local extern decls.
Diffstat (limited to 'libbacktrace')
0 files changed, 0 insertions, 0 deletions