Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade

From: Yuriy Tsibizov <Yuriy.Tsibizov_at_gfk.ru>
Date: Sun, 27 May 2007 00:30:20 +0400
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_at_gmail.com>
Sent: 26.05.07 23:48:33
To: "Yuriy Tsibizov"<Yuriy.Tsibizov_at_gfk.ru>
Cc: "Yuriy.Tsibizov_at_gfk.ru"<Yuriy.Tsibizov_at_gfk.ru>, "ed_at_fxq.nl"<ed_at_fxq.nl>, "current_at_freebsd.org"<current_at_freebsd.org>, "freebsd_at_unixfreunde.de"<freebsd_at_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_at_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. 
> 
> (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.

-- 
Alexander Kabaev
Received on Sat May 26 2007 - 18:30:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:11 UTC