diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-03-06 10:51:26 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-03-06 10:51:26 -0800 |
commit | 191bcd0f30dd37dec773efb0125afdcae9bd90ef (patch) | |
tree | 283aa99d8c6229b01375dcb502ea8f155365f9dc /gcc/fortran/trans-array.c | |
parent | 0b8393221177617f19e7c5c5c692b8c59f85fffb (diff) | |
download | gcc-191bcd0f30dd37dec773efb0125afdcae9bd90ef.zip gcc-191bcd0f30dd37dec773efb0125afdcae9bd90ef.tar.gz gcc-191bcd0f30dd37dec773efb0125afdcae9bd90ef.tar.bz2 |
Fix mangling ICE [PR94027]
PR c++/94027
* mangle.c (find_substitution): Don't call same_type_p on template
args that cannot match.
Now same_type_p rejects argument packs, we need to be more careful
calling it with template argument vector contents.
The mangler needs to do some comparisons to find the special
substitutions. While that code looks a little ugly, this seems the
smallest fix.
Diffstat (limited to 'gcc/fortran/trans-array.c')
0 files changed, 0 insertions, 0 deletions