This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/46401] [4.5/4.6 Regression] very slow compile time with -Wsequence-point


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46401

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-16 20:50:04 UTC ---
Author: jakub
Date: Tue Nov 16 20:49:57 2010
New Revision: 166823

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166823
Log:
    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:
    trunk/gcc/testsuite/g++.dg/warn/Wsequence-point-3.C
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]