Re: [go-nuts] [gccgo] weird constant values in sysinfo.go

2019-08-13 Thread 'Than McIntosh' via golang-nuts
Hi, Thanks for the heads-up. I also see what you're seeing for my build, and this is a mystery for me as well. The libgo makefile generates "sysinfo.go" by running the C compiler on a source that includes various system headers, so as to capture Go versions of C-specific constants and types.

[go-nuts] [gccgo] weird constant values in sysinfo.go

2019-08-12 Thread Xiangdong JI
Hello, The .go files generated during building gccgo seem to have a few constants with weird values, for example: // sysinfo.go (on x86-64, latest gcc-9 trunk) const ___FLT128_MAX__ = 1.1 const ___FLT32X_DENORM_MIN__ = 1.1 as a comparison, gollvm generates expected values. Could it be caused