Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 May 2007 00:30:20 +0400
From:      "Yuriy Tsibizov" <Yuriy.Tsibizov@gfk.ru>
To:        <kabaev@gmail.com>, <Yuriy.Tsibizov@gfk.ru>
Cc:        current@freebsd.org
Subject:   Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade
Message-ID:  <009401c79fd5$10681d17$1e00000a@hhp.local>

next in thread | raw e-mail | index | archive | help
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"<kabaev@gmail.com>
Sent: 26.05.07 23:48:33
To: "Yuriy Tsibizov"<Yuriy.Tsibizov@gfk.ru>
Cc: "Yuriy.Tsibizov@gfk.ru"<Yuriy.Tsibizov@gfk.ru>, =
"ed@fxq.nl"<ed@fxq.nl>, "current@freebsd.org"<current@freebsd.org>, =
"freebsd@unixfreunde.de"<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" <Yuriy.Tsibizov@gfk.ru> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009401c79fd5$10681d17$1e00000a>