On 05/15/2012 04:40 PM, Paolo Carlini wrote:
However, I just noticed that I somehow missed a small issue in the
testsuite (sorry): we have a testcase which is now failing because in
templates we don't warn anymore (the warning is produced by
warn_for_div_by_zero which also uses c_inhibit_evaluati
On 05/15/2012 03:14 PM, Jason Merrill wrote:
OK.
Thanks. I applied the patch.
However, I just noticed that I somehow missed a small issue in the
testsuite (sorry): we have a testcase which is now failing because in
templates we don't warn anymore (the warning is produced by
warn_for_div_by_z
OK.
Jason
Hi,
this small patch fixes the problem using the approach indicated by Jason
in the audit trail, already used in many other similar cases.
Booted and tested x86_64-linux.
Thanks,
Paolo.
/
/cp
2012-05-15 Paolo Carlini
PR c++/11586
* pt.c (tsubst_cop