------- 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