diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-07-18 16:51:00 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-07-18 16:51:00 +0000 |
commit | 36729568fbf96ea0d481344cf3ef559c74f59f95 (patch) | |
tree | f69963b61a1183cdb2ba1bcaf21e751295ab420f /gcc/tree-ssa-phiopt.c | |
parent | a6fc663e311b2b862373e4a4f3ee7d6836acb1a2 (diff) | |
download | gcc-36729568fbf96ea0d481344cf3ef559c74f59f95.zip gcc-36729568fbf96ea0d481344cf3ef559c74f59f95.tar.gz gcc-36729568fbf96ea0d481344cf3ef559c74f59f95.tar.bz2 |
compiler: fix bug in importing blocks from inline functions
This patch fixes a buglet in the function body importer. Add hooks for
keeping a stack of blocks corresponding to the block nesting in the
imported function. This ensures that local variables and temps wind up
correctly scoped and don't introduce collisions.
New test case for this problem in CL 186717.
Fixes golang/go#33158.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/186757
From-SVN: r273577
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
0 files changed, 0 insertions, 0 deletions