Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#60676 - [gcc-go] internal compiler error with 8.2.1 20180831

Attached to Project: Arch Linux
Opened by Leon George (yogo1212) - Friday, 02 November 2018, 11:43 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Sunday, 23 June 2019, 16:15 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

go1: internal compiler error: in do_lower, at go/gofrontend/statements.cc:3791
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.

£ go version
go version go1.10.3 gccgo (GCC) 8.2.1 20180831 linux/amd64

func (c *connection) handleMessage(msg *message) (err error) {
for k,v := range msg {
switch k {
case "request_content":
r := &make(message)
(*r)["content_html"] = generateHtmlRedirect("https://xkcd.net")
c.send <- r
}
}
return
}

After either one of these changes, regular compile errors appear:
- r := &make(message)
+ r := make(message)
or
- (*r)["content_html"] = generateHtmlRedirect("https://xkcd.net")
+ r["content_html"] = generateHtmlRedirect("https://xkcd.net")

Apply both, and the internal error re-appears.
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Sunday, 23 June 2019, 16:15 GMT
Reason for closing:  Upstream
Additional comments about closing:  Please report it upstream, including reproduce steps.

Loading...