From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15437 invoked by alias); 27 Jan 2008 23:13:48 -0000 Received: (qmail 15329 invoked by uid 48); 27 Jan 2008 23:13:02 -0000 Date: Mon, 28 Jan 2008 00:14:00 -0000 Subject: [Bug c/34993] New: [4.1/4.2/4.3 regression] ICE with attribute for array with unknown bound X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "reichelt at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-01/txt/msg03384.txt.bz2 The following valid code snippet triggers an ICE since GCC 4.0.0: ============================================ typedef int x[] __attribute((may_alias)); ============================================ bug.c:1: internal compiler error: Segmentation fault Please submit a full bug report, [etc.] The crash happens with the C and C++ frontend. -- Summary: [4.1/4.2/4.3 regression] ICE with attribute for array with unknown bound Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34993