r197662 - in /branches/gcc-4_8-branch/gcc: cp/C...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Wed Apr 10 06:37:00 GMT 2013
Author: jakub
Date: Wed Apr 10 06:37:07 2013
New Revision: 197662
URL: http://gcc.gnu.org/viewcvs?rev=197662&root=gcc&view=rev
Log:
PR c++/56895
* typeck.c (cp_build_binary_op): Call fold_non_dependent_expr_sfinae
first before calling maybe_constant_value for warn_for_div_by_zero
or invalid shift count warning purposes.
* g++.dg/template/arrow3.C: New test.
Added:
branches/gcc-4_8-branch/gcc/testsuite/g++.dg/template/arrow3.C
Modified:
branches/gcc-4_8-branch/gcc/cp/ChangeLog
branches/gcc-4_8-branch/gcc/cp/typeck.c
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list