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

Bug#184161: marked as done (gcc-3.2 produces bad code?)



Your message dated Sun, 16 Mar 2003 20:22:14 +0100
with message-id <15988.52966.738340.819931@gargle.gargle.HOWL>
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 xhejtman@hell.ascs.muni.cz Mon Mar 10 03:46:47 2003
Return-path: <xhejtman@hell.ascs.muni.cz>
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 <submit@bugs.debian.org>; Mon, 10 Mar 2003 10:46:46 +0100
Resent-From: xhejtman@mail.muni.cz
Resent-Date: Mon, 10 Mar 2003 10:46:46 +0100
Resent-Message-ID: <20030310094646.GH805@mail.muni.cz>
Resent-To: submit@bugs.debian.org
Date: Mon, 10 Mar 2003 01:43:35 +0100
From: Lukas Hejtmanek <xhejtman@mail.muni.cz>
To: submit@bugs.debian.org
Subject: gcc-3.2 produces bad code?
Message-ID: <[🔎] 20030310004335.GB805@mail.muni.cz>
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 <xhejtman@hell.ascs.muni.cz>
Delivered-To: submit@bugs.debian.org
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 doko@cs.tu-berlin.de Sun Mar 16 13:26:36 2003
Return-path: <doko@cs.tu-berlin.de>
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 (daemon@bolero.cs.tu-berlin.de [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 doko@localhost)
	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 <doko@cs.tu-berlin.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15988.52966.738340.819931@gargle.gargle.HOWL>
Date: Sun, 16 Mar 2003 20:22:14 +0100
To: Lukas Hejtmanek <xhejtman@mail.muni.cz>
Cc: 184161-done@bugs.debian.org
Subject: Re: gcc-3.2 produces bad code?
In-Reply-To: <[🔎] 20030316190529.GI627@mail.muni.cz>
References: <[🔎] 15988.32994.936836.238416@gargle.gargle.HOWL>
	<[🔎] 20030316190529.GI627@mail.muni.cz>
X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid
Delivered-To: 184161-done@bugs.debian.org
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 to: