diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-04-10 06:33:26 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-04-10 06:33:26 +0000 |
commit | 8d24d1676493787b47ea14b270acb0a9cc0e16f2 (patch) | |
tree | 1f84c60ffe349e6fb707d5f769e5b1d782d93b1e /gcc/cp/ChangeLog | |
parent | 761a637643d812497f6ae5e4b02cc5c530b3fb9e (diff) | |
download | ppe42-gcc-8d24d1676493787b47ea14b270acb0a9cc0e16f2.tar.gz ppe42-gcc-8d24d1676493787b47ea14b270acb0a9cc0e16f2.zip |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197660 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c01fb3cb43e..767b2c3820e 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,10 @@ +2013-04-10 Jakub Jelinek <jakub@redhat.com> + + 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. + 2013-04-09 Jason Merrill <jason@redhat.com> PR c++/25466 |