re PR c++/79672 (ICE with -Wduplicated-branches -fopenmp)
authorMarek Polacek <polacek@redhat.com>
Thu, 9 Mar 2017 09:53:03 +0000 (09:53 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 9 Mar 2017 09:53:03 +0000 (09:53 +0000)
commit410a590c2a718861487e2fc354da02c1394bbcb1
tree393d20fe3d284a100d6bf59d7c0938881e9e3534
parentf084a22e98e995d405569046bde9bb009017d4a1
re PR c++/79672 (ICE with -Wduplicated-branches -fopenmp)

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.

From-SVN: r245996
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