http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48184
Summary: ICE: SIGFPE (division by zero) in compute_alignments () at final.c:731 with --param align-threshold=0 on basic code Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz ----- testcase.c ----- void foo (void) { } ---------------------- Compiler output: $ gcc -O --param align-threshold=0 testcase.c testcase.c: In function 'foo': testcase.c:1: internal compiler error: Floating point exception Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.gentoo.org/> for instructions. Program received signal SIGFPE, Arithmetic exception. 0x00000000006c5d37 in compute_alignments () at /mnt/svn/gcc-trunk/gcc/final.c:731 731 freq_threshold = freq_max / PARAM_VALUE (PARAM_ALIGN_THRESHOLD);