This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/47538] GNU Scientific Library miscompiled by gcc 4.6
- From: "howarth at nitro dot med.uc.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 30 Jan 2011 02:07:23 +0000
- Subject: [Bug c/47538] GNU Scientific Library miscompiled by gcc 4.6
- Auto-submitted: auto-generated
- References: <bug-47538-4@http.gcc.gnu.org/bugzilla/>
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