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]
Other format: [Raw text]

[Bug c/47538] GNU Scientific Library miscompiled by gcc 4.6


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47538

--- Comment #4 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-01-30 02:07:23 UTC ---
On x86_64-apple-darwin10, the cheb test fails when integ.c is compiled at -O1
at...

gdb ./test

Reason: KERN_INVALID_ADDRESS at address: 0x0000000100200000
0x0000000100002340 in gsl_cheb_calc_integ (integ=0x100100620, f=0x100100080) at
integ.c:55
55          integ->c[i] = con * (f->c[i-1] - f->c[i+1])/((double)i);
(gdb) bt
#0  0x0000000100002340 in gsl_cheb_calc_integ (integ=0x100100620,
f=0x100100080) at integ.c:55
#1  0x0000000100001888 in main () at test.c:181
(gdb) quit


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