Your message dated 26 Sep 2003 21:41:59 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#212902: gcc-3.3: gcc generates illegal intermediate 
assembly file: invalid character '=' in operand 1
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; 26 Sep 2003 18:22:31 +0000
>From [EMAIL PROTECTED] Fri Sep 26 13:20:52 2003
Return-path: <[EMAIL PROTECTED]>
Received: from atlrel7.hp.com [156.153.255.213] 
        by master.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1A2xD2-0002M4-00; Fri, 26 Sep 2003 13:20:52 -0500
Received: from type2.fc.hp.com (type2.fc.hp.com [15.11.146.42])
        by atlrel7.hp.com (Postfix) with ESMTP id 4BFD81C01D86
        for <[EMAIL PROTECTED]>; Fri, 26 Sep 2003 14:20:52 -0400 (EDT)
Received: by type2.fc.hp.com (Postfix, from userid 1000)
        id 04D157EC6C; Fri, 26 Sep 2003 12:20:51 -0600 (MDT)
Content-Type: multipart/mixed; boundary="===============0968378473=="
MIME-Version: 1.0
From: Alex Tsariounov <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: gcc-3.3: gcc generates illegal intermediate assembly file: invalid 
character
 '=' in operand 1
X-Mailer: reportbug 2.30
Date: Fri, 26 Sep 2003 12:20:51 -0600
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-5.0 required=4.0
        tests=HAS_PACKAGE
        version=2.53-bugs.debian.org_2003_9_21
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_9_21 
(1.174.2.15-2003-03-30-exp)

This is a multi-part MIME message sent by reportbug.

--===============0968378473==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: gcc-3.3
Version: 1:3.3.2-0pre4
Severity: normal


When compiling the attached code on i386, the compilers seems to
generate an illegal intermediate assembly file that fails to assemble
with following messages:

[type2:lttk]$ gcc -o syscall_time syscall_time.c
/tmp/cc3VnwUh.s: Assembler messages:
/tmp/cc3VnwUh.s:118: Error: invalid character '=' in operand 1
/tmp/cc3VnwUh.s:126: Error: invalid character '=' in operand 1
/tmp/cc3VnwUh.s:201: Error: invalid character '=' in operand 1
/tmp/cc3VnwUh.s:211: Error: invalid character '=' in operand 1
/tmp/cc3VnwUh.s:293: Error: invalid character '=' in operand 1
/tmp/cc3VnwUh.s:303: Error: invalid character '=' in operand 1
[type2:lttk]$ 

Thanks,
Alex Tsariounov

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux type2 2.4.21-4-686-smp #1 SMP Sun Aug 3 00:31:17 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages gcc-3.3 depends on:
ii  binutils                   2.14.90.0.6-3 The GNU assembler, linker and bina
ii  cpp-3.3                    1:3.3.2-0pre4 The GNU C preprocessor
ii  gcc-3.3-base               1:3.3.2-0pre4 The GNU Compiler Collection (base 
ii  libc6                      2.3.2-8       GNU C Library: Shared libraries an
ii  libgcc1                    1:3.3.2-0pre4 GCC support library

-- no debconf information


--===============0968378473==
Content-Type: text/x-c; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="syscall_time.c"

#include <stdlib.h>
#include <stdio.h>
#include <sys/time.h>
#include <time.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

#define mTICKNOW(T) __asm__ __volatile__("mov %0=ar.itc" : "=r"(T) :: "memory");


int
main(int argc, char *argv[])
{
        unsigned long ii, jj, times, groups;
        long diff;
        double realtotal;
        unsigned long tick1, tick2, total;
        struct timeval tv;
        int fh;
        char buf[4096];
        double mhz;
        FILE *fp;

        if (argc>1) 
                times = atoi(argv[1]);
        else
                times = 100;

        if (argc>2)
                groups = atoi(argv[2]);
        else
                groups = 3;

        /* Get processor speed from /proc/cpuinfo */
        fp=fopen("/proc/cpuinfo", "r");
        if (!fp) exit(1);
        while (fgets(buf, 80, fp)) {
                if (strstr(buf, "cpu MHz")) {
                        jj= sscanf(buf, "cpu MHz : %lf", &mhz);
                        if (jj != 1) exit(1);
                        break;
                }
        }
        if (jj!=1) exit(1);

        /*
         * gettimeofday() syscall
         */
        realtotal = 0.0;
        total = 0;
        for (jj=0; jj<groups; jj++) {
                for (ii=0; ii<times; ii++) {
                        mTICKNOW(tick1);

                        gettimeofday(&tv, 0);

                        mTICKNOW(tick2);

                        total += (tick2 - tick1);
                }
                realtotal += ((double)total / times);
                total = 0;
                usleep(1000);
        }

        printf("Average call to gettimeofday(%d) lasts: %lf us\n",
                ii*groups, (realtotal/groups)/mhz);

        /*
         * read() syscall 
         */
        realtotal = 0.0;
        total = 0;
        fh = open(argv[0], O_RDONLY);
        for (jj=0; jj<groups; jj++) {
                for (ii=0; ii<times; ii++) {
                        mTICKNOW(tick1);

                        read(fh, buf, 4096);

                        mTICKNOW(tick2);

                        total += (tick2 - tick1);

                        lseek(fh, 0, SEEK_SET);
                }
                realtotal += ((double)total / times);
                total = 0;
                usleep(1000);
        }
        close(fh);
        
        printf("Average call to         read(%d) lasts: %lf us\n",
                ii*groups, (realtotal/groups)/mhz);
        
        /*
         * write() syscall  (at end of syscall table)
         */
        realtotal = 0.0;
        total = 0;
        fh = open("/tmp/xxx_tmp_syscall_test_xxx", (O_CREAT|O_RDWR), 0644);
        for (jj=0; jj<groups; jj++) {
                for (ii=0; ii<times; ii++) {
                        mTICKNOW(tick1);

                        write(fh, buf, 4096);

                        mTICKNOW(tick2);

                        total += (tick2 - tick1);

                        lseek(fh, 0, SEEK_SET);
                }
                realtotal += ((double)total / times);
                total = 0;
                usleep(1000);
        }
        close(fh);


        printf("Average call to        write(%d) lasts: %lf us\n",
                ii*groups, (realtotal/groups)/mhz);
}

--===============0968378473==--

---------------------------------------
Received: (at 212902-done) by bugs.debian.org; 26 Sep 2003 19:42:04 +0000
>From [EMAIL PROTECTED] Fri Sep 26 14:42:02 2003
Return-path: <[EMAIL PROTECTED]>
Received: from mx3.informatik.uni-tuebingen.de [134.2.12.26] 
        by master.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1A2yTa-0002dd-00; Fri, 26 Sep 2003 14:42:02 -0500
Received: from juist (semeai [134.2.15.66])
        by mx3.informatik.uni-tuebingen.de (Postfix) with ESMTP id BD6A315A
        for <[EMAIL PROTECTED]>; Fri, 26 Sep 2003 21:42:00 +0200 (DFT)
Received: from falk by juist with local (Exim 3.36 #1 (Debian))
        id 1A2yTY-0001F9-00
        for <[EMAIL PROTECTED]>; Fri, 26 Sep 2003 21:42:00 +0200
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^
To: [EMAIL PROTECTED]
Subject: Re: Bug#212902: gcc-3.3: gcc generates illegal intermediate assembly 
file: invalid character '=' in operand 1
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
From: Falk Hueffner <[EMAIL PROTECTED]>
Date: 26 Sep 2003 21:41:59 +0200
In-Reply-To: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Lines: 4
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (cabbage)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=0.0 required=4.0
        tests=none
        version=2.53-bugs.debian.org_2003_9_21
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_9_21 
(1.174.2.15-2003-03-30-exp)

Closing on request of submitter.

-- 
        Falk


Reply via email to