Alpha gcc

D. Steven Daniel (danields@goldsword.com)
Mon, 2 Dec 1996 15:08:21 -0500 (EST)

I was working on a program on an AXP using gcc, I defined a vector
float dA[NMAX] and NMAX was defined in the header file. I inadvertantly
ran the index of dA to NMAX + 1 . The program compiled and ran. I took
the same program and placed it on an intel linux with gcc and I got the
expected core dump. Why doesn't the above cause a core dump on the AXP? I
know it is poor programming, but I am curious as to why it works one way
on one machine but not on the other. Thanks.

********************************************************************
* D. Steven Daniel *
* Commercial account danields@goldsword.com *
* Academic account daniel@microsys6.engr.utk.edu *
********************************************************************

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com



Feedback | Store | News | Support | Product Errata | About Us | Linux Info | Search | JumpWords
No Frames | Show Frames

Copyright © 1995-1997 Red Hat Software. Legal notices