Bug 58125 - gcc internal error when compiling gtkmenushell.c
Summary: gcc internal error when compiling gtkmenushell.c
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: gcc
Version: 1.0
Hardware: i686
OS: Linux
medium
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-01-09 10:51 UTC by namsh
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-01-09 11:33:52 UTC
Embargoed:


Attachments (Terms of Use)
gtkmenushell.i (276.32 KB, text/plain)
2002-01-09 11:33 UTC, namsh
no flags Details

Description namsh 2002-01-09 10:51:20 UTC
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:

Comment 1 Jakub Jelinek 2002-01-09 10:59:08 UTC
Can you please attach gtkmenushell.i (just add -save-temps to the above
command line)? Thanks.

Comment 2 namsh 2002-01-09 11:33:47 UTC
Created attachment 42091 [details]
gtkmenushell.i

Comment 3 Jakub Jelinek 2002-01-28 12:06:59 UTC
Should be fixed in gcc-3.1-0.18.


Note You need to log in before you can comment on or make changes to this bug.