Date: Wed, 29 Dec 1999 11:37:18 -0800 From: Amancio Hasty <hasty@rah.star-gate.com> To: "Jordan K. Hubbard" <jkh@zippy.cdrom.com> Cc: Peter Wemm <peter@netplex.com.au>, Bill Fumerola <billf@chc-chimes.com>, obrien@FreeBSD.org, Donn Miller <dmmiller@cvzoom.net>, current@FreeBSD.org Subject: Re: gcc compile error Message-ID: <199912291937.LAA43173@rah.star-gate.com> In-Reply-To: Your message of "Wed, 29 Dec 1999 10:43:32 PST." <28389.946493012@zippy.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Sending out an attachment of that size to a public mailing list was > hardly necessary, and the increasing stridency of your posts leading > up to this only serve to indicate that you may be heading in the truly > wrong direction with all this and seriously need to rethink your > strategy before you do something that has people howling for your > blood. > > - Jordan Okay folks, This is the scoop. For the benefit of those which don't have access to the latest XFree86 release you can download the file from ftp://rah.star-gate.com/pub/bug.c uname -a FreeBSD x.star-gate.com 4.0-CURRENT FreeBSD 4.0-CURRENT #2: Mon Dec 27 13:55:25 PST 1999 root@x.star-gate.com:/usr/src/sys/compile/MUADIB i386 gcc -v Using builtin specs. gcc version 2.95.2 19991024 (release) gcc -c -O2 bug.c xf86vmode.c: In function `ProcXF86VidModeGetMonitor': xf86vmode.c:1320: Unable to generate reloads for: (insn 300 298 302 (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 293 (nil)) (expr_list:REG_DEAD (reg:SI 0 %eax) (expr_list:REG_UNUSED (scratch:HI) (nil)))) ------------------------------ Without -O or -O2 the program compiles okay. gcc -c bug.c According to Peter, the ports/lang/gcc-devel (the current snapshot) appears to compile this program fine -- that is the compiler bug has been fixed. So there appears to be two solutions to get around this problem: 1. compile without -O or 2. installed the latest snapshot of gcc. Take Care Guys -- Amancio Hasty hasty@rah.star-gate.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912291937.LAA43173>