[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#507524: marked as done (gpc: misscompilation on numbers comparison conditions)



Your message dated Wed, 16 Feb 2011 15:54:36 +0000
with message-id <E1Ppji8-0005dW-6e@franck.debian.org>
and subject line Bug#613588: Removed package(s) from unstable
has caused the Debian Bug report #507524,
regarding gpc: misscompilation on numbers comparison conditions
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
507524: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507524
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gpc-4.1

Hi,

I've been hit with what I believe is a miss compilation.
Attached code is enough to reproduce the error.

Input given to the program: 5000
Expected output: a must be gt 0 and lt 4000!
Actual output: good

By replacing 
>         t := 'a must be gt 0 and lt 4000!';
with
>         return 'a must be gt 0 and lt 4000!';

the actual output becomes the expected output.

I would like to apologise in advance in case this is not a bug, but my 
missunderstanding of the language.

Cheers,
-- 
Raphael Geissert - Debian Maintainer
www.debian.org - get.debian.net
program test;
var n: integer;

function t(a: integer): string;
begin
    if (a < 1) or (a > 3999) then
	t := 'a must be gt 0 and lt 4000!';
    t := 'good';
end;

begin
    readln(n);
    writeln(t(n));
end.

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---
--- Begin Message ---
Version: 2.1-4.1.2-28+rm

Dear submitter,

as the package gpc-4.1 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/613588

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@debian.org.

Debian distribution maintenance software
pp.
Alexander Reichle-Schmehl (the ftpmaster behind the curtain)


--- End Message ---

Reply to: