gcc/libgo/go/internal
Ian Lance Taylor 6b724427aa compiler, libgo: support bootstrapping gc compiler
In the Go 1.21 release the package internal/profile imports
internal/lazyregexp.  That works when bootstrapping with Go 1.17,
because that compiler has internal/lazyregep and permits importing it.
We also have internal/lazyregexp in libgo, but since it is not installed
it is not available for importing.  This CL adds internal/lazyregexp
to the list of internal packages that are installed for bootstrapping.

The Go 1.21, and earlier, releases have a couple of functions in
the internal/abi package that are always fully intrinsified.
The gofrontend recognizes and intrinsifies those functions as well.
However, the gofrontend was also building function descriptors
for references to the functions without calling them, which
failed because there was nothing to refer to.  That is OK for the
gc compiler, which guarantees that the functions are only called,
not referenced.  This CL arranges to not generate function descriptors
for these functions.

For golang/go#60913

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/504798
2023-06-23 16:17:11 -07:00
..
abi compiler, libgo: support bootstrapping gc compiler 2023-06-23 16:17:11 -07:00
buildcfg libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
bytealg libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
cfg libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
cpu libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
execabs
fmtsort libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
fuzz libgo/testsuite: add benchmarks and examples to list 2023-06-16 12:29:04 -07:00
goarch libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
godebug libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
goexperiment libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
goos libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
goroot libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
goversion libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
intern libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
itoa
lazyregexp
lazytemplate libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
nettrace libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
obscuretestdata
oserror
poll libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
profile libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
race
reflectlite libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
singleflight libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
syscall libgo: fix AIX build for the Go1.18 update 2022-03-04 10:19:50 -08:00
sysinfo
testenv libgo: update Hurd support 2022-02-18 15:33:32 -08:00
testlog
trace libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
unsafeheader libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
xcoff