Skip to content
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: hangs (2) #11531

Closed
dvyukov opened this issue Jul 2, 2015 · 4 comments
Closed

gccgo: hangs (2) #11531

dvyukov opened this issue Jul 2, 2015 · 4 comments
Milestone

Comments

@dvyukov
Copy link
Member

dvyukov commented Jul 2, 2015

gccgo hangs on the following input:

package a
func (g,,v(

gcc version 6.0.0 2015070 (experimental) (GCC)

@dvyukov
Copy link
Member Author

dvyukov commented Jul 2, 2015

@paranoiacblack

@gopherbot
Copy link
Contributor

CL https://golang.org/cl/13065 mentions this issue.

paranoiacblack pushed a commit to golang/gofrontend that referenced this issue Aug 11, 2015
When parsing a malformed function declaration with invalid parameters,
gccgo would infinitely loop looking for the end of the function
declaration.

Fixes golang/go#11530, golang/go#11531.

Change-Id: Ia34a82029c1009eebde9f4966bae2f50dbafd3a1
Reviewed-on: https://go-review.googlesource.com/13065
Reviewed-by: Ian Lance Taylor <iant@golang.org>
@dvyukov
Copy link
Member Author

dvyukov commented Aug 12, 2015

Is it fixed now?

vries pushed a commit to vries/gcc that referenced this issue Aug 12, 2015
    
    When parsing a malformed function declaration with invalid parameters,
    gccgo would infinitely loop looking for the end of the function
    declaration.
    
    Fixes golang/go#11530, golang/go#11531.
    
    Reviewed-on: https://go-review.googlesource.com/13065


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226795 138bc75d-0d04-0410-961f-82ee72b054a4
@ianlancetaylor
Copy link
Contributor

It is fixed.

@golang golang locked and limited conversation to collaborators Aug 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants