[PATCH AArch64/V3]Add new patterns for vcond_mask and vec_cmp

Andreas Schwab schwab@suse.de
Thu Aug 11 07:08:00 GMT 2016


../../gcc/config/aarch64/aarch64-simd.md: In function 'rtx_def* gen_vec_cmpv2sfv2si(rtx, rtx, rtx, rtx)':
../../gcc/config/aarch64/aarch64-simd.md:2498:17: error: 'comparison' may be used uninitialized in this function [-Werror=maybe-uninitialized]
       emit_insn (comparison (operands[0], operands[2], operands[3]));
       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/config/aarch64/aarch64-simd.md:2416:9: note: 'comparison' was declared here
   rtx (*comparison) (rtx, rtx, rtx);
         ^~~~~~~~~~
../../gcc/config/aarch64/aarch64-simd.md: In function 'rtx_def* gen_vec_cmpv4sfv4si(rtx, rtx, rtx, rtx)':
../../gcc/config/aarch64/aarch64-simd.md:2498:17: error: 'comparison' may be used uninitialized in this function [-Werror=maybe-uninitialized]
       emit_insn (comparison (operands[0], operands[2], operands[3]));
       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/config/aarch64/aarch64-simd.md:2416:9: note: 'comparison' was declared here
   rtx (*comparison) (rtx, rtx, rtx);
         ^~~~~~~~~~
../../gcc/config/aarch64/aarch64-simd.md: In function 'rtx_def* gen_vec_cmpv2dfv2di(rtx, rtx, rtx, rtx)':
../../gcc/config/aarch64/aarch64-simd.md:2498:17: error: 'comparison' may be used uninitialized in this function [-Werror=maybe-uninitialized]
       emit_insn (comparison (operands[0], operands[2], operands[3]));
       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/config/aarch64/aarch64-simd.md:2416:9: note: 'comparison' was declared here
   rtx (*comparison) (rtx, rtx, rtx);
         ^~~~~~~~~~

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Gcc-patches mailing list