http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46401
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-07 15:06:31 UTC --- 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 <ja...@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