From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20770 invoked by alias); 30 Jun 2005 00:15:14 -0000 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 Received: (qmail 20749 invoked by uid 48); 30 Jun 2005 00:15:09 -0000 Date: Thu, 30 Jun 2005 00:15:00 -0000 From: "jsm28 at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20050630001507.22240.jsm28@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c/22240] New: ICE with transparent unions, function pointers and -pedantic X-Bugzilla-Reason: CC X-SW-Source: 2005-06/txt/msg03508.txt.bz2 List-Id: typedef union { union w *u; int *i; } H __attribute__ ((transparent_union)); void (*h) (H); void g (int *s) { h (s); } yields an ICE when compiled with -pedantic. Not a regression. See discussion at and thread; DECL_IN_SYSTEM_HEADER is being checked on a NULL fundecl. -- Summary: ICE with transparent unions, function pointers and - pedantic Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jsm28 at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22240