Your message dated Sun, 22 May 2005 15:48:39 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#106866: [i386] useless jump to call instruction
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; 28 Jul 2001 02:24:26 +0000
>From [EMAIL PROTECTED] Fri Jul 27 21:24:26 2001
Return-path: <[EMAIL PROTECTED]>
Received: from eriador.apana.org.au [::ffff:203.14.152.116] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 15QJmB-0004n4-00; Fri, 27 Jul 2001 21:24:26 -0500
Received: from gondolin.me.apana.org.au ([192.168.0.6] ident=mail)
        by eriador.apana.org.au with esmtp (Exim 3.12 #1 (Debian))
        id 15QJld-0003q5-00
        for <[EMAIL PROTECTED]>; Sat, 28 Jul 2001 12:23:49 +1000
Received: from herbert by gondolin.me.apana.org.au with local (Exim 3.22 #1 
(Debian))
        id 15QJld-0005Ll-00
        for <[EMAIL PROTECTED]>; Sat, 28 Jul 2001 12:23:49 +1000
From:  <[EMAIL PROTECTED]>
Subject: gcc-3.0: Optimisation: [i386] pointless jump before a call
To: [EMAIL PROTECTED]
X-Mailer: bug 3.3.9
Message-Id: <[EMAIL PROTECTED]>
Date: Sat, 28 Jul 2001 12:23:49 +1000
Delivered-To: [EMAIL PROTECTED]

Package: gcc-3.0
Version: 1:3.0.1-0pre010723
Severity: normal

I was playing with the noreturn flag when I noticed the following pointless
jump into a call instruction:

  86:   a1 00 00 00 00          mov    0x0,%eax
                        87: R_386_32    intpending
  8b:   85 c0                   test   %eax,%eax
  8d:   74 c9                   je     58 <evalsubshell+0x58>
  8f:   eb 3b                   jmp    cc <evalsubshell+0xcc>
  91:   8d 76 00                lea    0x0(%esi),%esi

...

  c8:   eb d4                   jmp    9e <evalsubshell+0x9e>
  ca:   89 f6                   mov    %esi,%esi
  cc:   e8 fc ff ff ff          call   cd <evalsubshell+0xcd>
                        cd: R_386_PC32  doint
  d1:   8d 76 00                lea    0x0(%esi),%esi

There are no other jumps to cc.  That costed me 8 bytes and a pointless
jump.

The source that generated this can be fetched from

http://gondor.apana.org.au/~herbert/bugs/gcc-bug-1.tar.bz2

To reproduce, do:

gcc-3.0 -g -O2 -DUSE_DOINT -c eval.c

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux gondolin 2.4.7-686-smp #1 SMP Sun Jul 22 14:00:21 EST 
2001 i686 unknown

Versions of the packages gcc-3.0 depends on:
ii  binutils       2.11.90.0.24-1 The GNU assembler, linker and binary utiliti
ii  cpp-3.0        3.0.1-0pre0107 The GNU C preprocessor.
ii  gcc-3.0-base   3.0.1-0pre0107 The GNU Compiler Collection (base package).
ii  libc6          2.2.3-7        GNU C Library: Shared libraries and Timezone
ii  libgcc1        3.0.1-0pre0107 GCC support library.

---------------------------------------
Received: (at 106866-done) by bugs.debian.org; 22 May 2005 13:49:31 +0000
>From [EMAIL PROTECTED] Sun May 22 06:49:30 2005
Return-path: <[EMAIL PROTECTED]>
Received: from smtp08.web.de [217.72.192.226] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DZqpL-0002pS-00; Sun, 22 May 2005 06:49:11 -0700
Received: from [213.23.67.203] (helo=juist)
        by smtp08.web.de with asmtp (TLSv1:DES-CBC3-SHA:168)
        (WEB.DE 4.105 #291)
        id 1DZqop-0007Yw-00
        for [EMAIL PROTECTED]; Sun, 22 May 2005 15:48:39 +0200
Received: from falk by juist with local (Exim 4.50)
        id 1DZqop-0001O2-Ty
        for [EMAIL PROTECTED]; Sun, 22 May 2005 15:48:39 +0200
To: [EMAIL PROTECTED]
Subject: Bug#106866: [i386] useless jump to call instruction
From: Falk Hueffner <[EMAIL PROTECTED]>
X-Face: "iUeUu$b*W_"w?tV83Y3*r:`rh&dRv}$YnZ3,LVeCZSYVuf[Gpo*5%_=/\_!gc_,SS}[~xZ
 wY77I-M)xHIx:2f56g%/`SOw"Dx%4Xq0&f\Tj~>|QR|vGlU}TBYhiG(K:2<T^
Date: Sun, 22 May 2005 15:48:39 +0200
Message-ID: <[EMAIL PROTECTED]>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (cilantro, linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: [EMAIL PROTECTED]
X-Sender: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-4.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
        RCVD_IN_DSBL autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

fixed in 3.3
-- 
        Falk


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to