aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2021-06-11 16:00:52 -0400
committerPatrick Palka <ppalka@redhat.com>2021-06-11 16:00:52 -0400
commitb0d73a66ae3962fa83309527d85613d72a6aa43d (patch)
treee0413db10b88d4d2e525bfa2960dfd6c819a99c9 /gcc/gcc.c
parent1e690757d30775ed340a368b9a9463b2ad68de01 (diff)
downloadgcc-b0d73a66ae3962fa83309527d85613d72a6aa43d.zip
gcc-b0d73a66ae3962fa83309527d85613d72a6aa43d.tar.gz
gcc-b0d73a66ae3962fa83309527d85613d72a6aa43d.tar.bz2
c++: Substitute into function parms in lexical order [PR96560]
This makes tsubst_arg_types substitute into a function's parameter types in left-to-right instead of right-to-left order, in accordance with DR 1227. DR 1227 PR c++/96560 gcc/cp/ChangeLog: * pt.c (tsubst_arg_types): Rearrange so that we substitute into TYPE_ARG_TYPES in forward order while short circuiting appropriately. Adjust formatting. gcc/testsuite/ChangeLog: * g++.dg/template/sfinae-dr1227.C: New test.
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions