PR c++/79672
commit8d307d5b019f5627dd683a5dd9ed5b69ab2ed126
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Mar 2017 09:53:03 +0000 (9 09:53 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Mar 2017 09:53:03 +0000 (9 09:53 +0000)
tree393d20fe3d284a100d6bf59d7c0938881e9e3534
parente7f1a0ca5cb07b0c0736401534ca11ac49994513
PR c++/79672
* tree.c (inchash::add_expr): Handle TREE_VEC.

* g++.dg/warn/Wduplicated-branches2.C: Fix PR.
* g++.dg/warn/Wduplicated-branches3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245996 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wduplicated-branches2.C
gcc/testsuite/g++.dg/warn/Wduplicated-branches3.C [new file with mode: 0644]
gcc/tree.c