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]

[PATCH] Fix for PR c++/60269


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.
+

Attachment: diff.txt
Description: diff.txt


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]