On 10/17/2016 03:08 PM, Richard Shaw wrote:
On Fri, Oct 14, 2016 at 1:24 AM, Florian Weimer fweimer@redhat.com wrote:
On 10/14/2016 01:15 AM, Samuel Sieb wrote:
On 10/13/2016 12:04 PM, Richard Shaw wrote:
The following workaround was suggested by upstream and seemed to do the trick but upstream doesn't want to perform needless initialization on platforms/arches that don't require it.
Why would it be arch-dependent whether or not a variable needs to be
initialized?
These warnings are issued from the optimizers. There are some GCC optimizations which are architecture-specific and run very early, before the warnings discussed here are generated.
-Werror for optimizer-dependent warnings is usually not a good idea for this reason.
Any specific recommendations for this issue? Should the variables be initialized on x86_64 too or some kind of conditional implemented?
What's the definition of the float4 type?
Thanks, Florian