Re: _BitInt() as underlying enum type

2024-01-28 Thread Jakub Jelinek via Gcc-bugs
On Sat, Jan 27, 2024 at 08:25:04PM -0800, Andrew Pinski via Gcc-bugs wrote: > Just an FYI, the clang issue was > https://github.com/llvm/llvm-project/issues/69619 . > With the following commit to the LLVM git repo as the fix: > https://github.com/llvm/llvm-project/commit/5175cd777c57190ab9860c30479

Re: Y2038: GCC gthr-posix.h weakref symbol invoking function has impact on time values

2023-05-05 Thread Jakub Jelinek via Gcc-bugs
On Fri, May 05, 2023 at 01:13:50PM +0200, Florian Weimer via Gcc-bugs wrote: > * Puneet Kumar Yatnal via Gcc-bugs: > > > What is next step here? How do I post this in Bugzilla and get > > support. > > This issue has already been fixed with this commit: > > commit 80fe172ba9820199c2bbce5d0611ffca

Re: report a bug of gcc implementation of std::vsnprintf()

2023-03-30 Thread Jakub Jelinek via Gcc-bugs
On Thu, Mar 30, 2023 at 08:29:45AM +, Qiang Ren via Gcc-bugs wrote: > I found a bug in the result of std::vsnprintf(), here is the test app that > can reproduce it. > I tested with g++ 11.2 and 12.2 and both have the bug, and this issue does > not happen with visual c++. gcc-bugs is not the

Re: gcc cannot build correctly famous hello program, clang does it correctly

2022-09-07 Thread Jakub Jelinek via Gcc-bugs
On Wed, Sep 07, 2022 at 12:36:22PM +0200, Alex Ernst via Gcc-bugs wrote: > $ gcc -v > gcc version 10.2.1 20210110 (Debian 10.2.1-6) > > $ clang -v > Debian clang version 11.0.1-2 > > $ cat hello.c > int i;main(){for(;i["] o, world!\n",'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);} Garbage in, g

Re: [Bug lto/95548] ice in tree_to_shwi, at tree.c:7321

2020-06-05 Thread Jakub Jelinek via Gcc-bugs
On Fri, Jun 05, 2020 at 12:46:15PM +0200, Jan Hubicka wrote: > > I think Honza ran into this himself. > Yep, i converted code to use wide-ints. But it is nice to have short > testcase. For the testsuite perhaps also add another one with __int128_t and/or __uint128_t enumerators (guarded with #ifde