From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12211 invoked by alias); 6 Apr 2006 18:42:41 -0000 Received: (qmail 11962 invoked by uid 48); 6 Apr 2006 18:42:36 -0000 Date: Thu, 06 Apr 2006 18:42:00 -0000 Message-ID: <20060406184236.11960.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/27065] error: array type has incomplete element type In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-04/txt/msg00556.txt.bz2 List-Id: ------- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-06 18:42 ------- This is invalid code, yes it might had been accepted before 4.1.0 but it was still invalid code. The array to pointer decay happens after the type is completed for functions so the element of the array type has to be complete still. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27065