Your message dated Wed, 16 Jun 2004 21:26:09 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#254659: gcc-2.95 for i386 loop strength reduction bug.
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; 16 Jun 2004 08:10:27 +0000
>From [EMAIL PROTECTED] Wed Jun 16 01:10:27 2004
Return-path: <[EMAIL PROTECTED]>
Received: from vagw.valinux.co.jp (brer.local.valinux.co.jp) [210.128.90.14] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1BaVV4-0002Ch-00; Wed, 16 Jun 2004 01:10:27 -0700
Received: by brer.local.valinux.co.jp (Postfix, from userid 20010)
        id D9160B7D4EE; Wed, 16 Jun 2004 17:10:25 +0900 (JST)
From: Minoura Makoto <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: gcc-2.95 for i386 loop strength reduction bug.
X-Mailer: reportbug 1.50
Date: Wed, 16 Jun 2004 17:10:25 +0900
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: gcc-2.95
Version: 1:2.95.4-11woody1
Severity: normal

The attatched C program will loop infinitely when compiled with
-O2 flag.

Workaround:
  1. -fno-inline
  2. -fno-strength-reduce
  3. use gcc-3.0

*** a.c
#include <stdio.h>

inline void
h1(int *p) {

        printf("%p\n", p);
}

void
h(int* p, int i) {
        int j;

        for(j = 0; j < 16; j++) {
                h1(p + j);
        }
}

int
main(int argc, char **argv) {

        h((int *)0x7fffffc0, 0);
        exit(0);
}


-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux brer 2.4.26-brer #2 SMP Thu May 27 11:25:10 JST 2004 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages gcc-2.95 depends on:
ii  binutils               2.12.90.0.1-4     The GNU assembler, linker and bina
ii  cpp-2.95               1:2.95.4-11woody1 The GNU C preprocessor.
ii  gcc                    2:2.95.4-14       The GNU C compiler.
ii  libc6                  2.2.5-11.5        GNU C Library: Shared libraries an


---------------------------------------
Received: (at 254659-done) by bugs.debian.org; 16 Jun 2004 19:26:17 +0000
>From [EMAIL PROTECTED] Wed Jun 16 12:26:17 2004
Return-path: <[EMAIL PROTECTED]>
Received: from mail.cs.tu-berlin.de [130.149.17.13] (root)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Bag36-0003Rg-00; Wed, 16 Jun 2004 12:26:17 -0700
Received: from bolero.cs.tu-berlin.de ([EMAIL PROTECTED] [130.149.19.1])
        by mail.cs.tu-berlin.de (8.9.3p2/8.9.3) with ESMTP id VAA27557;
        Wed, 16 Jun 2004 21:26:10 +0200 (MEST)
Received: (from [EMAIL PROTECTED])
        by bolero.cs.tu-berlin.de (8.12.10+Sun/8.12.8/Submit) id i5GJQ9rA008481;
        Wed, 16 Jun 2004 21:26:09 +0200 (MEST)
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: Wed, 16 Jun 2004 21:26:09 +0200
To: Minoura Makoto <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#254659: gcc-2.95 for i386 loop strength reduction bug.
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

confirmed. fixed in gcc-3.3, which is the default for the upcoming
Debian release. Unlikely to be fixed in gcc-2.95, therefore closing
the report.

Minoura Makoto writes:
> Package: gcc-2.95
> Version: 1:2.95.4-11woody1
> Severity: normal
> 
> The attatched C program will loop infinitely when compiled with
> -O2 flag.
> 
> Workaround:
>   1. -fno-inline
>   2. -fno-strength-reduce
>   3. use gcc-3.0
> 
> *** a.c
> #include <stdio.h>
> 
> inline void
> h1(int *p) {
> 
>         printf("%p\n", p);
> }
> 
> void
> h(int* p, int i) {
>         int j;
> 
>         for(j = 0; j < 16; j++) {
>                 h1(p + j);
>         }
> }
> 
> int
> main(int argc, char **argv) {
> 
>       h((int *)0x7fffffc0, 0);
>         exit(0);
> }
> 
> 
> -- System Information
> Debian Release: 3.0
> Architecture: i386
> Kernel: Linux brer 2.4.26-brer #2 SMP Thu May 27 11:25:10 JST 2004 i686
> Locale: LANG=C, LC_CTYPE=C
> 
> Versions of packages gcc-2.95 depends on:
> ii  binutils               2.12.90.0.1-4     The GNU assembler, linker and 
> bina
> ii  cpp-2.95               1:2.95.4-11woody1 The GNU C preprocessor.
> ii  gcc                    2:2.95.4-14       The GNU C compiler.
> ii  libc6                  2.2.5-11.5        GNU C Library: Shared libraries 
> an
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Reply via email to