Skip to content

gccgo: internal compiler error: Segmentation fault during GIMPLE pass: ealias #44383

Closed
@ALTree

Description

@ALTree
$ gccgo --version
gccgo (Debian 10.2.1-6) 10.2.1 20210110
package main

func main() {
	var b1, b2 byte
	f := func() int {
		var m map[byte]int
		return m[b1/b2]
	}
	f()
}
$ gccgo -O2 crash.go 

during GIMPLE pass: ealias
In function ‘main.main..func1’:
go1: internal compiler error: Segmentation fault
0x7f5b4b547d5f ???
	./signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0x7f5b4b532d09 __libc_start_main
	../csu/libc-start.c:308
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.

cc @ianlancetaylor @thanm

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions