public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/57370] New: [4.9 Regression] compile time hog in reassoc
@ 2013-05-22 14:18 Joost.VandeVondele at mat dot ethz.ch
  2013-05-22 14:18 ` [Bug middle-end/57370] " Joost.VandeVondele at mat dot ethz.ch
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Joost.VandeVondele at mat dot ethz.ch @ 2013-05-22 14:18 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 57370
           Summary: [4.9 Regression] compile time hog in reassoc
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Joost.VandeVondele at mat dot ethz.ch

Between rev 199047 and 199075 the attached testcase started using an excessive
amount of time (up from about 4s with 4.7.2). The important option seems to be
-ffast-math (16s without this option).

Reproduce with:

time gfortran -c -g -O2 -ffast-math bug.f90

The stack looks like:

#0  0x0000000000af4b79 in reassociate_bb(basic_block_def*) ()
#1  0x0000000000af4ae8 in reassociate_bb(basic_block_def*) ()
#2  0x0000000000af4ae8 in reassociate_bb(basic_block_def*) ()
#3  0x0000000000af4ae8 in reassociate_bb(basic_block_def*) ()
#4  0x0000000000af4ae8 in reassociate_bb(basic_block_def*) ()
#5  0x0000000000af6701 in execute_reassoc() ()
#6  0x0000000000906550 in execute_one_pass(opt_pass*) ()


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

end of thread, other threads:[~2013-09-14  9:02 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-22 14:18 [Bug middle-end/57370] New: [4.9 Regression] compile time hog in reassoc Joost.VandeVondele at mat dot ethz.ch
2013-05-22 14:18 ` [Bug middle-end/57370] " Joost.VandeVondele at mat dot ethz.ch
2013-05-22 14:19 ` Joost.VandeVondele at mat dot ethz.ch
2013-05-22 14:28 ` rguenth at gcc dot gnu.org
2013-05-22 14:32 ` Joost.VandeVondele at mat dot ethz.ch
2013-05-23  6:14 ` Joost.VandeVondele at mat dot ethz.ch
2013-05-24  6:36 ` [Bug middle-end/57370] [4.9 Regression] compiler hangs " Joost.VandeVondele at mat dot ethz.ch
2013-06-05 11:19 ` Joost.VandeVondele at mat dot ethz.ch
2013-06-13  6:04 ` Joost.VandeVondele at mat dot ethz.ch
2013-06-13  7:43 ` [Bug tree-optimization/57370] " glisse at gcc dot gnu.org
2013-08-20 18:32 ` Joost.VandeVondele at mat dot ethz.ch
2013-09-04 17:48 ` eraman at gcc dot gnu.org
2013-09-14  9:02 ` Joost.VandeVondele at mat dot ethz.ch

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