This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

internal compiler error in gcc-2.95.1 on i686-pc-linux-gnu


When I compile the following preprocessed stub "test.i":
=======================================================================

# 1 "test.c"
typedef __complex__ double double_complex;



void
p (const double_complex *t, int n)
{
  int i;
  double s = ({ typeof ( t[n/2] ) arg = ( t[n/2] ); (__imag__ arg); }) ;
  for (i = 1; i < n/2; i++)
    s += 2* ({ typeof ( t[i] ) arg = ( t[i] ); (__imag__ arg); }) ;
}

=======================================================================

with the command "gcc -v -O -c test.i", I get the following message

=======================================================================

Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/specs
gcc version 2.95.1 19990816 (release)
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/cc1 test.i -quiet -O -version -o /tmp/ccBpbTRx.s
GNU C version 2.95.1 19990816 (release) (i686-pc-linux-gnu) compiled by GNU C version 2.95.1 19990816 (release).
test.c: In function `p':
test.c:12: Internal compiler error in `reg_overlap_mentioned_p', at rtlanal.c:96
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.

=======================================================================

Best regards,
Karsten Trulsen
karsten.trulsen@c2i.net



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]