OSDN Git Service

PR middle-end/38633
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 27 Dec 2008 15:38:22 +0000 (15:38 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 27 Dec 2008 15:38:22 +0000 (15:38 +0000)
commitba7226a7e1bf9f55ebf8016c57c4d8ab8b1333a8
tree81a6d4ca8e9e261b635a0bdd4cbc0f6fae985875
parent866389a0b15252ae76f322ba45a67a5f0c289e9a
PR middle-end/38633
* tree-cfg.c (replace_block_vars_by_duplicates): Only call
replace_by_duplicate_decl for VAR_DECLs or CONST_DECLs.

* gcc.dg/gomp/pr38633.c: New test.
* g++.dg/gomp/pr38633.C: New test.

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