I mkdir a directory named "build" in the gcc directory , then run configure and make in it.
gcc -c -DHAVE_CONFIG_H -O -fipa-cp -I. -I../../libiberty/../include ../../libiberty/hashtab.c ../../libiberty/hashtab.c:955: internal compiler error: in fold_convert, at fold-const.c:2529 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -- Summary: ICE when gcc (4.4.0-20080731) uses -fipa-cp with -O Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: linuxl4 at sohu dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36990