[Bug target/107316] [aarch64] Init big const value should be improved compare to llvm

2022-10-22 Thread zhongyunde at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107316 --- Comment #2 from vfdff --- (In reply to Andrew Pinski from comment #1) > I suspect this is just a dup of bug 106583 and will be fixed by the patch > which was submitted recently >

[Bug c/107359] New: [aarch64] should avoid the punpklo/punpkhi compare to llvm

2022-10-22 Thread zhongyunde at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107359 Bug ID: 107359 Summary: [aarch64] should avoid the punpklo/punpkhi compare to llvm Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

Re: [PATCH] libgcc: Update 'gthr-mcf.h' to include a dedicated header for libobjc

2022-10-22 Thread Jonathan Yong via Gcc-patches
On 10/22/22 11:54, LIU Hao wrote: This allows building libobjc and enabling Objective-C. Tested against GCC 12 branch on i686-w64-mingw32. Done, pushed to master branch.

Re: Adding a new thread model to GCC

2022-10-22 Thread NightStrike via Gcc-patches
On Fri, Oct 21, 2022 at 8:33 AM Jacek Caban via Gcc-patches wrote: > > On 2022-10-21 11:44, Eric Botcazou via Libstdc++ wrote: > >>>/How does this compare with Eric B's proposal at > >>>/>>>/https://gcc.gnu.org/legacy-ml/gcc-patches/2019-06/msg01840.html ? > >>>/>>//>>/My proposal was to

[Bug c++/105823] -Wrestrict / -Wstringop-overflow / -Warray-bounds warnings for uninitialized values

2022-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105823 --- Comment #1 from Andrew Pinski --- Note the parentheses changes from a xvalue to an rvalue in C++11+ IIRC which might be why there is an effect here ...

[Bug target/106095] Some AVX builtins produce invalid asm with -masm=intel

2022-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106095 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug c++/104490] Cannot inherit consteval constructor

2022-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104490 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libstdc++/104056] --disable-hosted-libstdcxx does not work for x86_64-linux-gnu

2022-10-22 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104056 --- Comment #3 from cqwrteur --- Can --disable-hosted-libstdcxx disable Link tests are not allowed after GCC_NO_EXECUTABLES. on all targets???

[Bug c++/107358] [13 Regression] i686-linux: Since r13-3290-g98e341130f8798 code fails to build libjxl-0/7.0 (vector float code)

2022-10-22 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107358 --- Comment #3 from Sergei Trofimovich --- (In reply to Jakub Jelinek from comment #2) > Created attachment 53757 [details] > gcc13-pr107358.patch > > Untested fix. The proposed patch fixes libjxl-0.7.0 build for me.

[Bug c++/102258] dynamic_cast to derived type fails during constant evaluation

2022-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102258 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

gcc-12-20221022 is now available

2022-10-22 Thread GCC Administrator via Gcc
Snapshot gcc-12-20221022 is now available on https://gcc.gnu.org/pub/gcc/snapshots/12-20221022/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 12 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

[Bug c++/106107] dynamic_cast for polymorphic types fail within constant expression

2022-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106107 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/106109] [12/13 Regression] ICE with auto and pointer to method

2022-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106109 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.2 Summary|Internal

[Bug tree-optimization/101991] bit_and or bit_ior with an invariant inside loop is not pulled out of the loop

2022-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101991 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/107356] -fcompare-debug failure (length) with -fsanitize=undefined

2022-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107356 --- Comment #1 from Andrew Pinski --- long double uses x87 and reg-stack.cc still. So a target issue.

[Bug target/107172] [13 Regression] wrong code with "-O1 -ftree-vrp" on x86_64-linux-gnu since r13-1268-g8c99e307b20c502e

2022-10-22 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107172 --- Comment #45 from Segher Boessenkool --- Yes, that is fine afaics.

[Bug c++/105774] Bogus overflow in constant expression with signed char++

2022-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105774 --- Comment #4 from Andrew Pinski --- And one for short: constexpr signed short f(void){ signed short x = 0x7fff; return ++x; } int main() { constexpr auto _ = f(); }

[Bug c++/105774] Bogus overflow in constant expression with signed char++

2022-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105774 Andrew Pinski changed: What|Removed |Added Summary|Bogus overflow in constant |Bogus overflow in constant

[Bug c++/99241] [modules] ICE in install_entity, at cp/module.cc:7584

2022-10-22 Thread cgreeley at student dot bridgew.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99241 --- Comment #7 from Christopher Greeley --- Created attachment 53759 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53759=edit The pre processed header I tried to import into my module and the module code This is the preprocessed header,

[Bug c++/99241] [modules] ICE in install_entity, at cp/module.cc:7584

2022-10-22 Thread cgreeley at student dot bridgew.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99241 --- Comment #6 from Christopher Greeley --- When I say the compiler segfaulted, it is similar too: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99238

[Bug c++/99241] [modules] ICE in install_entity, at cp/module.cc:7584

2022-10-22 Thread cgreeley at student dot bridgew.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99241 Christopher Greeley changed: What|Removed |Added CC||cgreeley at student dot

Re: clarification question

2022-10-22 Thread Marc Glisse via Gcc
On Sat, 22 Oct 2022, Péntek Imre via Gcc wrote: https://gcc.gnu.org/backends.html by "Architecture does not have a single condition code register" do you mean it has none or do you mean it has multiple? Either. If you look at the examples below, there is a C for riscv, which has 0, and

[Bug preprocessor/88974] [9 Regression] ICE: Segmentation fault (in linemap_resolve_location)

2022-10-22 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88974 --- Comment #7 from David Binderman --- (In reply to Jakub Jelinek from comment #6) > And this updated patch, while it bootstrapped, had quite a few testsuite > regressions. So, I'm afraid I don't know where would in some cases the > src_loc be

clarification question

2022-10-22 Thread Péntek Imre via Gcc
Hi, https://gcc.gnu.org/backends.html by "Architecture does not have a single condition code register" do you mean it has none or do you mean it has multiple? Thank you in advance for the clarification. -- With regards: Imre PÉNTEK Üdvözlettel: PÉNTEK Imre E-mail: pentek.i...@gmail.com

[Bug tree-optimization/107342] Optimization opportunity where integer '/' corresponds to '>>'

2022-10-22 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107342 Aldy Hernandez changed: What|Removed |Added Attachment #53749|0 |1 is obsolete|

[committed] wwwdocs: index: Rotate news from 2018-08 to 2020-12

2022-10-22 Thread Gerald Pfeifer
Pushed. Gerald --- htdocs/index.html | 68 --- htdocs/news.html | 68 +++ 2 files changed, 68 insertions(+), 68 deletions(-) diff --git a/htdocs/index.html b/htdocs/index.html index 39060016..f45b9664

[Bug c++/107358] [13 Regression] i686-linux: Since r13-3290-g98e341130f8798 code fails to build libjxl-0/7.0 (vector float code)

2022-10-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107358 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2022-10-22

Re: [PATCH] [X86_64]: Enable support for next generation AMD Zen4 CPU

2022-10-22 Thread Jakub Jelinek via Gcc-patches
On Fri, Oct 21, 2022 at 01:51:55PM +0200, Richard Biener via Gcc-patches wrote: > > > > BTW: Perhaps znver1.md is not the right filename anymore, since it hosts > > > all four Zen schedulers. > > > > > > I have renamed the file to znver.md in this revision, PFA. > > > Thank you for the review, we

Re: [RFC] how to handle the combination of -fstrict-flex-arrays + -Warray-bounds

2022-10-22 Thread Martin Sebor via Gcc-patches
On 10/21/22 09:29, Qing Zhao wrote: Hi, (FAM below refers to Flexible Array Members): I need inputs on how to handle the combination of -fstrict-flex-arrays + -Warray-bounds. Our initial goal is to update -Warray-bounds with multiple levels of -fstrict-flex-arrays=N to issue warnings

Re: [wwwdocs] Document zero width bit-field passing ABI changes in gcc-12/changes.html [PR104796]

2022-10-22 Thread Gerald Pfeifer
On Wed, 30 Mar 2022, Jakub Jelinek via Gcc-patches wrote: > Thanks, changed and committed. This (commit 3be1a28f58d6063258407b0751e8fb55df4749c8) introduced a new which is deprecated HTML. Below is the straightforward adjustment I just pushed. Gerald commit

[COMMITTED] Update selftest such that [-Inf, +Inf] is always VARYING for -ffinite-math-only.

2022-10-22 Thread Aldy Hernandez via Gcc-patches
[-Inf, +Inf] +-NAN gets normalized as VARYING. There is a test that drops the NAN possibility, and tests that the range is no longer VARYING but [-Inf, +Inf]. However, for -ffinite-math-only targets (Vax, RX, etc) the range would still be VARYING because the VARYING range never had a NAN to

Re: [PATCH] libgo: use _off_t for mmap offset argument

2022-10-22 Thread Sören Tempel via Gcc-patches
PING. soe...@soeren-tempel.net wrote: > From: Sören Tempel > > On glibc-based systems, off_t is a 32-bit type on 32-bit systems and a > 64-bit type on 64-bit systems by default. However, on systems using musl > libc off_t is unconditionally a 64-bit type. As such, it is insufficient > to use a

[Bug c++/107358] [13 Regression] i686-linux: Since r13-3290-g98e341130f8798 code fails to build libjxl-0/7.0 (vector float code)

2022-10-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107358 Jakub Jelinek changed: What|Removed |Added CC|jakub at redhat dot com| --- Comment #1 from Jakub

[Bug c++/106644] [C++23] P2468R2 - The Equality Operator You Are Looking For

2022-10-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106644 --- Comment #3 from Jakub Jelinek --- As for implementation, I'd say in call.cc (add_candidates) we could do something like: if ((flags & (LOOKUP_REWRITTEN | LOOKUP_REVERSE)) && DECL_OVERLOADED_OPERATOR_IS (fn, EQ_EXPR)) { }

[Bug c++/106644] [C++23] P2468R2 - The Equality Operator You Are Looking For

2022-10-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106644 --- Comment #2 from Jakub Jelinek --- The A-J cases are from the paper to be precise.

[Bug c++/107358] New: [13 Regression] i686-linux: Since r13-3290-g98e341130f8798 code fails to build libjxl-0/7.0 (vector float code)

2022-10-22 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107358 Bug ID: 107358 Summary: [13 Regression] i686-linux: Since r13-3290-g98e341130f8798 code fails to build libjxl-0/7.0 (vector float code) Product: gcc Version:

[Bug c++/106644] [C++23] P2468R2 - The Equality Operator You Are Looking For

2022-10-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106644 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug middle-end/106799] `forming offset [32, 36] is out of the bounds` error with precompiled headers

2022-10-22 Thread michal at sawicz dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106799 --- Comment #4 from michal at sawicz dot net --- Created attachment 53756 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53756=edit Preprocessed header source I believe that should be it.

[PATCH] libgcc: Update 'gthr-mcf.h' to include a dedicated header for libobjc

2022-10-22 Thread LIU Hao via Gcc-patches
This allows building libobjc and enabling Objective-C. Tested against GCC 12 branch on i686-w64-mingw32. -- Best regards, LIU Hao From c05cceb2f3baa96c9381be38717bdf6f1f3adb76 Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Sat, 22 Oct 2022 17:31:46 +0800 Subject: [PATCH] libgcc: Update

[Bug other/107357] New: [RISC-V]RVV broken with zve32x/f

2022-10-22 Thread jiawei at iscas dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107357 Bug ID: 107357 Summary: [RISC-V]RVV broken with zve32x/f Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: other

[Bug other/107353] [13 regression] Numerous ICEs after r13-3416-g1d561e1851c466

2022-10-22 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107353 --- Comment #4 from Iain Sandoe --- Emulated TLS targets can test targetm.have_tls. The patch below fixes the fails on Fortran for x86_64-darwin, libgomp in test now. I do not really like that it means pulling in the whole of target.h, and

[Bug ada/107309] GNAT does not apply type conversion to dependent expressions of conditional expressions

2022-10-22 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107309 Eric Botcazou changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc dot gnu.org

[Bug ada/107309] GNAT does not apply type conversion to dependent expressions of conditional expressions

2022-10-22 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107309 Eric Botcazou changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug debug/107356] New: -fcompare-debug failure (length) with -fsanitize=undefined

2022-10-22 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107356 Bug ID: 107356 Summary: -fcompare-debug failure (length) with -fsanitize=undefined Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords:

[Bug other/107353] [13 regression] Numerous ICEs after r13-3416-g1d561e1851c466

2022-10-22 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107353 Iain Sandoe changed: What|Removed |Added Host|powerpc64le-linux-gnu |powerpc64le-linux-gnu,*-*-d

[Bug fortran/107317] [10/11/12/13 Regression] ICE in emit_redzone_byte, at asan.cc:1508

2022-10-22 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107317 Thomas Koenig changed: What|Removed |Added Priority|P2 |P3

Re: [PATCH v2] xtensa: Make register A0 allocable for the CALL0 ABI

2022-10-22 Thread Max Filippov via Gcc-patches
On Fri, Oct 21, 2022 at 3:46 PM Takayuki 'January June' Suwa wrote: > > This patch offers an additional allocable register by RA for the CALL0 > ABI. > > > Register a0 holds the return address upon entry to a function, but > > unlike the windowed register ABI, it is not reserved for this purpose

[Bug tree-optimization/106717] [13 Regression] ICE: tree check: expected integer_cst, have poly_int_cst in get_len, at tree.h:6247

2022-10-22 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106717 --- Comment #2 from Arseny Solokha --- Indeed, this particular case works now.