Hello gcc. Why -fvtable-gc was removed from the compiler?

2020-06-09 Thread sotrdg sotrdg via Gcc
What’s wrong with eliminating unused virtual functions in the binary? Sent from Mail for Windows 10

Is it very hard to implement Zero-overhead deterministic exceptions: Throwing values??

2020-06-13 Thread sotrdg sotrdg via Gcc
http://open-std.org/JTC1/SC22/WG21/docs/papers/2018/p0709r0.pdf I really want this feature. How, it looks like this requires changes on RTL, gimple and C++ front-end. Is that very hard to implement it? Sent from Mail for Windows 10

Are you going to fix the addcarry_u64 and subborrow_u64 bugs in the future?

2020-10-12 Thread sotrdg sotrdg via Gcc
The assembly GCC generates are just wrong, very wrong here. People have reported the similar bugs since 2015 over and over again but GCC still could not get it done right. Even MSVC is doing the right thing. If you are not going to fix them, okay, I will start to write assembly manually. I have

What would happen when linking code that compiles with -fexec-charset=IBM-12712 and UTF8?

2020-10-23 Thread sotrdg sotrdg via Gcc
I think that just generates undefined behaviors. Sent from Mail for Windows 10

Time for std::bit_cast

2020-10-30 Thread sotrdg sotrdg via Gcc
Thank you! Jakub. YES to std::bit_cast Sent from Mail for Windows 10

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

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

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

2020-11-19 Thread sotrdg sotrdg via Gcc
Re: I absolutely despise the whole -fexec-charset and locale garbage. 在 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

Why there are no macro to access the name of current exec-charset and fwide-exec-charset??????

2020-11-25 Thread sotrdg sotrdg via Gcc
I have to make filename work correctly under none UTF-8 exec charset. Do not tell me to use locale since locale is not thread-safe and configure locale is a huge issue. I do not use any C stdio or C++ iostream facilities since I create my own I/O library from scratch. However, this is something

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

2020-11-25 Thread sotrdg sotrdg via Gcc
Glibc cannot deal with EBCDIC or any other charset besides UTF-8 since GCC itself does not emit exec-coding set to C library and C library just could not deal with it. Even glibc could deal with it, GCC allows different exec-charset to be linked with each other which is definitely an undefined

Any possibility to support link with msvc stl just like clang??

2020-12-28 Thread sotrdg sotrdg via Gcc
That would be fun. Sent from Mail for Windows 10

Time to update all licenses in code to 2021

2021-01-01 Thread sotrdg sotrdg via Gcc
Update copyright years. · gcc-mirror/gcc@8d9254f (github.com) Sent from Mail for Windows 10

boostrap failure with newlib

2021-02-27 Thread sotrdg sotrdg via Gcc
../../../gcc/libssp/ssp.c: In function '__guard_setup': ../../../gcc/libssp/memcpy-chk.c:45:15: error: unknown type name 'size_t' 45 | size_t len, size_t slen) | ^~ ../../../gcc/libssp/ssp.c:93:12: warning: implicit declaration of function 'open' [-Wimplici

Is it very hard to support wasi backend?

2021-04-28 Thread sotrdg sotrdg via Gcc
I helped built libstdc++ on wasm32-wasi with clang. It works great. However, are we going to have GCC’s own wasm32-wasi backend support in the future? Sent from Mail for Windows 10

Does bootstrap make native compiler faster? Should I always use --disable-boostrap?

2021-06-02 Thread sotrdg sotrdg via Gcc
The document said yes. However, what does bootstrap actually do that can make compiler faster? Sent from Mail for Windows 10

Does GCC have __gnuc_literal_encoding__ macro defined?

2021-06-25 Thread sotrdg sotrdg via Gcc
I just realized clang has this but clang does not support -fexec-charset. Clang Language Extensions — Clang 13 documentation (llvm.org) __clang_literal_encoding__ Defined to a narrow string literal that represents the current encoding of nar

GCC admin is down. Daily bump is no longer available.

2021-08-02 Thread sotrdg sotrdg via Gcc
last Daily bump was 5 days ago. Need a fix on Daily bump Get Outlook for Android

Break abis of std::span??

2021-08-08 Thread sotrdg sotrdg via Gcc
I am reading the source code of i386. I am going to add a new attribute [[gnu::ms_abi_spread_register]] to the GCC compiler and fixes the abi efficiency of std::span on ms_abi. gcc/i386.c at master · gcc-mirror/gcc (github.com)

does aarch64-w64-mingw32 triplet exist??

2021-09-07 Thread sotrdg sotrdg via Gcc
I am curious whether binutils-gdb/gcc support arm architectures of mingw32. Sent from Mail for Windows

__builtin_addc support??

2021-10-27 Thread sotrdg sotrdg via Gcc
79173 – add-with-carry and subtract-with-borrow support (x86_64 and others) (gnu.org) What I find quite interesting is things like this. Since llvm clang provides __builtin_addc __builtin_subc for all targets. Can we provide something similar?

RE: __builtin_addc support??

2021-10-27 Thread sotrdg sotrdg via Gcc
?? > On Oct 27, 2021, at 12:12 PM, sotrdg sotrdg via Gcc wrote: > > 79173 – add-with-carry and subtract-with-borrow support (x86_64 and others) > (gnu.org)<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79173> > > What I find quite interesting is things like this. > &g

RE: __builtin_addc support??

2021-10-27 Thread sotrdg sotrdg via Gcc
indows From: Segher Boessenkool Sent: Wednesday, October 27, 2021 7:16:41 PM To: sotrdg sotrdg Cc: gcc@gcc.gnu.org ; gcc-requ...@gcc.gnu.org ; gcc-h...@gcc.gnu.org Subject: Re: __builtin_addc support?? On Wed, Oct 27, 2021 at 04:12:27PM +, sotrdg sotrdg via Gcc-help wrote: > 79173 – add-w

RE: __builtin_addc support??

2021-10-27 Thread sotrdg sotrdg via Gcc
ailto:gcc@gcc.gnu.org>; gcc-requ...@gcc.gnu.org<mailto:gcc-requ...@gcc.gnu.org>; gcc-h...@gcc.gnu.org<mailto:gcc-h...@gcc.gnu.org> Subject: Re: __builtin_addc support?? On Wed, Oct 27, 2021 at 04:12:27PM +, sotrdg sotrdg via Gcc-help wrote: > 79173 – add-with-carry and subtract

Has GCC completed C++ 20 module support?

2021-11-01 Thread sotrdg sotrdg via Gcc
It looks like It is still in early phase. the fmodule-ts still emits dead code for example. any progress here? Get Outlook for Android

Portable solutions for carry flags?

2021-12-05 Thread sotrdg sotrdg via Gcc
Thank you!!! Sent from Mail for Windows

Re: [Mingw-w64-public] gcc parameter -mcrtdll= for choosing Windows C RunTime DLL library

2022-11-26 Thread sotrdg sotrdg via Gcc
what you want is basically a ucrt multilib. However, neither glibc provides the same toggle too. i do not see a good reason for your request. Get Outlook for Android From: Pali Rohár Sent: Saturday, November 26, 2022 2:09:09 PM To: LIU Hao

FW: Introducing the "wincall" Calling Convention for GCC

2023-08-08 Thread sotrdg sotrdg via Gcc
I present a novel calling convention named "wincall" designed specifically for GCC. This convention is accompanied by the [[__gnu__::__wincall__]] attribute and caters to the latest Intel APX instructions on Windows systems, excluding Linux, BSD, and similar platforms. Motivation: The current