MaxTheMouse wrote: > > > On Jul 18, 9:36 pm, "Dr. David Kirkby" <david.kir...@onetel.net> > wrote: >> Dr. David Kirkby wrote: >> >>> Are you compiling this as 64-bit code? If so, then I would expect this. >>> Can you try as 32-bit code. >> try >> >> $ gcc -m32 that-code.c > > Okay, that did it. As 32-bit code I get no warning and the output is: > > $ ./test > n=0 > n=1 > n=2 > n=3 > n=4 > n=5 > n=6 > n=7 > n=8 > n=9 > n=10 > > adam
Thank you Adam. The more I see this, the more I think this is a Solaris bug, which only affects 't2', which is almost certainly a result that t2 uses a memset implementation which is optimised for that processor and does not use the same implementation as on my Sun Blade 2000. --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---