From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21286 invoked by alias); 6 May 2003 00:46:01 -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 21263 invoked by uid 71); 6 May 2003 00:46:01 -0000 Date: Tue, 06 May 2003 00:46:00 -0000 Message-ID: <20030506004601.21262.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Wolfgang Bangerth Subject: Re: c++/2182 Reply-To: Wolfgang Bangerth X-SW-Source: 2003-05/txt/msg00327.txt.bz2 List-Id: The following reply was made to PR inline-asm/2182; it has been noted by GNATS. From: Wolfgang Bangerth To: gcc-gnats@gcc.gnu.org Cc: Subject: Re: c++/2182 Date: Mon, 5 May 2003 19:40:40 -0500 (CDT) Only my last testcase still ICEs: ------------------------ void foo(unsigned char * destination, const unsigned char * Y, const unsigned char * Cb, const unsigned char * Cr, int width, int height, int stride) { static unsigned short delta[]; static short scale[]; asm volatile( "emms\n" : : "r" (destination), "r" (Cb), "r" (Cr), "r" (stride), "m" (delta), "m" (scale), "m" (width) ); } ------------------------------- g/x> /home/bangerth/bin/gcc-3.4-pre/bin/gcc -c -fpic x.cc -O2 x.cc: In function `void foo(unsigned char*, const unsigned char*, const unsigned char*, const unsigned char*, int, int, int)': x.cc:7: error: storage size of `delta' isn't known x.cc:8: error: storage size of `scale' isn't known x.cc:7: internal compiler error: tree check: expected class 't', have 'x' ( error_mark) in set_mem_attributes_minus_bitpos, at emit-rtl.c:1889 Please submit a full bug report, Seems like an error recovery problem. W.