This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello, this is the minimal backport needed to fix c++/19208. The testcase is a little more elaborated because there is no fold_decl_constant_value in 3.4 so I wanted to make sure a single call to fold_non_dependent_expr was enough. Tested on i686-pc-linux-gnu, OK for 3.4? Giovanni Bajo cp/ PR c++/19208 * pt.c (tsubst): Use fold_non_dependent_expr to fold array domains. testsuite/ PR c++/19208 * g++.dg/template/array11.C: New test.
Attachment:
patch-pr19208-34.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |