http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46387
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.6.0 --- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-09 11:35:35 UTC --- Reduced testcase, no longer requires stack-protector: typedef signed short gint16; typedef int gint; typedef double gdouble; typedef struct _GdkDrawable GdkPixmap; typedef struct _GdkDrawable GdkWindow; typedef enum { GDK_BUTTON1_MASK = 1 << 8 } GdkModifierType; typedef struct _GdkEventMotion GdkEventMotion; struct _GdkEventMotion { GdkWindow *window; gdouble x; gdouble y; gint16 is_hint; }; typedef struct _GtkWidget GtkWidget; typedef struct { unsigned char width; } gn_bmp; GdkPixmap *drawingPixmap = ((void *)0); int mouseButtonPushed = 0; gn_bmp bitmap, oldBitmap; int activeTool = 0; gint DrawingAreaMotionNotifyEvent(GtkWidget * widget, GdkEventMotion * event) { int x, y; GdkModifierType state; if (!mouseButtonPushed && activeTool != 0) return (!(0)); if (event->is_hint) gdk_window_get_pointer(&x, &y, &state); else { x = event->x; y = event->y; } x = x / (5 + 1); y = y / (5 + 1); if (x < 0) x = 0; if (x > bitmap.width - 1) x = bitmap.width - 1; switch (activeTool) { case 0: ToolBrush(widget, x, y, 1); } return (!(0)); } ./cc1 -quiet xgnokii_logos.3.i -O2 -g xgnokii_logos.3.i: In function 'DrawingAreaMotionNotifyEvent': xgnokii_logos.3.i:48:1: internal compiler error: in add_stores, at var-tracking.c:5415 Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.opensuse.org/> for instructions. reproducible with a cross to ia64-linux.