aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-01-26 22:19:47 -0500
committerJason Merrill <jason@redhat.com>2020-01-27 15:02:52 -0500
commit8f25c39c454d7d3d323edf014a653649946352bd (patch)
treea92ba7747dfab3f83dc24a5e711c8e50346a7c47 /gcc/go
parent1f2e84238c9f079747804026b6225ec8c1d0e4b7 (diff)
downloadgcc-8f25c39c454d7d3d323edf014a653649946352bd.zip
gcc-8f25c39c454d7d3d323edf014a653649946352bd.tar.gz
gcc-8f25c39c454d7d3d323edf014a653649946352bd.tar.bz2
c++: Fix array of char typedef in template (PR90966).
Since Martin Sebor's patch for PR 71625 to change braced array initializers to STRING_CST in some cases, we need to be ready for STRING_CST with types that are changed by tsubst. fold_convert doesn't know how to deal with STRING_CST, which is reasonable; we really shouldn't expect it to here. So let's handle STRING_CST separately. PR c++/90966 * pt.c (tsubst_copy) [STRING_CST]: Don't use fold_convert.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions