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

Doug McLain dougmclain at cayf.org
Thu Jul 28 07:58:55 UTC 2005


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/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: swh-gcc4.patch
Type: text/x-patch
Size: 1008 bytes
Desc: not available
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20050728/bb6d05f5/attachment.bin>


More information about the Linux-audio-dev mailing list