http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46170
--- Comment #21 from Dodji Seketeli <dodji at gcc dot gnu.org> 2010-11-08 10:16:19 UTC --- "jason at gcc dot gnu.org" <gcc-bugzi...@gcc.gnu.org> writes: > --- Comment #19 from Jason Merrill <jason at gcc dot gnu.org> 2010-11-02 > 16:36:01 UTC --- > I think we can avoid the extra patch for 4.4 by just removing the code that > changes c_inhibit_evaluation_warnings; let's do that. If we do that then the test template/sfinae25.C accompanying the patch fails by emitting the warning: sfinae25.C:12: warning: division by zero I suppose this is precisely what the code changing c_inhibit_evaluation_warnings in tsubst_template_arg was meant to address, isn't it?