re PR libgomp/66714 (ICE in loc_list_from_tree with -g)
authorCesar Philippidis <cesar@codesourcery.com>
Fri, 24 Jul 2015 14:38:43 +0000 (07:38 -0700)
committerCesar Philippidis <cesar@gcc.gnu.org>
Fri, 24 Jul 2015 14:38:43 +0000 (07:38 -0700)
commit710ee218547fc4ecbcba7a0f1dff73ce51fffb7b
tree4caf60c4272974485ca33f106b3ebe2e407dc7d9
parent009cea8635f5266381322e0450dfa72758a89c4c
re PR libgomp/66714 (ICE in loc_list_from_tree with -g)

PR 66714

gcc/
* tree-cfg.c (struct replace_decls_d): New struct.
(replace_block_vars_by_duplicates_1): New function.
(replace_block_vars_by_duplicates): Use it to replace the decls
in the value exprs by duplicates.

libgomp/
* testsuite/libgomp.c/pr66714.c: New test.

From-SVN: r226160
gcc/ChangeLog
gcc/tree-cfg.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr66714.c [new file with mode: 0644]