https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61515
Bug ID: 61515 Summary: Extremely long compile time for generated code Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: astrange at ithinksw dot com > /usr/local/gcc49/bin/gcc -v Using built-in specs. COLLECT_GCC=/usr/local/gcc49/bin/gcc COLLECT_LTO_WRAPPER=/usr/local/gcc49/libexec/gcc/x86_64-apple-darwin13.2.0/4.10.0/lto-wrapper Target: x86_64-apple-darwin13.2.0 Configured with: ../../cc/gcc/configure --prefix=/usr/local/gcc49 --with-arch=native --with-tune=native --disable-nls --with-gmp=/sw --disable-bootstrap --with-isl=/sw --enable-languages=c,c++,lto,objc,obj-c++ --no-create --no-recursion Thread model: posix gcc version 4.10.0 20140615 (experimental) (GCC) For the attached source (C translation from a large BF program): - gcc -O0 takes 9 minutes - gcc -Os does not finish after 40 minutes