From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031030 Description of problem: When I build Intel's OpenCV library, I get this internal compiler error, and the source does not compiler. Version-Release number of selected component (if applicable): gcc-3.3.2-1 How reproducible: Always Steps to Reproduce: 1.make OpenCV library 2. 3. Additional info:
Created attachment 98358 [details] internal compiler error
Reproduced, though on IA-32 only, not x86-64 (and as there is no -m32 switch in the options, I assume it is real IA-32). Simplified into: /* { dg-do compile } */ /* { dg-options "-march=i686 -O2 -ffast-math -fPIC" { target i?86-*-* } } */ extern double foo (double x); extern double bar (double x, double y); extern double baz (double x) __attribute__ ((__const__)); void test (double x, double y, double z) { double a[7], b, c; int i; b = -x * x / 3; for (i = 0; i < 6; i++) a[i] = -x / 3; c = bar (baz (y), 1.0 / 3) - b / 3.0 * bar (baz (y), -1.0 / 3); if (!(y < 0.001 && y > -0.001)) a[i] = foo (z / 3.0) * c; }