public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46401] New: [4.5/4.6 Regression] very slow compile time with -Wsequence-point
@ 2010-11-09 21:30 zsojka at seznam dot cz
  2010-11-10 12:08 ` [Bug c++/46401] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: zsojka at seznam dot cz @ 2010-11-09 21:30 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.5/4.6 Regression] very slow compile time with
                    -Wsequence-point
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


Created attachment 22356
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22356
reduced testcase

Compiler output - 4.4.5:
$ time gcc-4.4.5 -Wsequence-point -c testcase.C
real    0m0.514s
user    0m0.470s
sys     0m0.030s

Compiler output - 4.5.1: (disabled checking)
$ time gcc-4.5.1 -Wsequence-point -c testcase.C

real    4m22.328s
user    4m21.230s
sys     0m0.250s

Compiler output - r166492: (enabled checking)
$ time gcc -Wsequence-point -c testcase.C
real    6m2.734s
user    6m2.090s
sys     0m0.300s

Compiler output - r166492 without -Wsequence-point:
$ time gcc -c testcase.C
real    0m0.699s
user    0m0.520s
sys     0m0.050s

The time needed to analyze sequence points grew a lot in 4.5 for attached
testcase. The problem is more likely to appear since -Wsequence-point is
enabled by -Wall. The reduced testcase is from 'cantor', a KDE application.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-12-07 15:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-09 21:30 [Bug c++/46401] New: [4.5/4.6 Regression] very slow compile time with -Wsequence-point zsojka at seznam dot cz
2010-11-10 12:08 ` [Bug c++/46401] " rguenth at gcc dot gnu.org
2010-11-15 16:27 ` jakub at gcc dot gnu.org
2010-11-16 21:11 ` jakub at gcc dot gnu.org
2010-11-16 21:31 ` [Bug c++/46401] [4.5 " jakub at gcc dot gnu.org
2010-11-25 16:02 ` rguenth at gcc dot gnu.org
2010-12-07 15:06 ` jakub at gcc dot gnu.org
2010-12-07 15:40 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).