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 Error Parsing Bug. Importance Low



I found this parsing bug in:
gcc version 2.95.2 19991024

the system is a Sun Ultra 250 Solaris 7, uname -a gives:
SunOS orange 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-250

the command line is:
g++ --save-temps -g -DNULL=0 -c -o poisson_solver.o poisson_solver.cc

the output is:
poisson_solver.cc: In function `int main(int, char **)':
poisson_solver.cc:49: Internal compiler error.
poisson_solver.cc:49: Please submit a full bug report.
poisson_solver.cc:49: See
<URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for
instructions.

The .ii file is attached. It is compressed with bzip2.

The line that causes the bug is
u[i][j] = x.*exp(-0.5*(x*x + y*y)/(2*sigma2));
          ^^^^^

which is, of course, a typo from too much Matlab coding :)
After fixing the typo, it compiles fine.

Thanks to all the developers for gcc,
-- chris.
 
***********************************************
Christopher Lee Wyatt
Ph.D. Candidate
Dept. Medical Engineering 
Wake Forest University School of Medicine
Winston-Salem, N.C. 27157-1022
e-mail:cwyatt@wfubmc.edu
http://www.rad.wfubmc.edu/~clwyatt
**********************************************

poisson_solver.ii.bz2


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