From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14702 invoked by alias); 29 Apr 2003 14:36:05 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 14628 invoked by uid 71); 29 Apr 2003 14:36:02 -0000 Resent-Date: 29 Apr 2003 14:36:02 -0000 Resent-Message-ID: <20030429143602.14627.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, mark@codesourcery.com Resent-Reply-To: gcc-gnats@gcc.gnu.org, ghazi@caip.rutgers.edu Received: (qmail 14394 invoked by uid 48); 29 Apr 2003 14:35:18 -0000 Message-Id: <20030429143518.14393.qmail@sources.redhat.com> Date: Tue, 29 Apr 2003 14:36:00 -0000 From: ghazi@caip.rutgers.edu Reply-To: ghazi@caip.rutgers.edu To: gcc-gnats@gcc.gnu.org Cc: mark@codesourcery.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) X-GNATS-Notify: mark@codesourcery.com Subject: middle-end/10540: mips-sgi-irix6.5 testsuite failure in gcc.c-torture/execute/20020227-1.c with checking enabled X-SW-Source: 2003-04/txt/msg01347.txt.bz2 List-Id: >Number: 10540 >Category: middle-end >Synopsis: mips-sgi-irix6.5 testsuite failure in gcc.c-torture/execute/20020227-1.c with checking enabled >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Apr 29 14:36:02 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Kaveh Ghazi >Release: gcc version 3.3 20030429 (prerelease) >Organization: >Environment: mips-sgi-irix6.5 >Description: With the 3.3 branch, I'm getting new testsuite failures with checking enabled on mips-sgi-irix6.5 in gcc.c-torture/execute/20020227-1.c. The errors did NOT happen in a 4/23 version: http://gcc.gnu.org/ml/gcc-testresults/2003-04/msg01502.html But they DO happen in a 4/26 version: http://gcc.gnu.org/ml/gcc-testresults/2003-04/msg01636.html I'll try and narrow it down a bit more. >How-To-Repeat: Configure with --enable-checking and target mips-sgi-irix6.5 and compile 20020227-1.i with: cc1 -fpreprocessed 20020227-1.i -quiet -dumpbase 20020227-1.c -auxbase 20020227-1 -version -o 20020227-1.s # 1 "20020227-1.c" # 1 "" # 1 "" # 1 "20020227-1.c" typedef __complex__ float cf; struct x { char c; cf f; } __attribute__ ((__packed__)); extern void f2 (struct x*); extern void f1 (void); int main (void) { f1 (); exit (0); } void f1 (void) { struct x s; s.f = 1; s.c = 42; f2 (&s); } void f2 (struct x *y) { if (y->f != 1 || y->c != 42) abort (); } >Fix: >Release-Note: >Audit-Trail: >Unformatted: