From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12336 invoked by alias); 6 Apr 2003 22:36: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 12319 invoked by uid 71); 6 Apr 2003 22:36:00 -0000 Date: Sun, 06 Apr 2003 22:36:00 -0000 Message-ID: <20030406223600.12318.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Giovanni Bajo" Subject: Re: c/8859: [CygWin] internal error: Segmentation fault Reply-To: "Giovanni Bajo" X-SW-Source: 2003-04/txt/msg00213.txt.bz2 List-Id: The following reply was made to PR c/8859; it has been noted by GNATS. From: "Giovanni Bajo" To: , , , , Cc: "Wolfgang Bangerth" Subject: Re: c/8859: [CygWin] internal error: Segmentation fault Date: Mon, 7 Apr 2003 00:31:24 +0200 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p r=8859 Redux: ----------------------------------------------- struct Foo { int a; }; __attribute__((__dllimport__)) struct Foo f; void* b = &f; ----------------------------------------------- ICE on 3.2: pr8859.c:9: internal error: Segmentation fault Please submit a full bug report, Error on 2.95 and 3.3: pr8859.c:9: error: initializer element is not constant I would flag this as rejects-legal, since the code looks ok to me (even if I don't know exactly how attributes are supposed to work). It's not a regression, though. There was a regression in 3.2 (ICE) but it's fixed in 3.3 Giovanni Bajo