Subject: 1.3.12: gcc bug: variable named "end"
From: "Takashi Chikayama" <[email-masked]>
To: <[email-masked]>
Cc: "'ICPC02'" <[email-masked]>
Date: Sat, 19 Oct 2002 14:16:56 +0900

CYGWIN_NT-5.1 X22CHIKAYAMA 1.3.12(0.54/3/2) 2002-07-06 02:16 i686
unknown
gcc 2.95.3-5

The following program causes a segmentation fault.
---
int end;
main() { end = 0; }
---
Seems that the problem is with the variable name "end".
In the object code tries to store in some invalid address.
Variables with other names, of course, does not cause this.

- Takashi Chikayama@Dept. of Frontier Informatics, the Univ. of Tokyo
- 7-3-1 Hongo, Bunkyo-ku, Tokyo 113 Japan
- Tel. +81-3-5841-6658; Fax. +81-3-5841-8572

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/