Your message dated Sun, 16 Mar 2003 20:22:14 +0100
with message-id <[EMAIL PROTECTED]>
and subject line gcc-3.2 produces bad code?
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 10 Mar 2003 09:46:48 +0000
>From [EMAIL PROTECTED] Mon Mar 10 03:46:47 2003
Return-path: <[EMAIL PROTECTED]>
Received: from hell.ascs.muni.cz [147.251.60.186] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 18sJrr-0006VO-00; Mon, 10 Mar 2003 03:46:47 -0600
Received: from xhejtman by hell.ascs.muni.cz with local (Exim 3.36 #1 (Debian))
        id 18sJrq-00077t-00
        for <[EMAIL PROTECTED]>; Mon, 10 Mar 2003 10:46:46 +0100
Resent-From: [EMAIL PROTECTED]
Resent-Date: Mon, 10 Mar 2003 10:46:46 +0100
Resent-Message-ID: <[EMAIL PROTECTED]>
Resent-To: [EMAIL PROTECTED]
Date: Mon, 10 Mar 2003 01:43:35 +0100
From: Lukas Hejtmanek <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: gcc-3.2 produces bad code?
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Muni: zakazka, vydelek, firma, komerce, vyplata
X-echelon: NSA, CIA, CI5, MI5, FBI, KGB, BIS, Plutonium, Bin Laden, Mossad, 
Iraq, Pentagon, WTC, president, assassination, A-bomb, kua, vic joudu uz neznam
X-policie-CR: Neserte mi nebo ukradnu, vyloupim, vybouchnu, znasilnim, zabiju, 
podpalim, umucim, podriznu, zapichnu a vubec vsechno
User-Agent: Mutt/1.5.3i
Resent-Sender: Lukas Hejtmanek <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-2.4 required=4.0
        tests=HAS_PACKAGE,RESENT_TO,SIGNATURE_SHORT_DENSE,
              SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MUTT
        version=2.44
X-Spam-Level: 

Package: gcc-3.2
Version: 3.2.3-0pre3
Distribution: sid

Jit icq transport (http://jit.jabberstudio.org/) does not work if compiled with
this gcc. With this one:
gcc -v
Reading specs from /packages/run/gcc-3.2/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Configured with: ./configure --prefix=/packages/share/gcc-3.2
--exec-prefix=/packages/run/gcc-3.2
Thread model: posix
gcc version 3.2

works ok.

Problem is in jit/jit/message.c in function it_message.

starting at line 116:
        unsigned char chat;
        contact c;
//      printf("Upper message: %s\n", body);

        if(body == NULL) {
                  jutil_error(jp->x,
                        (terror){400,LNG_EMPTY_MESSAGE});
                          it_deliver(s->ti,jp->x);
                  return;
        }
        b = it_convert_utf82windows(jp->p,body);
//      printf("After  convert: %s\n", b);


uncomenting those printf solves the problem. b contains correct text else it is
equal to null string.

-- 
Lukáš Hejtmánek

---------------------------------------
Received: (at 184161-done) by bugs.debian.org; 16 Mar 2003 19:26:36 +0000
>From [EMAIL PROTECTED] Sun Mar 16 13:26:36 2003
Return-path: <[EMAIL PROTECTED]>
Received: from mail.cs.tu-berlin.de [130.149.17.13] (root)
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 18udmF-0003jj-00; Sun, 16 Mar 2003 13:26:35 -0600
Received: from bolero.cs.tu-berlin.de ([EMAIL PROTECTED] [130.149.19.1])
        by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id UAA25896;
        Sun, 16 Mar 2003 20:22:15 +0100 (MET)
Received: (from [EMAIL PROTECTED])
        by bolero.cs.tu-berlin.de (8.11.6+Sun/8.9.3) id h2GJMEa01557;
        Sun, 16 Mar 2003 20:22:14 +0100 (MET)
From: Matthias Klose <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[EMAIL PROTECTED]>
Date: Sun, 16 Mar 2003 20:22:14 +0100
To: Lukas Hejtmanek <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: gcc-3.2 produces bad code?
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-1.3 required=4.0
        tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01
        version=2.44
X-Spam-Level: 

Lukas Hejtmanek writes:
> On Sun, Mar 16, 2003 at 02:49:22PM +0100, Matthias Klose wrote:
> > Please recheck with the current gcc-snapshot package, if the code
> > example works ok.
> > 
> > If the problem persists, please post a test case (maybe preprocessed
> > source), not just an excerpt from the source file.
> > 
> > Thanks, Matthias
> 
> This version: gcc version 3.2.3 20030309 seems to be ok. (3.2.3-0pre5)

Thanks! Closing the report.


Reply via email to