[PATCH] Fix for PR c++/60269
Iyer, Balaji V
balaji.v.iyer@intel.com
Thu Feb 19 07:17:00 GMT 2015
Hello Everyone,
Attached, please find a patch that is a fix for PR c++/60269. Tested on x86_64 and have no regression issues. Is this OK for trunk?
Thanks,
Balaji V. Iyer.
+2015-02-18 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ PR c++/60269
+ * parser.c (cp_parser_cilk_simd_vectorlength): Added a check for
+ template handling. If so, then defer the validity checks to pt.c.
+ * pt.c (tsubst_omp_clauses): Added a check for invalid vectorlength
+ for Cilk Plus SIMD loops.
+
+2015-02-18 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ PR c++/60269
+ * g++.dg/cilk-plus/pr60269.C: New test.
+
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150219/5d7e750c/attachment.txt>
More information about the Gcc-patches
mailing list