public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/43654]  New: Very long compile time with -O2 -floop-block
@ 2010-04-05 20:44 zsojka at seznam dot cz
  2010-04-05 20:50 ` [Bug middle-end/43654] " zsojka at seznam dot cz
  2010-04-18 22:14 ` zsojka at seznam dot cz
  0 siblings, 2 replies; 3+ messages in thread
From: zsojka at seznam dot cz @ 2010-04-05 20:44 UTC (permalink / raw)
  To: gcc-bugs

Tested revisions:
r157965 - fail (~140s)
r153685 - crash
4.4 r157895 - OK (~0.2s)

Executed on a 1.6GHz CPU, CLooG-PPL 0.15.8, PPL 0.10.2:
$ /mnt/svn/gcc-trunk/binary-157965-lto/bin/gcc -O2 -floop-block testcase.c
-ftime-report -c

Execution times (seconds)
 Graphite loop transforms: 135.75 (100%) usr   0.88 (100%) sys 137.88 (100%)
wall      26 kB ( 1%) ggc
 Graphite data dep analysis:   0.02 ( 0%) usr   0.00 ( 0%) sys   0.01 ( 0%)
wall       0 kB ( 0%) ggc
 Graphite code generation:   0.05 ( 0%) usr   0.00 ( 0%) sys   0.06 ( 0%) wall 
    59 kB ( 3%) ggc
 tree iv optimization  :   0.01 ( 0%) usr   0.00 ( 0%) sys   0.01 ( 0%) wall   
 151 kB ( 8%) ggc
 tree STMT verifier    :   0.00 ( 0%) usr   0.00 ( 0%) sys   0.01 ( 0%) wall   
   0 kB ( 0%) ggc
 loop invariant motion :   0.01 ( 0%) usr   0.00 ( 0%) sys   0.01 ( 0%) wall   
   5 kB ( 0%) ggc
 branch prediction     :   0.01 ( 0%) usr   0.00 ( 0%) sys   0.00 ( 0%) wall   
   2 kB ( 0%) ggc
 reload                :   0.01 ( 0%) usr   0.00 ( 0%) sys   0.01 ( 0%) wall   
   4 kB ( 0%) ggc
 TOTAL                 : 135.87             0.88           137.99              
1961 kB
Extra diagnostic checks enabled; compiler may run slowly.
Configure with --enable-checking=release to disable checks.

Disabling checking doesn't help.


-- 
           Summary: Very long compile time with -O2 -floop-block
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu


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


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

* [Bug middle-end/43654] Very long compile time with -O2 -floop-block
  2010-04-05 20:44 [Bug middle-end/43654] New: Very long compile time with -O2 -floop-block zsojka at seznam dot cz
@ 2010-04-05 20:50 ` zsojka at seznam dot cz
  2010-04-18 22:14 ` zsojka at seznam dot cz
  1 sibling, 0 replies; 3+ messages in thread
From: zsojka at seznam dot cz @ 2010-04-05 20:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from zsojka at seznam dot cz  2010-04-05 20:49 -------
Created an attachment (id=20316)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20316&action=view)
reduced testcase

When the loop body is changed to:
        x[i][j][k] = i + j + k;
compilation finishes in ~85s


-- 


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


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

* [Bug middle-end/43654] Very long compile time with -O2 -floop-block
  2010-04-05 20:44 [Bug middle-end/43654] New: Very long compile time with -O2 -floop-block zsojka at seznam dot cz
  2010-04-05 20:50 ` [Bug middle-end/43654] " zsojka at seznam dot cz
@ 2010-04-18 22:14 ` zsojka at seznam dot cz
  1 sibling, 0 replies; 3+ messages in thread
From: zsojka at seznam dot cz @ 2010-04-18 22:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from zsojka at seznam dot cz  2010-04-18 22:14 -------
-floop-block -fstrict-aliasing also makes
gfortran.fortran-torture/execute/forall_1.f90 to timeout at -O[123s]


-- 

zsojka at seznam dot cz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |compile-time-hog


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


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

end of thread, other threads:[~2010-04-18 22:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-05 20:44 [Bug middle-end/43654] New: Very long compile time with -O2 -floop-block zsojka at seznam dot cz
2010-04-05 20:50 ` [Bug middle-end/43654] " zsojka at seznam dot cz
2010-04-18 22:14 ` zsojka at seznam dot cz

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).