This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12271] Compilation of OpenCV (Open Computer VIsion) with error message: in emit_move_insn_1, at expr.c:3510
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Feb 2004 00:45:42 -0000
- Subject: [Bug c++/12271] Compilation of OpenCV (Open Computer VIsion) with error message: in emit_move_insn_1, at expr.c:3510
- References: <20030914014110.12271.fargaud@yahoo.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-02-04 00:45 -------
Here is a reduced testcase:
------------------------
extern double pow (double __x, double __y) throw ();
extern double sqrt (double __x) throw ();
extern double sin (double __x) throw ();
void foo(double a2)
{
double p, q, D, c1, c2, ro1, ro2, fi1, fi2;
double x[6][3];
int i;
p = a2 * a2 / 3;
if( D < 0 )
c2 = c1;
else
c2 = q / 2 - sqrt( D );
c2 = ( (ro1)<0 ? -1:((ro1)>0?1:0 ) ) * pow(ro1, 1./3.) +
( (ro1)<0 ? -1:((ro1)>0?1:0 ) ) * p / 3. * sin( ro1 );
for( i = 0; i < 6; i++ )
if( i < 3 )
{
x[i][0] = sin( fi1 / 3.) * c1 - a2 / 3;
x[i][1] = sin( fi1 / 3.) * c2;
}
}
---------------------------------
g/x> /home/bangerth/bin/gcc-3.3.3-pre/bin/c++ -c x.ii -g -mcpu=i686
-march=i686 -fomit-frame-pointer -O3 -fno-rtti -fPIC -ffast-math
x.ii: In function `void foo(double)':
x.ii:26: internal compiler error: in emit_move_insn_1, at expr.c:3507
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
This is fixed for 3.4 and mainline, though.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12271