From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1104 invoked by alias); 21 Aug 2004 04:35:38 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 1082 invoked from network); 21 Aug 2004 04:35:35 -0000 Received: from unknown (HELO huawei.com) (61.144.161.24) by sourceware.org with SMTP; 21 Aug 2004 04:35:35 -0000 Received: from huawei.com (huawei.com [172.17.1.61]) by mta2.huawei.com (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0I2S00KF54TTZV@mta2.huawei.com> for gcc-help@gcc.gnu.org; Sat, 21 Aug 2004 12:37:05 +0800 (CST) Received: from huawei.com ([172.17.1.58]) by mta2.huawei.com (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0I2S00BYH4TTIG@mta2.huawei.com> for gcc-help@gcc.gnu.org; Sat, 21 Aug 2004 12:37:05 +0800 (CST) Received: from [10.110.211.35] by maila.huawei.com (mshttpd); Sat, 21 Aug 2004 12:29:42 +0800 Date: Sat, 21 Aug 2004 11:52:00 -0000 From: jiayu 33576 Subject: Two additional errors of GCC 2.96 To: "gcc-help@gcc.gnu.org" , Ian Lance Taylor Message-id: <6e9e1201.12016e9e@huawei.com> MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_G88X2VvWrlhwVGOW8lXlYw)" Content-language: en Priority: normal X-imss-version: 2.7 X-imss-result: Passed X-imss-approveListMatch: *@huawei.com X-SW-Source: 2004-08/txt/msg00204.txt.bz2 This is a multi-part message in MIME format. --Boundary_(ID_G88X2VvWrlhwVGOW8lXlYw) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline Content-length: 1858 The problem we meeted last have not solved. The code is so large and I am trying to simplify it. We meeted two additional problems.All the errors took place when we were compiling C or C++ using Tornado 2.2 for MIPS. The compiler is GCC 2.96 suppiled by WindRiver. Please help us! Thanks a lot 1. The compiler can't compare an element of enum and an unsigned short variable Error information: ../../../src/momu/src/mnt/cmnt_int.cpp:3736: Internal compiler error in `copy_to_mode_reg', at explow.c:710 cmnt_int.cpp:3736: if ( LID_OMU != g_uwLogicBoardType ) /* Error occurs here */ { vos_printf("error"); } The related defination: typedef enum { LID_OMU = 0x0100, /*256 MOMU,FOMU*/ ... } VOS_UINT16 g_uwLogicalBoardNo = VOS_NULL_WORD; typedef unsigned short VOS_UINT16; #define VOS_NULL_WORD 0xFFFF 2. The compiler can't assign by structure ../../../src/momu/src/mnt/cmnt_int.cpp:3751: Internal compiler error in `move_by_pieces', at expr.c:1505 cmnt_int.cpp:3751 struct tmp a,b; a.time = b.time; /* Error occurs here */ The related defination: #pragma pack(1) struct tmp { VOS_UINT32 a; SYS_T time; }; #pragma pack(4) name: jiayu email: jiayu@huawei.com ************************************************************** This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! ************************************************************** --Boundary_(ID_G88X2VvWrlhwVGOW8lXlYw) Content-type: text/x-vcard; name=j33576.vcf; charset=windows-1252 Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=j33576.vcf Content-description: Card for jiayu 33576 Content-length: 86 begin:vcard n:Jia;Yu fn:Jia Yu version:2.1 email;internet:jiayu@huawei.com end:vcard --Boundary_(ID_G88X2VvWrlhwVGOW8lXlYw)--