[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#430957: compiling with -O3 takes too long/hangs on some files



"\"Török" Edvin" <edwintorok@gmail.com> writes:

> Package: gcc-snapshot
> Version: 20070613-1
> Severity: minor
>
> --- Please enter the report below this line. ---
>
> Using gcc-4.3 snapshot to compile with -O3:
> $ time /usr/lib/gcc-snapshot/bin/gcc -DHAVE_CONFIG_H -I.
> -I../../../clamd -I.. -I../../.. -I../../../shared
> -I../../../libclamav    -pedantic -Wextra -Wall -Wbad-function-cast
> -Wcast-align -Wcast-qual -Wdisabled-optimization -Wendif-labels
> -Wfloat-equal -Wformat=2 -Wformat-nonliteral -Winline
> -Wmissing-declarations -Wmissing-prototypes -Wnested-externs
> -Wno-unused-parameter -Wpointer-arith -Wshadow -Wstrict-prototypes
> -Wswitch -Wundef -Wwrite-strings -O3 -DNDEBUG -Wstack-protector
> -fstack-protector -D_FORTIFY_SOURCE=2 -march=k8 -mfpmath=sse -msse
> -msse2 -m3dnow -mmmx -MT server-th.o -MD -MP -MF ".deps/server-th.Tpo"
> -c -o server-th.o ../../../clamd/server-th.c
>
> Didn't finish even after 1m37s, strace shows gcc doing a bunch of
> mmap/munmap/brk (lots of mallocs?)

Please provide the .i file produced by adding -save-temps.

-- 
	Falk



Reply to: