From grog@wantadilla.lemis.com  Sat May 13 22:57:36 2000
Return-Path: <grog@wantadilla.lemis.com>
Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80])
	by hub.freebsd.org (Postfix) with ESMTP id DC76C37BCBB
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 13 May 2000 22:57:32 -0700 (PDT)
	(envelope-from grog@wantadilla.lemis.com)
Received: (from root@localhost)
	by wantadilla.lemis.com (8.9.3/8.9.3) id PAA61713;
	Sun, 14 May 2000 15:28:00 +0930 (CST)
	(envelope-from grog)
Message-Id: <200005140558.PAA61713@wantadilla.lemis.com>
Date: Sun, 14 May 2000 15:28:00 +0930 (CST)
From: Greg Lehey <grog@wantadilla.lemis.com>
Reply-To: grog@wantadilla.lemis.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: Compiler fails when compiling XFree86 with optimization
X-Send-Pr-Version: 3.2

>Number:         18542
>Category:       gnu
>Synopsis:       Compiler fails when compiling XFree86 with optimization
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 13 23:00:03 PDT 2000
>Closed-Date:    Sat Jul 21 20:52:46 PDT 2001
>Last-Modified:  Sat Jul 21 20:53:31 PDT 2001
>Originator:     Greg Lehey
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
LEMIS
		PO Box 460
		Echunga SA 5153
		Australia
>Environment:

	Any recent FreeBSD 5.0-CURRENT, latest development sources for
	XFree86.

>Description:

	When installing XFree86 after a successful 'make world', the
	compiler fails for multiple files with the following message:

	making all in programs/Xserver/Xext/extmod...
	rm -f xf86vmode.o
	cc -c -O2 -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith   -I.. -I../../include -I../../../../exports/include/X11 -I../../../../include/extensions          -I../../../../programs/Xserver/hw/xfree86/common  -I../../../../include/fonts  -I../../../.. -I../../../../exports/include  -DCSRG_BASED -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP  -DXF86BIGFONT -DDPMSExtension  -DPIXPRIV -DPANORAMIX  -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE  -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DSMART_SCHEDULE -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO  -DIN_MODULE -DEXTMODULE  xf86vmode.c
	xf86vmode.c: In function `ProcXF86VidModeGetMonitor':
	xf86vmode.c:1320: Unable to generate reloads for:
	(insn 306 304 308 (parallel[ 
	            (set (reg:SI 0 %eax)
	                (fix:SI (fix:SF (subreg:SF (reg:SI 0 %eax) 0))))
	            (clobber (mem:HI (plus:SI (reg:SI 6 %ebp)
	                        (const_int -34 [0xffffffde])) 0))
	            (clobber (mem:HI (plus:SI (reg:SI 6 %ebp)
	                        (const_int -36 [0xffffffdc])) 0))
	            (clobber (mem:SI (plus:SI (reg:SI 6 %ebp)
	                        (const_int -40 [0xffffffd8])) 0))
	            (clobber (scratch:HI))
	        ] ) 145 {fix_truncsfsi2+1} (insn_list 299 (nil))
	    (expr_list:REG_DEAD (reg:SI 0 %eax)
	        (expr_list:REG_UNUSED (scratch:HI)
	            (nil))))

>How-To-Repeat:

	
>Fix:

	Fix not known.  Disabling optimization works around the
	problem.



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: mike 
State-Changed-When: Sat Jul 21 19:27:06 PDT 2001 
State-Changed-Why:  

Is this still a problem in a newer -CURRENT? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18542 
State-Changed-From-To: feedback->closed 
State-Changed-By: mike 
State-Changed-When: Sat Jul 21 20:52:46 PDT 2001 
State-Changed-Why:  

Originator confirmed that this is no longer a problem. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18542 
>Unformatted:
