[PD-dev] [ pure-data-Patches-3598153 ] fix type punning issue in bsaylor/svf~
SourceForge.net
noreply at sourceforge.net
Sat Dec 22 15:00:33 CET 2012
Patches item #3598153, was opened at 2012-12-22 05:59
Message generated for change (Settings changed) made by katjav
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3598153&group_id=55736
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: Open
Resolution: None
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3598153&group_id=55736
More information about the Pd-dev
mailing list