From owner-freebsd-current@FreeBSD.ORG Sat May 26 20:30:24 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9C12D16A400 for ; Sat, 26 May 2007 20:30:24 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from mx2.gfk.ru (mx2.gfk.ru [84.21.231.139]) by mx1.freebsd.org (Postfix) with ESMTP id 1E66013C45B for ; Sat, 26 May 2007 20:30:23 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from ex.hhp.local by mx2.gfk.ru (MDaemon PRO v9.5.6) with ESMTP id md50000105638.msg for ; Sun, 27 May 2007 00:33:09 +0400 Received: from 10.0.0.30 ([10.0.0.30]) by ex.hhp.local ([10.0.0.30]) with Microsoft Exchange Server HTTP-DAV ; Sat, 26 May 2007 20:33:05 +0000 From: "Yuriy Tsibizov" To: , Message-ID: <009401c79fd5$10681d17$1e00000a@hhp.local> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sun, 27 May 2007 00:30:20 +0400 MIME-Version: 1.0 Thread-Topic: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade Thread-Index: Acef1RBnrmrhY8pzSQ6dM3g9UMEJag== X-MimeOLE: Produced By Microsoft Exchange V6.5 X-Spam-Processed: mx2.gfk.ru, Sun, 27 May 2007 00:33:09 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 10.0.0.30 X-Return-Path: Yuriy.Tsibizov@gfk.ru X-Envelope-From: Yuriy.Tsibizov@gfk.ru X-MDaemon-Deliver-To: current@freebsd.org X-MDAV-Processed: mx2.gfk.ru, Sun, 27 May 2007 00:33:10 +0400 Cc: current@freebsd.org Subject: Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2007 20:30:24 -0000 Alexander, I've narrowed it down to single function -- emu_vsetup (in = sys/dev/sound/pci/emu10k1.c). Without -ftree-vrp it compiles without = problems, with it it makes broken code. You can also compare it to the = function with the same name in emu10kx.c -- in last file it compiles = with or without -ftree-vrp without problems. If you need more info, I can do more research tomorrow. Yuriy. P.S. Many thanks to ssb from #c on RusNet. -----Original Message----- From: "Alexander Kabaev" Sent: 26.05.07 23:48:33 To: "Yuriy Tsibizov" Cc: "Yuriy.Tsibizov@gfk.ru", = "ed@fxq.nl", "current@freebsd.org", = "freebsd@unixfreunde.de" Subject: Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade On Sat, 26 May 2007 23:38:58 +0400 "Yuriy Tsibizov" wrote: > Alexander, I'm working on it. > The only thing I can say right now, that it's -ftree-vrp that broke > the code -- building with -O -ftree-vrp makes broken binary, while -O > alone does not.=20 >=20 > (sorry for top-posting) Thanks. Ideally should be able to distill the case info a simple preprocessed .i file with just enough code to demonstrate the mis-compilation. I do not have any of the snd_emuXXX cards here myself. --=20 Alexander Kabaev