From: SourceForge.net <no...@so...> - 2003-03-26 10:43:49
|
Bugs item #709965, was opened at 2003-03-26 10:39 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=709965&group_id=599 Category: C-Front End >Group: fixed >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Klaus Siegesleitner (ksieg) Assigned to: Nobody/Anonymous (nobody) Summary: SEGV Initial Comment: Hi! I found a situation that causes a sdcc-SEGV (and nearly abrain-damage :-) ! compiling the following small (and useless) example-code void main() { char c = 0; if(-c > 3) { } } causes a SEGV. The problem is the '-c' statement. Replacing it with (0-c) works. My sdcc version is 2.3.3. (i think). I posted this to the user-forum as well where I also added the output of 'sdcc -v' (with the exact version) to my message. greetings, Klaus! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=709965&group_id=599 |