[Bug tree-optimization/23971] Compilation takes a long time with -O2 option

falk at debian dot org gcc-bugzilla@gcc.gnu.org
Mon Sep 19 21:19:00 GMT 2005


------- Additional Comments From falk at debian dot org  2005-09-19 21:18 -------
Confirmed. Test case:

void rgb_ycc_start(long *rgb_ycc_tab) {
    long i;
    for (i = 0; i <= 255; i++)
	rgb_ycc_tab[i] = 19595 * i;
}

These 4 lines take 27 seconds to compile, nearly all of which is spent
in synth_mult. Problem only occurs with -mcpu=ev4.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1


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



More information about the Gcc-bugs mailing list