Re: I absolutely despise the whole -fexec-charset and locale garbage.

2020-11-18 Thread Liu Hao via Gcc
在 2020/11/19 上午2:31, sotrdg sotrdg via Gcc 写道: > The locale shit is not thread safe. printf(“Hello World %d”,3) is undefined > behavior under none-UTF-8 exec-charset. WTF WTF WTF. > > This is purely garbage tbh. Just remove this toggle. I want encoding, I can > use another library. I do not need

I absolutely despise the whole -fexec-charset and locale garbage.

2020-11-18 Thread sotrdg sotrdg via Gcc
The locale shit is not thread safe. printf(“Hello World %d”,3) is undefined behavior under none-UTF-8 exec-charset. WTF WTF WTF. This is purely garbage tbh. Just remove this toggle. I want encoding, I can use another library. I do not need the compiler to do the shitty job for me to ruin my cod

PETITION TO REMOVE -fexec-charset in GCC. That is purely garbage and undefined behavior.

2020-11-18 Thread sotrdg sotrdg via Gcc
printf(“Hello World\n”); is UB under -fexec-charset= EBCDIC. WTF WTF!!! Sent from Mail for Windows 10

Re: Ping(3): [PATCH v4] : Add nitems()

2020-11-18 Thread Alejandro Colomar via Gcc
On 11/18/20 12:11 AM, Joseph Myers wrote: > On Tue, 17 Nov 2020, Alejandro Colomar via Libc-alpha wrote: > >> Nice! >> Please update me on any feedback you receive. > > Apparently the author is planning new versions of those papers so WG14 > discussion is waiting for those. > >> So glibc wil

Re: cache optimization through samping hardware event

2020-11-18 Thread Bin.Cheng via Gcc
On Tue, Nov 10, 2020 at 3:04 PM 172060045 <172060...@hdu.edu.cn> wrote: > > Hi, > > Recently, I was interested in GCC AutoFDO optimization, which works by > sampling specific PMU event on production machines and using those profiles > to guide optimization. In this way, information such as cache