r167538 - in /branches/gcc-4_5-branch/gcc: Chan...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Tue Dec 7 15:06:00 GMT 2010
Author: jakub
Date: Tue Dec 7 15:06:27 2010
New Revision: 167538
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167538
Log:
Backport from mainline
2010-11-16 Jakub Jelinek <jakub@redhat.com>
PR c++/46401
* c-common.c (warning_candidate_p): Don't track non-const calls
or STRING_CSTs.
* g++.dg/warn/Wsequence-point-3.C: New test.
Added:
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/warn/Wsequence-point-3.C
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/c-common.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list