]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/testsuite/ChangeLog
gimple-fold.c (get_base_constructor): Add VIEW_CONVERT case, handle all tcc_constant...
authorRichard Biener <rguenther@suse.de>
Tue, 19 Jul 2016 14:16:54 +0000 (14:16 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 19 Jul 2016 14:16:54 +0000 (14:16 +0000)
commit13e889530d0da219afcbcd78c768688593dd5257
tree30e3412617c2b0809920e06ce7f81591d03f4515
parent1caf0482104f4b8a3ea0109ae95dd19cf39c52a2
gimple-fold.c (get_base_constructor): Add VIEW_CONVERT case, handle all tcc_constant bases and valueize SSA names.

2016-07-19  Richard Biener  <rguenther@suse.de>

* gimple-fold.c (get_base_constructor): Add VIEW_CONVERT case,
handle all tcc_constant bases and valueize SSA names.
* tree-ssa-sccvn.c (fully_constant_vn_reference_p): Handle
tcc_constant bases.

* c-c++-common/vector-subscript-6.c: New testcase.
* c-c++-common/vector-subscript-7.c: Likewise.

From-SVN: r238475
gcc/ChangeLog
gcc/gimple-fold.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/vector-subscript-6.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/vector-subscript-7.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.c