-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gccgo: segmentation fault (2) #11536
Labels
Milestone
Comments
CL https://golang.org/cl/13097 mentions this issue. |
paranoiacblack
pushed a commit
to golang/gofrontend
that referenced
this issue
Aug 13, 2015
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. Change-Id: I9a99d5a2f8ab396ca71787c2bd2af3b1f7ef625a Reviewed-on: https://go-review.googlesource.com/13097 Reviewed-by: Ian Lance Taylor <[email protected]>
timshen91
pushed a commit
to timshen91/gcc
that referenced
this issue
Aug 13, 2015
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 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226845 138bc75d-0d04-0410-961f-82ee72b054a4
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
gccgo crashes on the following input:
gcc version 6.0.0 2015070 (experimental) (GCC)
The text was updated successfully, but these errors were encountered: