[linux-audio-dev] gcc4 patch for swh plugins

From: Doug McLain <dougmclain@email-addr-hidden>
Date: Thu Jul 28 2005 - 10:58:55 EEST

Here is a patch that got swh plugins built for me on FC4 gcc version
4.0.0 20050519 (Red Hat 4.0.0-8)

the original fails on gcc4 for both use of a removed optimize option
-fmove-all-movables and for declaring an already defined non-static
variable as static.

More on the removed optimization flag here:
http://gcc.gnu.org/gcc-4.0/changes.html

The options |-freduce-all-givs| and |-fmove-all-movables| have been
discontinued. They were used to circumvent a shortcoming in the
heuristics of the old loop optimization code with respect to common
Fortran constructs. The new (tree) loop optimizer works differently and
doesn't need those work-arounds.

--
http://nostar.net/

Received on Thu Jul 28 12:15:09 2005

This archive was generated by hypermail 2.1.8 : Thu Jul 28 2005 - 12:15:09 EEST