]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/70430 (Incorrect result for logical "and" operation with mixed vector and...
authorRichard Biener <rguenther@suse.de>
Thu, 31 Mar 2016 08:49:09 +0000 (08:49 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 31 Mar 2016 08:49:09 +0000 (08:49 +0000)
commitefc3536f46d9c96daf1f12b587edc583445c3902
tree809367d602e54509895a49dd738cec6ce2c7c8fb
parent4a4932eefd08070d9ef5d5fa79c9d343e876fd01
re PR c++/70430 (Incorrect result for logical "and" operation with mixed vector and scalar)

2016-03-31  Richard Biener  <rguenther@suse.de>

PR c++/70430
* typeck.c (cp_build_binary_op): Fix operand order of vector
conditional in truth op handling.

* g++.dg/ext/vector30.C: New testcase.

From-SVN: r234611
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/vector30.C [new file with mode: 0644]