Patches item #3598153, was opened at 2012-12-22 05:59 Message generated for change (Comment added) made by eighthave You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3598153...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: externals Group: bugfix
Status: Closed Resolution: Accepted
Priority: 5 Private: No Submitted By: Katja (katjav) Assigned to: Nobody/Anonymous (nobody) Summary: fix type punning issue in bsaylor/svf~
Initial Comment: bsaylor/svf~.c uses a type punning method to avoid / eliminate subnormal numbers. When compiled with -ftree-vectorize, the object doesn't give signal output. Compiler warnings:
svf~.c: In function 'run_svf': svf~.c:60: warning: dereferencing type-punned pointer will break strict-aliasing rules svf~.c:61: warning: dereferencing type-punned pointer will break strict-aliasing rules ... cc1: warning: -ftree-vectorize enables strict aliasing. -fno-strict-aliasing is ignored when Auto Vectorization is used.
File bsaylor_svf~-type-punning-fix.patch fixes the issue by using PD_BIGORSMALL() function instead.
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-12-27 21:13
Message: accepted with this commit: http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=revision&revi...
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3598153...