From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30701 invoked by alias); 2 May 2006 12:26:41 -0000 Received: (qmail 30674 invoked by uid 48); 2 May 2006 12:26:38 -0000 Date: Tue, 02 May 2006 12:26:00 -0000 Message-ID: <20060502122638.30673.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/27381] ice on valid code with -O In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth 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-05/txt/msg00137.txt.bz2 List-Id: ------- Comment #3 from rguenth at gcc dot gnu dot org 2006-05-02 12:26 ------- Confirmed. Reduced testcase: typedef char gchar; typedef unsigned char xmlChar; typedef struct _xmlNode xmlNode; typedef xmlNode *xmlNodePtr; struct _xmlNode { struct _xmlNode *next; struct _xmlNode *childs; }; typedef struct _GFFileEntry GFFileEntry; struct _GFFileEntry { gchar *path; }; gf_fm_load_font_2_0_truetype (xmlNodePtr node) { xmlNodePtr child; GFFileEntry ttf; ttf.path = ((void *)0); for (child = node->childs; child != ((void *)0); child = child->next) { xmlChar *type, *xmlpath; if (type && !__builtin_strcmp (type, "ttf") && !ttf.path) { if (xmlpath) { ttf.path = g_strdup (xmlpath); } } if (type) free((type)); if (ttf.path) break; } } -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |law at redhat dot com Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |ice-on-valid-code Known to work| |4.1.0 Last reconfirmed|0000-00-00 00:00:00 |2006-05-02 12:26:37 date| | Summary|ice on valid code with -O2 |ice on valid code with -O http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27381