aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vrp.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2015-08-13 01:04:42 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2015-08-13 01:04:42 +0000
commitb02520e94037d26226a0d8da3c577e6ff6d4ffb7 (patch)
treea38ed0948a185084f013a359229cd87e97988d28 /gcc/tree-vrp.c
parent2f4fdc09b0e34c96b2283d81971983d65fa02a8f (diff)
downloadgcc-b02520e94037d26226a0d8da3c577e6ff6d4ffb7.zip
gcc-b02520e94037d26226a0d8da3c577e6ff6d4ffb7.tar.gz
gcc-b02520e94037d26226a0d8da3c577e6ff6d4ffb7.tar.bz2
compiler: Flatten erroneous subtrees into errors.
Between the lowering and flattening passes of the compiler, there are several passes that modify the lowered Go parse tree and as errors are discovered, several nodes transform into error nodes. However, for a higher level node such as a construction expression, the erroneous nodes in the subtrees might not propagate their error. The flatten phase for a node now looks for errors in the subtree and flattens the node into an error node if any are found. Fixes golang/go#11559, golang/go#11536, golang/go#11558. Reviewed-on: https://go-review.googlesource.com/13097 From-SVN: r226845
Diffstat (limited to 'gcc/tree-vrp.c')
0 files changed, 0 insertions, 0 deletions