From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7+) Gecko/20020103 Description of problem: gcc-3.1-0.16 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H -DGTK_LIBDIR=\"/usr/lib\" -DGTK_DATA_PREFIX=\"/usr\" -DGTK_SYSCONFDIR=\"/usr/etc\" -DGTK_LOCALEDIR=\"/usr/share/locale\" -I.. -DGTK_NO_CHECK_CASTS -DUSE_XIM -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/X11R6/include -O2 -march=i686 -fomit-frame-pointer -pipe -Wall -c gtkmenushell.c -MT gtkmenushell.lo -MD -MP -MF .deps/gtkmenushell.TPlo -fPIC -DPIC -o .libs/gtkmenushell.lo gtkmenushell.c: In function `gtk_real_menu_shell_move_current': gtkmenushell.c:1000: internal error: Segmentation fault if I removed the '-O2' from the compiler option, then gcc works fine. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. compile gtkmenushell.c (GNOME CVS rev 1.27.2.9) with -O2 2. 3. Actual Results: gcc crashed Expected Results: no crash Additional info:
Can you please attach gtkmenushell.i (just add -save-temps to the above command line)? Thanks.
Created attachment 42091 [details] gtkmenushell.i
Should be fixed in gcc-3.1-0.18.