Philipp,

In this specific case, I have to agree, in large part.

However, 'C' is notorious for compiling successfully, yet not at all doing 
what was intended, due to some coding or design error.  I'd guess that if 
SDCC didn't generate the desired effect, as observed in the target 
processor's behavior, it would be appropriate to examine the code in the 
greatest of detail before speculating that the compiler has a relevant bug.

Your statement that "If the generated code does not behave the way it should 
it's a bug." holds only if the 'C' code that underlies it is found to be 
both flawless and standards-compliant.  I'd guess that bugs are encountered 
very seldom, and that most of your effort is devoted to finding ways of 
incorporating "features" requested by your users.

regards,

Richard Erlacher

----- Original Message ----- 
From: "Philipp Klaus Krause" <[EMAIL PROTECTED]>
To: <sdcc-user@lists.sourceforge.net>
Sent: Saturday, September 06, 2008 1:38 AM
Subject: Re: [Sdcc-user] documentation & open source generally


> Richard Erlacher schrieb:
>
>>> On Sep 5, 2008, at 5:20 PM, Richard Erlacher wrote:
>>>> One can only file a bug report if one finds what's known to be a
>>>> bug.  If
>>>> you don't know what the code is intended to do, you can't possibly
>>>> know
>>>> whether what you've observed is outside that scope.
>>>   If it generates bad output, or drops core...
>>>
>> How would you know that?
>
> sdcc is a C compiler. So when you write C code and sdcc crashes while
> compiling it it's a bug. If sdcc won't compile it and it's not listed in
> the "ANSI-compliance" (this probably should be called
> "ANSI/ISO-compliance" instead) section of the manual as an unsupported
> feature it's a bug. If the generated code does not behave the way it
> should it'a a bug.
>
> Philipp
>
> -------------------------------------------------------------------------


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to