[Bug target/108862] [13 Regression] CryptX miscompilation on power9 since r13-2107

2023-02-20 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108862 --- Comment #3 from Segher Boessenkool --- With -fno-unroll-loops added we get foo: .LFB0: .cfi_startproc cmpwi 0,3,0 ble 0,.L4 mtctr 3 addi 10,4,-8 addi 5,5,8 li 3,0 .p2align

Re: [PATCH] libstdc++: Update baseline symbols for riscv64-linux

2023-02-20 Thread Jonathan Wakely via Gcc-patches
On Mon, 20 Feb 2023 at 12:10, Andreas Schwab via Libstdc++ wrote: > > libstdc++-v3/ > * config/abi/post/riscv64-linux-gnu/baseline_symbols.txt: Update. Looks good, thanks.

[Bug target/108862] [13 Regression] CryptX miscompilation on power9 since r13-2107

2023-02-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108862 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug target/104921] aarch64: Assembler failure with vbfmlalbq_lane_f32 intrinsic

2023-02-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104921 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Alex Coplan : https://gcc.gnu.org/g:ed3b4de8a648da4e574fb64344e90b6460946511 commit r11-10536-ged3b4de8a648da4e574fb64344e90b6460946511 Author: Alex Coplan

[Bug target/108862] [13 Regression] CryptX miscompilation on power9 since r13-2107

2023-02-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108862 --- Comment #1 from Jakub Jelinek --- Note, -O2 -mcpu=power9: __attribute__((noipa)) unsigned __int128 foo (unsigned __int128 x, unsigned long long y, unsigned long long z) { return x + (unsigned __int128) y * z; } int main () { unsigned

[Bug target/108862] [13 Regression] CryptX miscompilation on power9 since r13-2107

2023-02-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108862 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Priority|P3

[Bug target/108862] New: [13 Regression] CryptX miscompilation on power9 since r13-2107

2023-02-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108862 Bug ID: 108862 Summary: [13 Regression] CryptX miscompilation on power9 since r13-2107 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c++/108829] [12/13 Regression] internal compiler error: in is_capture_proxy, at cp/lambda.cc:272

2023-02-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108829 --- Comment #6 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:02d8ab3e4e2f3d9dc12157a98c976d6698e71e29 commit r13-6141-g02d8ab3e4e2f3d9dc12157a98c976d6698e71e29 Author: Marek Polacek Date:

[Bug libstdc++/108856] Increment and decrement on std::experimental::where_expression should optimize better

2023-02-20 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108856 Matthias Kretz (Vir) changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libstdc++/98449] [DR 3343] notify_all_at_thread_exit() should notify on cond while lock is held to avoid a race

2023-02-20 Thread vini.ipsmaker at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98449 Vinícius dos Santos Oliveira changed: What|Removed |Added Status|SUSPENDED |RESOLVED

[Bug libstdc++/108861] New: notify_all_at_thread_exit() should notify on cond while lock is held to avoid a race

2023-02-20 Thread vini.ipsmaker at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108861 Bug ID: 108861 Summary: notify_all_at_thread_exit() should notify on cond while lock is held to avoid a race Product: gcc Version: unknown Status: UNCONFIRMED

[Bug sanitizer/108834] LTO: ltrans temporary file is used as module name in ASAN

2023-02-20 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108834 --- Comment #6 from Martin Liška --- > so I wonder if emitting the locations isn't just wasted .rodata if libasan > considers it being a windows_padding. In GCC 12 libsanitizer it was still > location: You are correct, we lost the ability to

[Bug libstdc++/98449] [DR 3343] notify_all_at_thread_exit() should notify on cond while lock is held to avoid a race

2023-02-20 Thread vini.ipsmaker at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98449 --- Comment #3 from Vinícius dos Santos Oliveira --- LLVM's libcxx already applied this 1-line patchset: https://github.com/llvm/llvm-project/commit/64fc3cd55d586498dd21c5b3cfaa755793913772 Can we have the same here on GCC side (I've already

MicroBlaze symver attribute support

2023-02-20 Thread Vincent Fazio via Gcc
Michael, all, Regarding: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101766 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102110 If I understand correctly, since the GCC MicroBlaze targets generate ELF images, it would seem there's no technical reason why `__attribute__ ((symver ...))` cannot be

[og12] Attempt to not just register but allocate OpenMP pinned memory using a device (was: [og12] Attempt to register OpenMP pinned memory using a device instead of 'mlock')

2023-02-20 Thread Thomas Schwinge
Hi! On 2023-02-20T09:48:53+, Andrew Stubbs wrote: > On 17/02/2023 08:12, Thomas Schwinge wrote: >> On 2023-02-16T23:06:44+0100, I wrote: >>> On 2023-02-16T16:17:32+, "Stubbs, Andrew via Gcc-patches" >>> wrote: The mmap implementation was not optimized for a lot of small

[Bug debug/108772] [13 Regression] ICE in force_decl_die, at dwarf2out.cc:26751 since r13-4161-g32d16fe9d7e347bc

2023-02-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108772 --- Comment #6 from Richard Biener --- (In reply to Richard Biener from comment #5) > another possibility would be to stream "no DIE" info for not late > created decls like by setting DECL_IGNORED_P on them? Like maybe with the following

Rust: Don't depend on unused 'target-libffi', 'target-libbacktrace' (was: [PATCH Rust front-end v2 32/37] gccrs: Add config-lang.in)

2023-02-20 Thread Thomas Schwinge
Hi! On 2022-08-24T12:59:51+0100, herron.phi...@googlemail.com wrote: > From: Philip Herron > > This was a copy paste from gccgo front-end, we do not use any of the > target_libs yet but we will need these when we support the libpanic crate. > --- /dev/null > +++ b/gcc/rust/config-lang.in >

Rust: Don't depend on unused 'target-libffi', 'target-libbacktrace' (was: [PATCH Rust front-end v2 32/37] gccrs: Add config-lang.in)

2023-02-20 Thread Thomas Schwinge
Hi! On 2022-08-24T12:59:51+0100, herron.phi...@googlemail.com wrote: > From: Philip Herron > > This was a copy paste from gccgo front-end, we do not use any of the > target_libs yet but we will need these when we support the libpanic crate. > --- /dev/null > +++ b/gcc/rust/config-lang.in >

Re: RISC-V: Add divmod instruction support

2023-02-20 Thread Alexander Monakov via Gcc-patches
On Mon, 20 Feb 2023, Richard Biener via Gcc-patches wrote: > On Sun, Feb 19, 2023 at 2:15 AM Maciej W. Rozycki wrote: > > > > > The problem is you don't see it as a divmod in expand_divmod unless you > > > expose > > > a divmod optab. See tree-ssa-mathopts.cc's divmod handling. > > > >

[Bug testsuite/108835] gm2 tests at large -jNN numbers do not return

2023-02-20 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108835 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

Re: [PATCH] [arm] adjust tests for quotes around +cdecp

2023-02-20 Thread Christophe Lyon via Gcc-patches
Hi Alexandre, On 2/17/23 08:17, Alexandre Oliva via Gcc-patches wrote: Back when quotes were added around "+cdecp" in the "coproc must be a constant immediate" error in arm-builtins.cc, tests for that message lagged behind. Fixed thusly. Regstrapped on x86_64-linux-gnu. Tested on

[PATCH] tree-optimization/108793 - niter compute type mismatch

2023-02-20 Thread Richard Biener via Gcc-patches
When computing the number of iterations until wrap types are mixed up, eventually leading to checking ICEs with a pointer bitwise inversion. The following uses niter_type for the calculation. Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed. PR tree-optimization/108793

Re: Failure During Building

2023-02-20 Thread -xlan- via Gcc
Thanks, I'll check it out. On Sun, Feb 19, 2023 at 8:48 AM Iain Sandoe wrote: > > > > On 19 Feb 2023, at 16:27, -xlan- wrote: > > > > Hi, I have the SDK installed but I don't understand how to use the > --with-sysroot command. Is the flag supposed to be with my make all-gcc > command, please

[Bug c++/108860] New: New (since gcc 12) false positive null-dereference in vector.resize

2023-02-20 Thread dezi_0_1 at yahoo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108860 Bug ID: 108860 Summary: New (since gcc 12) false positive null-dereference in vector.resize Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

Re: [Patch] Fortran: Avoid SAVE_EXPR for deferred-len char types

2023-02-20 Thread Richard Biener via Gcc-patches
On Mon, Feb 20, 2023 at 12:57 PM Jakub Jelinek wrote: > > On Mon, Feb 20, 2023 at 12:48:38PM +0100, Tobias Burnus wrote: > > On 20.02.23 12:15, Jakub Jelinek wrote: > > > On Mon, Feb 20, 2023 at 12:07:43PM +0100, Tobias Burnus wrote: > > > > As mentioned in the TODO for 'deferred', I think we

[Bug libstdc++/108859] New: Exception thrown by std::filesystem::copy() is wrong

2023-02-20 Thread vini.ipsmaker at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108859 Bug ID: 108859 Summary: Exception thrown by std::filesystem::copy() is wrong Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

Re: Recommendation of Gmail violates mission to respects users freedom

2023-02-20 Thread Jonathan Wakely via Gcc
On Mon, 20 Feb 2023 at 10:39, David Kleuker wrote: > > Hello, > > since the GCC project seem not to be reachable in the Fediverse (only Twitter > linked on website), i contact you here about this issue. > > https://chaos.social/@davidak/109893176873158932 > > The Free Software Foundation and the

[Bug middle-end/108854] tbb-2021.8.0 fails on i686-linux (32-bit), internal compiler error: in expand_expr_real_1, at expr.c:10281

2023-02-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108854 --- Comment #3 from Jonathan Wakely --- (In reply to davidak from comment #0) > I don't know how to get the "preprocessed file (*.i*) that triggers the > bug", but otherwise you should have all requested information. Unfortunately that's the

[PATCH] libstdc++: Update baseline symbols for riscv64-linux

2023-02-20 Thread Andreas Schwab via Gcc-patches
libstdc++-v3/ * config/abi/post/riscv64-linux-gnu/baseline_symbols.txt: Update. --- .../riscv64-linux-gnu/baseline_symbols.txt| 98 ++- 1 file changed, 97 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/config/abi/post/riscv64-linux-gnu/baseline_symbols.txt

Re: [PATCH] libstdc++: Add missing functions to [PR79700]

2023-02-20 Thread Jonathan Wakely via Gcc-patches
On Mon, 20 Feb 2023 at 11:57, Nathaniel Shead wrote: > > On Mon, Feb 20, 2023 at 10:30 PM Jonathan Wakely wrote: > > > > On Mon, 20 Feb 2023 at 11:23, Nathaniel Shead via Libstdc++ > > wrote: > > > > > > The comments on PR79700 mentioned that it was somewhat ambiguous whether > > > these

[Bug tree-optimization/108793] [12/13 Regression] ICE: verify_gimple failed

2023-02-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108793 --- Comment #3 from Richard Biener --- It's caused by -1 -A -> ~A being invoked from number_of_iterations_until_wrap: 1497 num = fold_build2 (MINUS_EXPR, niter_type, wide_int_to_tree (type, max), 1498

Re: [PATCH] libstdc++: Add missing functions to [PR79700]

2023-02-20 Thread Nathaniel Shead via Gcc-patches
On Mon, Feb 20, 2023 at 10:30 PM Jonathan Wakely wrote: > > On Mon, 20 Feb 2023 at 11:23, Nathaniel Shead via Libstdc++ > wrote: > > > > The comments on PR79700 mentioned that it was somewhat ambiguous whether > > these functions were supposed to exist for C++11 or not. I chose to add > > them

Re: [Patch] Fortran: Avoid SAVE_EXPR for deferred-len char types

2023-02-20 Thread Jakub Jelinek via Gcc-patches
On Mon, Feb 20, 2023 at 12:48:38PM +0100, Tobias Burnus wrote: > On 20.02.23 12:15, Jakub Jelinek wrote: > > On Mon, Feb 20, 2023 at 12:07:43PM +0100, Tobias Burnus wrote: > > > As mentioned in the TODO for 'deferred', I think we really want > > > to have NULL as upper value for the domain for the

[PATCH] libstdc++: Some baseline_symbols.txt updates

2023-02-20 Thread Jakub Jelinek via Gcc-patches
Hi! This updates baseline_symbols.txt for the Fedora 39 arches. Most of the added symbols are added to all 6 files, exceptions are DF16_ rtti stuff (only added on x86 and aarch64 which supports those), DF16b rtti stuff (only x86 right now), _M_replace_cold (m vs. j differences), DF128_ charconv

Re: [Patch] Fortran: Avoid SAVE_EXPR for deferred-len char types

2023-02-20 Thread Tobias Burnus
On 20.02.23 12:15, Jakub Jelinek wrote: On Mon, Feb 20, 2023 at 12:07:43PM +0100, Tobias Burnus wrote: As mentioned in the TODO for 'deferred', I think we really want to have NULL as upper value for the domain for the type, but that requires literally hundred of changes to the compiler, which I

Re: [PATCH] libstdc++: Add missing functions to [PR79700]

2023-02-20 Thread Jonathan Wakely via Gcc-patches
On Mon, 20 Feb 2023 at 11:23, Nathaniel Shead via Libstdc++ wrote: > > The comments on PR79700 mentioned that it was somewhat ambiguous whether > these functions were supposed to exist for C++11 or not. I chose to add > them there, since other resources (such as cppreference) seem to think > that

[PATCH] libstdc++: Add missing functions to [PR79700]

2023-02-20 Thread Nathaniel Shead via Gcc-patches
The comments on PR79700 mentioned that it was somewhat ambiguous whether these functions were supposed to exist for C++11 or not. I chose to add them there, since other resources (such as cppreference) seem to think that C++11 should be the standard these functions were introduced, and I don't

Re: Failure During Building

2023-02-20 Thread -xlan- via Gcc
Hi, I have the SDK installed but I don't understand how to use the --with-sysroot command. Is the flag supposed to be with my make all-gcc command, please elaborate. On Sat, Feb 18, 2023 at 3:49 PM Iain Sandoe wrote: > Hi > > > On 18 Feb 2023, at 20:28, -xlan- wrote: > > > > I tried compiling

Re: [Patch] Fortran: Avoid SAVE_EXPR for deferred-len char types

2023-02-20 Thread Jakub Jelinek via Gcc-patches
On Mon, Feb 20, 2023 at 12:07:43PM +0100, Tobias Burnus wrote: > As mentioned in the TODO for 'deferred', I think we really want > to have NULL as upper value for the domain for the type, but that > requires literally hundred of changes to the compiler, which > I do not want to due during Stage 4,

[Bug target/108804] missed vectorization in presence of conversion from uint64_t to float

2023-02-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108804 Richard Biener changed: What|Removed |Added Target||x86_64-*-*

Re: Failure During Building

2023-02-20 Thread Iain Sandoe
> On 19 Feb 2023, at 16:27, -xlan- wrote: > > Hi, I have the SDK installed but I don't understand how to use the > --with-sysroot command. Is the flag supposed to be with my make all-gcc > command, please elaborate. It is a configure argument for GCC’s configure script - there is more

Re: [Patch] Fortran: Avoid SAVE_EXPR for deferred-len char types

2023-02-20 Thread Tobias Burnus
On 20.02.23 11:41, Richard Biener wrote: Generally SAVE_EXPR is used to make sure an expression is only evaluated once. It's DECL_EXPR that ensures something is evaluated early and available. So generally "unwrapping" a SAVE_EXPR looks dangerous to me unless the SAVE_EXPR is really never

[Bug target/108339] [11/10 only] riscv64-linux-gnu: fails to link libgcc_s.so on the GCC 10 branch

2023-02-20 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108339 Kito Cheng changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/108339] [11/10 only] riscv64-linux-gnu: fails to link libgcc_s.so on the GCC 10 branch

2023-02-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108339 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Kito Cheng : https://gcc.gnu.org/g:951ca35bdbbde7bb348337d7db3919c4a0628e25 commit r10-11221-g951ca35bdbbde7bb348337d7db3919c4a0628e25 Author: Nelson Chu

[Bug ada/108858] New: Assert_Failure at exp_ch6.adb:6499

2023-02-20 Thread Anashe-Lungisani at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108858 Bug ID: 108858 Summary: Assert_Failure at exp_ch6.adb:6499 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada

[Bug tree-optimization/108816] [12 Regression] ICE in operator[], at vec.h:889

2023-02-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108816 Richard Biener changed: What|Removed |Added Known to work||13.0 Priority|P3

Re: [PATCH] Update baseline symbols for m68k-linux

2023-02-20 Thread Jonathan Wakely via Gcc-patches
On Sat, 18 Feb 2023 at 19:23, Andreas Schwab wrote: > > libstdc++-v3/: > * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update. All the additions (and the one change) look correct, thanks.

[Bug tree-optimization/108816] ICE in operator[], at vec.h:889

2023-02-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108816 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:63471c5008819bbf6ec32a6f4d8701fe57b96fa9 commit r13-6140-g63471c5008819bbf6ec32a6f4d8701fe57b96fa9 Author: Richard Biener Date:

[PATCH] tree-optimization/108816 - vect versioning check split confusion

2023-02-20 Thread Richard Biener via Gcc-patches
The split of the versioning condition assumes the definition is in the condition block which is ensured by the versioning code. But that only works when we actually have to insert any statements for the versioning condition. The following adjusts the guard accordingly and asserts this condition.

Re: [PATCH 1/2] Support get_range_query with a nullptr argument

2023-02-20 Thread Richard Biener via Gcc-patches
On Fri, Feb 17, 2023 at 10:46 PM Andrew Pinski via Gcc-patches wrote: > > get_range_query didn't support a nullptr argument > before and would crash. > See also the thread at > https://inbox.sourceware.org/gcc/4f6718af-e17a-41ef-a886-f45e4ac3d...@redhat.com/T/ > > OK? Bootstrapped and tested on

[Bug ipa/107931] [12/13 Regression] -Og causes always_inline to fail since r12-6677-gc952126870c92cf2

2023-02-20 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107931 --- Comment #17 from rguenther at suse dot de --- On Mon, 20 Feb 2023, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107931 > > --- Comment #16 from Jakub Jelinek --- > As discussed elsewhere, always_inline

[Bug target/94908] Failure to optimally optimize certain shuffle patterns

2023-02-20 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94908 --- Comment #6 from Hongtao.liu --- Yes, insertps can select any element from src and insert into any place of the dest. under sse4.1, x86 can generate vinsertps xmm0, xmm1, xmm0, 64 # xmm0 = xmm0[1],xmm1[1,2,3]

[Bug debug/108843] timeout with -g -O3 ?

2023-02-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108843 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/108854] New: tbb-2021.8.0 fails on i686-linux (32-bit)

2023-02-20 Thread gcc.gnu.org+lufm at davidak dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108854 Bug ID: 108854 Summary: tbb-2021.8.0 fails on i686-linux (32-bit) Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/108844] sincos opportunity missed

2023-02-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108844 Richard Biener changed: What|Removed |Added Last reconfirmed||2023-02-20 Ever confirmed|0

[Bug tree-optimization/108841] sometimes a < b && c < b is not optimized to MAX < b

2023-02-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108841 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug testsuite/108835] gm2 tests at large -jNN numbers do not return

2023-02-20 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108835 --- Comment #4 from Aldy Hernandez --- Thank you very much for such a prompt fix.

[Bug c++/108848] New: Accessing class static member of non-dependent expression using member syntax in dependent context is rejected

2023-02-20 Thread eric.niebler at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108848 Bug ID: 108848 Summary: Accessing class static member of non-dependent expression using member syntax in dependent context is rejected Product: gcc Version:

[Bug middle-end/108847] New: unnecessary bitwise AND on boolean types

2023-02-20 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108847 Bug ID: 108847 Summary: unnecessary bitwise AND on boolean types Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/108857] New: [OpenMP] Use of uninitialized var when mapping unallocated deferred-length character string

2023-02-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108857 Bug ID: 108857 Summary: [OpenMP] Use of uninitialized var when mapping unallocated deferred-length character string Product: gcc Version: 13.0 Status: UNCONFIRMED

Re: [Patch] Fortran: Avoid SAVE_EXPR for deferred-len char types

2023-02-20 Thread Richard Biener via Gcc-patches
On Mon, Feb 20, 2023 at 11:05 AM Tobias Burnus wrote: > > On 17.02.23 17:27, Steve Kargl wrote: > > On Fri, Feb 17, 2023 at 12:13:52PM +0100, Tobias Burnus wrote: > >> OK for mainline? > > Short version: no. > > Would you mind to write a reasoning beyond only a single word? > > >> subroutine

[Bug ipa/107931] [12/13 Regression] -Og causes always_inline to fail since r12-6677-gc952126870c92cf2

2023-02-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107931 --- Comment #16 from Jakub Jelinek --- As discussed elsewhere, always_inline is used in various ways, in some users I guess would like to see an error if it wasn't inlined, but e.g. the uses in glibc for _FORTIFY_SOURCE where many of the

Re: [PATCH] rust: Fix rust-tree.cc compilation on SPARC

2023-02-20 Thread Arthur Cohen
Thanks Rainer! Ok for trunk :) Kindly, -- Arthur On 2/20/23 11:36, Rainer Orth wrote: This patch commit 27a89f84c458ae938bc3eb92ad0d594c06fc3b42 Author: Thomas Schwinge Date: Fri Feb 17 23:36:20 2023 +0100 '#include "tm_p.h"' in 'gcc/rust/backend/rust-tree.cc' broke rust bootstrap

[Bug tree-optimization/108855] New: [13 Regression] ICE in eliminate_unnecessary_stmts, at tree-ssa-dce.cc:1518

2023-02-20 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108855 Bug ID: 108855 Summary: [13 Regression] ICE in eliminate_unnecessary_stmts, at tree-ssa-dce.cc:1518 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords:

[PATCH] rust: Fix rust-tree.cc compilation on SPARC

2023-02-20 Thread Rainer Orth
This patch commit 27a89f84c458ae938bc3eb92ad0d594c06fc3b42 Author: Thomas Schwinge Date: Fri Feb 17 23:36:20 2023 +0100 '#include "tm_p.h"' in 'gcc/rust/backend/rust-tree.cc' broke rust bootstrap on SPARC: In file included from ./tm_p.h:4, from

[Bug c++/108422] [13 Regression] ICE: base pointer cycle detected since r13-2661-gb57abd072dd319a7

2023-02-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108422 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org

[Bug target/108567] gccrs bootstrap comparison failure on mipsel-linux-gnu

2023-02-20 Thread syq at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108567 --- Comment #1 from YunQiang Su --- Ohhh. Let me have a check

[Bug libstdc++/108030] `std::experimental::simd` not inlined

2023-02-20 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108030 --- Comment #6 from Matthias Kretz (Vir) --- This improves the situation. But according to tests of fixed_size_simd in a GNU Radio prototype it still isn't enough. It seems like I need to always_inline all non-cmath operations on fixed_size.

[Bug target/104921] aarch64: Assembler failure with vbfmlalbq_lane_f32 intrinsic

2023-02-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104921 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Alex Coplan : https://gcc.gnu.org/g:5b99b0f1ee65ad50b5e6d3a57aace616273cc814 commit r12-9190-g5b99b0f1ee65ad50b5e6d3a57aace616273cc814 Author: Alex Coplan

[Bug tree-optimization/108839] Option for rerolling loops

2023-02-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108839 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/108855] [13 Regression] ICE in eliminate_unnecessary_stmts, at tree-ssa-dce.cc:1518

2023-02-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108855 Richard Biener changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug fortran/96025] [10/11/12/13 Regression] ICE in expr_check_typed_help, at fortran/expr.c:5437

2023-02-20 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96025 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug c/108849] New: __declspec(code_seg("segname")) does not work

2023-02-20 Thread pali at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108849 Bug ID: 108849 Summary: __declspec(code_seg("segname")) does not work Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug testsuite/108835] gm2 tests at large -jNN numbers do not return

2023-02-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108835 --- Comment #3 from CVS Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:b9c83e7789f7eec9871e370739baa55fd70be4cf commit r13-6135-gb9c83e7789f7eec9871e370739baa55fd70be4cf Author: Gaius Mulley Date:

[PATCH] Allow front ends to register spec functions gcc/{gcc.cc,gcc.h} [PR108261]

2023-02-20 Thread Gaius Mulley via Gcc-patches
Hello, bootstrapped on gcc master x86_64 and no extra failures generated on all front ends. Would this be ok for trunc? regards, Gaius Allow front ends to register spec functions gcc/{gcc.cc,gcc.h} [PR108261] This patch allows front ends to register spec functions. It is motivated by

[Bug tree-optimization/108825] [13 Regression] error during GIMPLE pass: unrolljam

2023-02-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108825 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

Recommendation of Gmail violates mission to respects users freedom

2023-02-20 Thread David Kleuker
Hello, since the GCC project seem not to be reachable in the Fediverse (only Twitter linked on website), i contact you here about this issue. https://chaos.social/@davidak/109893176873158932 The Free Software Foundation and the GNU project promote and create Free Software that respects

[Bug libstdc++/108856] New: Increment and decrement on std::experimental::where_expression should optimize better

2023-02-20 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108856 Bug ID: 108856 Summary: Increment and decrement on std::experimental::where_expression should optimize better Product: gcc Version: 13.0 Status:

[Bug target/108853] New: Add new -mcpu=e500 alias for -mcpu=8540

2023-02-20 Thread pali at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108853 Bug ID: 108853 Summary: Add new -mcpu=e500 alias for -mcpu=8540 Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/108243] [10/11/12/13 Regression] Missed optimization for static const std::string_view(const char*)

2023-02-20 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108243 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #8 from

[Bug ipa/107931] [12/13 Regression] -Og causes always_inline to fail since r12-6677-gc952126870c92cf2

2023-02-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107931 --- Comment #15 from Richard Biener --- (In reply to ishikawa,chiaki from comment #14) > (In reply to Andrew Pinski from comment #13) > > (In reply to ishikawa,chiaki from comment #11) > > > What is exactly the compiler-defined macro when "-Og"

[Bug testsuite/108835] gm2 tests at large -jNN numbers do not return

2023-02-20 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108835 --- Comment #2 from Gaius Mulley --- Created attachment 54487 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54487=edit Proposed fix Here is the work in progress patch (code could do with a cleanup).

[pushed] wwwdocs: *: Add a comma after "In addition" when used as transition

2023-02-20 Thread Gerald Pfeifer
As promised yesterday, this not only improves the one case that triggered NightStrike's note, but all cases I found in wwwdocs. Pushed. Gerald -- wwwdocs: *: Add a comma after "In addition" when used as transition On the way reduce one use and simplify a sentence. ---

[PATCH V3 4/5] RISC-V: Implement ZKNH extension

2023-02-20 Thread Liao Shihua
This patch supports Zknh extension. It includes instruction's machine description and built-in funtions. gcc/ChangeLog: * config/riscv/crypto.md (riscv_sha256sig0_): Add ZKNH's instructions. (riscv_sha256sig1_): (riscv_sha256sum0_): (riscv_sha256sum1_):

[PATCH V3 2/5] RISC-V: Implement ZBKB, ZBKC and ZBKX extensions

2023-02-20 Thread Liao Shihua
This patch supports Zkbk, Zbkc and Zkbx extension. It includes instruction's machine description and built-in funtions. It is worth mentioning that this patch only adds instructions in Zbkb but no longer in Zbb. If any instructions both in Zbb and Zbkb, they will be generated by code generator

[PATCH V3 3/5] RISC-V: Implement ZKND and ZKNE extensions

2023-02-20 Thread Liao Shihua
This patch supports Zkne and Zknd extension. It includes instruction's machine description and built-in funtions. gcc/ChangeLog: * config/riscv/constraints.md (D03): Add constants of bs and rnum. (DsA): * config/riscv/crypto.md (riscv_aes32dsi): Add ZKND's and ZKNE's

[PATCH V3 1/5] RISC-V: Add prototypes for RISC-V Crypto built-in functions

2023-02-20 Thread Liao Shihua
This patch adds prototypes for RISC-V Crypto built-in functions. gcc/ChangeLog: * config/riscv/riscv-builtins.cc (RISCV_FTYPE_NAME2): (RISCV_FTYPE_NAME3): (RISCV_ATYPE_QI): (RISCV_ATYPE_HI): (RISCV_FTYPE_ATYPES2): (RISCV_FTYPE_ATYPES3): *

[PATCH V3 0/5] RISC-V: Implement Scalar Cryptography Extension

2023-02-20 Thread Liao Shihua
This series adds basic support for the Scalar Cryptography extensions: * Zbkb * Zbkc * Zbkx * Zknd * Zkne * Zknh * Zksed * Zksh The implementation follows the version Scalar Cryptography v1.0.0 of the specification, which can be found here:

[PATCH V3 5/5] RISC-V: Implement ZKSH and ZKSED extensions

2023-02-20 Thread Liao Shihua
This patch supports Zksh and Zksed extension. It includes instruction's machine description and built-in funtions. gcc/ChangeLog: * config/riscv/crypto.md (riscv_sm3p0_): Add ZKSED's and ZKSH's instructions. (riscv_sm3p1_): (riscv_sm4ed_): (riscv_sm4ks_):

[PATCH] tree-optimization/108819 - niter analysis ICE with unexpected constant

2023-02-20 Thread Richard Biener via Gcc-patches
The following makes sure we do not ICE on unfolded stmts like _1 = 1 & 1. Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed. PR tree-optimization/108819 * tree-ssa-loop-niter.cc (number_of_iterations_cltz): Check we have an SSA name as iv_2 as expected.

Re: [PATCH] [PR104882] [arm] require mve hw for mve run test

2023-02-20 Thread Andrea Corallo via Gcc-patches
Alexandre Oliva via Gcc-patches writes: > The pr104882.c test is an execution test, but arm_v8_1m_mve_ok only > tests for compile-time support. Add a requirement for mve hardware. > > Regstrapped on x86_64-linux-gnu. > Tested on arm-vxworks7 (gcc-12) and arm-eabi (trunk). Ok to install? > >

[Bug c++/108422] [13 Regression] ICE: base pointer cycle detected since r13-2661-gb57abd072dd319a7

2023-02-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108422 --- Comment #4 from Tobias Burnus --- Created attachment 54491 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54491=edit Testcase - compile with 'g++ -fopenmp' + run (In reply to Tobias Burnus from comment #3) > --- a/gcc/gimplify.cc >

Re: RISC-V: Add divmod instruction support

2023-02-20 Thread Richard Biener via Gcc-patches
On Sun, Feb 19, 2023 at 2:15 AM Maciej W. Rozycki wrote: > > On Sat, 18 Feb 2023, Jeff Law wrote: > > > > Barring the fusion case, which indeed asks for a dedicated `divmod' > > > pattern (and then I suppose a post-reload splitter or a peephole so that > > > where one of the two results

[Bug tree-optimization/108825] [13 Regression] error during GIMPLE pass: unrolljam

2023-02-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108825 Richard Biener changed: What|Removed |Added Keywords|needs-bisection | --- Comment #11 from Richard Biener

[Bug target/99499] build failure for android bionic toolchains. error: '_U' was not declared in this scope

2023-02-20 Thread lbr-dev at yandex dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99499 DEV LBR changed: What|Removed |Added CC||lbr-dev at yandex dot com --- Comment #10

[Bug fortran/108850] New: SELECT CASE within BLOCK construct in one subroutine prevents compilation of another subroutine named "SELECT"

2023-02-20 Thread johnww at tds dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108850 Bug ID: 108850 Summary: SELECT CASE within BLOCK construct in one subroutine prevents compilation of another subroutine named "SELECT" Product: gcc Version:

[Bug c/108852] New: Add gcc option for building NT kernel driver

2023-02-20 Thread pali at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108852 Bug ID: 108852 Summary: Add gcc option for building NT kernel driver Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug testsuite/108835] gm2 tests at large -jNN numbers do not return

2023-02-20 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108835 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug tree-optimization/107409] Perf loss ~5% on 519.lbm_r SPEC cpu2017 benchmark with r10-5090-ga9a4edf0e71bba

2023-02-20 Thread rvmallad at amazon dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107409 --- Comment #20 from Rama Malladi --- @Martin J and @Sebastian P, Let me walk you through the perf data and my triage. First, my triage has been on Graviton 3 (neoverse-v1) processor based instances. Next, I was looking for perf delta going

[Bug analyzer/107106] Incorrect use of uninitialized value warning on C++

2023-02-20 Thread jg at jguk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107106 Jonny Grant changed: What|Removed |Added CC||jg at jguk dot org --- Comment #2 from

<    1   2   3   >