[Bug tree-optimization/91940] __builtin_bswap16 loop optimization

2024-08-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91940 --- Comment #11 from Jakub Jelinek --- Only 16-bit byteswap has the r>> 8 canonical form, larger byteswaps don't. Larger byteswaps certainly aren't rotates, but just permutes. So, if the vectorizer doesn't try that already, it should try to vect

[Bug c++/116276] [14/15 regression] multiple inheritance CTAD regression with -std=c++23

2024-08-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116276 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug rtl-optimization/116028] [15 regression] gcc.dg/pr10474.c test failure since r15-1619-g3b9b8d6cfdf593

2024-08-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116028 --- Comment #8 from GCC Commits --- The master branch has been updated by Surya Kumari Jangala : https://gcc.gnu.org/g:3c67a0fa1dd39a3378deb854a7fef0ff7fe38004 commit r15-2810-g3c67a0fa1dd39a3378deb854a7fef0ff7fe38004 Author: Surya Kumari Jang

[Bug c++/116281] Comma operator used in the middle operand of a conditional expression is incorrectly rejected in non static data member initializer

2024-08-08 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116281 --- Comment #3 from Andreas Schwab --- In other contexts where the comma has a special meaning like function call arguments the expression is accepted.

[Bug c/116284] New: incorrect classification of zero-sized array as variably modified

2024-08-08 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116284 Bug ID: 116284 Summary: incorrect classification of zero-sized array as variably modified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/116258] PAREN_EXPR lowering for vectors is bad

2024-08-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116258 --- Comment #8 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:5aa4cd913e48cfce3ca0ab58cf6f80f55dbb0f58 commit r15-2811-g5aa4cd913e48cfce3ca0ab58cf6f80f55dbb0f58 Author: Richard Biener Date:

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-08-08 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #66 from Alejandro Colomar --- (In reply to Kees Cook from comment #65) > (In reply to Alejandro Colomar from comment #64) > > How about having two macros? One that works for non-attributed pointers, > > and other that works for att

[Bug tree-optimization/91940] __builtin_bswap16 loop optimization

2024-08-08 Thread amylaar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91940 --- Comment #12 from Jorn Wolfgang Rennecke --- (In reply to Jakub Jelinek from comment #11) But the condition I quoted rejects the recognition of a bswap16 with non-promoted arguments. vectorizable_bswap doesn't do anything for processors that

[Bug tree-optimization/116166] [13/14 Regression] risc-v (last) insn-emit-nn.c build takes hours

2024-08-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116166 --- Comment #28 from Richard Biener --- (In reply to Mark Wielaard from comment #27) > With gcc-15-2794-g5b97d1a most insn-*.cc files compile in minutes. > The only exception is insn-recog.cc which takes 85 minutes (1 hour 25 > minutes). >

[Bug middle-end/114855] ICE: Segfault when compiling large autogenerated C source file

2024-08-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #15 from Richard Biener --- The testcase is a bit unwieldly for developing a fix - I wonder if it's possible to auto-generate smaller testcases with the same structure?

[Bug ipa/116191] Avoid inlining in unlikely branches

2024-08-08 Thread ilija.tovilo at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116191 --- Comment #5 from ilija.tovilo --- That's true ofc, but if you look at the example: __attribute__((cold)) extern void cold_func(void); Simply removing the cold attribute will cause zend_string_release() to be inlined, so it is indeed involve

[Bug target/116280] [15 Regression] RISC-V: expected mode RVVMF8QI for operand 2 of insn pred_vwsllrvvmf4hi but got mode RVVMF2SI

2024-08-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116280 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code Target Milestone|-

[Bug target/116282] [15 Regression] RISC-V rv64id_zba_zbkb ICE: could not split insn

2024-08-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116282 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0

[Bug target/116283] [15 Regression] RISC-V rv64id_zbs ICE: unrecognizable insn

2024-08-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116283 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0

[Bug testsuite/116271] [15 regression] gcc.dg/vect/tsvc/vect-tsvc-s176.c fails after r15-2777-g8fac69a2dbff98

2024-08-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116271 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0

[Bug rtl-optimization/116273] [14/15 regression] RISC-V: gcc.dg/long_branch.c flakey timeout, insn scheduling is slow

2024-08-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116273 Richard Biener changed: What|Removed |Added Component|target |rtl-optimization Target Milestone|--

[Bug c++/116285] New: Compilation of nodejs/v8 8_base_without_compiler.runtime-temporal.cc is slow

2024-08-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116285 Bug ID: 116285 Summary: Compilation of nodejs/v8 8_base_without_compiler.runtime-temporal.cc is slow Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: c

[Bug c++/116285] Compilation of nodejs/v8 8_base_without_compiler.runtime-temporal.cc is slow

2024-08-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116285 --- Comment #1 from Sam James --- Created attachment 58866 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58866&action=edit v8_base_without_compiler.runtime-temporal.ii

[Bug target/116274] [14/15 Regression] x86: poor code generation with 16 byte function arguments and addition

2024-08-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116274 Richard Biener changed: What|Removed |Added CC||sayle at gcc dot gnu.org --- Comment #

[Bug c++/115744] [C++26] P2747R2 - constexpr placement new

2024-08-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115744 --- Comment #4 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:afa3a4a52cf91485477e4aaa5f05987ec7ff869d commit r15-2815-gafa3a4a52cf91485477e4aaa5f05987ec7ff869d Author: Jakub Jelinek Date: T

[Bug c++/115744] [C++26] P2747R2 - constexpr placement new

2024-08-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115744 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/115754] [14 Regression] C++26 ICE on constexpr new

2024-08-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115754 Bug 115754 depends on bug 115744, which changed state. Bug 115744 Summary: [C++26] P2747R2 - constexpr placement new https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115744 What|Removed |Added -

[Bug c++/110338] Implement C++26 language features

2024-08-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110338 Bug 110338 depends on bug 115744, which changed state. Bug 115744 Summary: [C++26] P2747R2 - constexpr placement new https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115744 What|Removed |Added -

[Bug c++/115744] [C++26] P2747R2 - constexpr placement new

2024-08-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115744 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |15.0

[Bug c++/116286] New: Compilation of nodejs/v8 v8_turboshaft.csa-optimize-phase.cc is slow

2024-08-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116286 Bug ID: 116286 Summary: Compilation of nodejs/v8 v8_turboshaft.csa-optimize-phase.cc is slow Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: compile-t

[Bug c++/116286] Compilation of nodejs/v8 v8_turboshaft.csa-optimize-phase.cc is slow

2024-08-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116286 --- Comment #1 from Sam James --- https://dev.gentoo.org/~sam/bugs/gcc/116286/v8_turboshaft.csa-optimize-phase.ii.xz

[Bug target/116174] [14/15 regression] Alignment request is added before endbr with -fcf-protection=branch since r15-888-gb644126237a1aa

2024-08-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116174 Sam James changed: What|Removed |Added CC||arnd at linaro dot org --- Comment #4 from

[Bug target/116174] [14/15 regression] Alignment request is added before endbr with -fcf-protection=branch since r15-888-gb644126237a1aa

2024-08-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116174 --- Comment #5 from Sam James --- (In reply to Sam James from comment #4) > https://lore.kernel.org/lkml/ea203f8e-8dd4-46f6-ada5-a2bf5ea8185e@app. > fastmail.com/ .. and the original thread from Sebastian was https://lore.kernel.org/lkml/202408

[Bug target/116274] [14/15 Regression] x86: poor code generation with 16 byte function arguments and addition

2024-08-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116274 Richard Biener changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment

[Bug target/116287] New: __builtin_ia32_bzhi_si() ignores side effects of its arguments

2024-08-08 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116287 Bug ID: 116287 Summary: __builtin_ia32_bzhi_si() ignores side effects of its arguments Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug target/116287] __builtin_ia32_bzhi_si() ignores side effects of its arguments

2024-08-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116287 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned

[Bug target/116275] [15 regression] ICE when building llvm-18.1.8 (convert_insn, at config/i386/i386-features.cc:1502)

2024-08-08 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116275 --- Comment #4 from Roger Sayle --- Created attachment 58868 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58868&action=edit proposed patch Here's my proposed fix (the first of two patches) that resolves the ICE with the testcase. The p

[Bug target/116275] [15 regression] ICE when building llvm-18.1.8 (convert_insn, at config/i386/i386-features.cc:1502)

2024-08-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116275 --- Comment #5 from Sam James --- Thank you, I'll use that for now, but please don't apologise. I do the testing because I enjoy it and to help. No harm done.

[Bug c++/116288] New: C++ overloading

2024-08-08 Thread hans.buchmann.wantuch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116288 Bug ID: 116288 Summary: C++ overloading Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassi

[Bug target/115464] [14 Backport] ICE when building libaom on arm64 (neon sve bridge usage with tbl/perm)

2024-08-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115464 --- Comment #13 from Sam James --- Alpine hit this when building libaom w/ gcc-14.2 (https://gitlab.alpinelinux.org/alpine/aports/-/jobs/1473732#L471). FWIW, I've not hit any other issues on trunk like this, so should be ready to backport?

[Bug c++/116289] New: [13.3 regression] Can't apply decltype to comparison operators created by spaceship operator for local classes

2024-08-08 Thread iamsupermouse at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116289 Bug ID: 116289 Summary: [13.3 regression] Can't apply decltype to comparison operators created by spaceship operator for local classes Product: gcc Version: 13.3

[Bug target/116054] RISCV: RV32: prologue/epilogue degradation

2024-08-08 Thread tommy_murphy at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116054 Tommy Murphy changed: What|Removed |Added CC||tommy_murphy at hotmail dot com --- Comm

[Bug c++/116289] [13 regression] Can't apply decltype to comparison operators created by spaceship operator for local classes

2024-08-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116289 Richard Biener changed: What|Removed |Added Keywords||needs-bisection, |

[Bug target/116287] __builtin_ia32_bzhi_si() ignores side effects of its arguments

2024-08-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116287 --- Comment #1 from Jakub Jelinek --- Created attachment 58870 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58870&action=edit gcc15-pr116287.patch Untested fix.

[Bug c++/116288] C++ overloading

2024-08-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116288 Richard Biener changed: What|Removed |Added Target||aarch64 Keywords|

[Bug c++/116286] Compilation of nodejs/v8 v8_turboshaft.csa-optimize-phase.cc is slow

2024-08-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116286 --- Comment #2 from Richard Biener --- template instantiation : 8.85 ( 19%) 1.46 ( 28%) 10.50 ( 20%) 1147M ( 32%) |overload resolution : 6.17 ( 13%) 0.74 ( 14%) 7.07 ( 13%) 525M ( 15%) |name lookup

[Bug c++/116286] Compilation of nodejs/v8 v8_turboshaft.csa-optimize-phase.cc is slow

2024-08-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116286 --- Comment #3 from Sam James --- The context is some nodejs bump imports a massive upgrade of v8 and compared to clang, we take like 10 minutes longer to build (and gcc build time doubled between versions). Unfortunately, it looks like it's a b

[Bug c++/116288] C++ overloading

2024-08-08 Thread hans.buchmann.wantuch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116288 --- Comment #2 from Hans Buchmann --- I use: uname -a Linux buchmann-h 6.10.3-arch1-2 #1 SMP PREEMPT_DYNAMIC Tue, 06 Aug 2024 07:21:19 + x86_64 GNU/Linux with pacman -Ss aarch64-linux-gnu-gcc extra/aarch64-linux-gnu-gcc 14.1.0-1 [install

[Bug c++/116288] C++ overloading

2024-08-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116288 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/115239] [14 Regression] ICE: Segmentation fault with ambiguous function call in some cases (`const char*` vs `char` with `long` vs `unsigned`) since r14-6522

2024-08-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115239 Jakub Jelinek changed: What|Removed |Added CC||hans.buchmann.wantuch@gmail

[Bug c++/115062] [modules] internal compiler error: in simplify_aggr_init_exp

2024-08-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115062 --- Comment #3 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:71aebb36174c194231da5f9c7c23f81dbb082ca4 commit r15-2819-g71aebb36174c194231da5f9c7c23f81dbb082ca4 Author: Nathaniel Shead Date:

[Bug c++/115062] [modules] internal compiler error: in simplify_aggr_init_exp

2024-08-08 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115062 Nathaniel Shead changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nshead at gcc dot gnu.org

[Bug c++/103524] [meta-bug] modules issue

2024-08-08 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 115062, which changed state. Bug 115062 Summary: [modules] internal compiler error: in simplify_aggr_init_exp https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115062 What|Removed |Added --

[Bug middle-end/116290] New: [12/13/14/15 regression] -fcompare-debug -gno-statement-frontiers -O2 failure with evolution-data-server-3.52.4

2024-08-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
read model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20240808 (experimental) 4d44f3fc387815eb232d7757352857993a1d21d9 (Gentoo 15.0. p, commit 767d91209f8983d23caae12e2337eca6c2b5dbdb) ```

[Bug middle-end/116290] [12/13/14/15 regression] -fcompare-debug -gno-statement-frontiers -O2 failure with evolution-data-server-3.52.4

2024-08-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116290 --- Comment #1 from Sam James --- ``` @@ -37036,13 +37036,20 @@ (int_list:REG_BR_PROB 118111604 (nil))) -> 1416) (note # 0 0 [bb 12] NOTE_INSN_BASIC_BLOCK) -(insn:TI # 0 0 12 (set (reg/v/f:DI 4 si [orig:140 label ] [140]) -(r

[Bug middle-end/116290] [12/13/14/15 regression] -fcompare-debug -gno-statement-frontiers -O2 failure with evolution-data-server-3.52.4

2024-08-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116290 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.5 Keywords|

[Bug middle-end/116290] [12/13/14/15 regression] -fcompare-debug -gno-statement-frontiers -O2 failure with evolution-data-server-3.52.4

2024-08-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116290 --- Comment #2 from Sam James --- Reduced: ``` char *camel_message_info_class_intern_init_part; void g_once_init_enter(); void camel_message_info_class_intern_init() { int ii; char *label; for (; camel_message_info_class_intern_init_part[i

[Bug middle-end/116290] [12/13/14/15 regression] -fcompare-debug -gno-statement-frontiers -O2 failure with evolution-data-server-3.52.4

2024-08-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116290 --- Comment #3 from Jakub Jelinek --- Looks like ivopts. In message_info_load, ivopts dumps are the first ones to contain differences like [local count: 955630198]: - # _172 = PHI <_32(59), 0(56)> # _173 = PHI <_33(59), label_117(56)>

[Bug middle-end/116290] [12/13/14/15 regression] -fcompare-debug -gno-statement-frontiers -O2 failure with evolution-data-server-3.52.4

2024-08-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116290 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug c++/116289] [13 regression] Can't apply decltype to comparison operators created by spaceship operator for local classes

2024-08-08 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116289 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Key

[Bug target/116240] RISC-V: ICE during RTL pass: combine with -fwrapv -march=rv64imv_xtheadcondmov_xventanacondops at -O2

2024-08-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116240 --- Comment #2 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:190ad81282057b0e5884fd30a7270356b9b1 commit r15-2821-g190ad81282057b0e5884fd30a7270356b9b1 Author: Jeff Law Date: Thu Aug 8 0

[Bug target/116240] RISC-V: ICE during RTL pass: combine with -fwrapv -march=rv64imv_xtheadcondmov_xventanacondops at -O2

2024-08-08 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116240 Jeffrey A. Law changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/116291] New: ICE on non-existent module-mapper directory

2024-08-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
sl --enable-default-pie --enable-host-pie --disable-host-bind-now --enable-default-ssp --disable-fixincludes --with-build-config='bootstrap-O3 bootstrap-lto' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20240808 (experimental) 4d44f3fc387815e

[Bug fortran/116292] New: [15 regression] ICE on invalid reduction

2024-08-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116292 Bug ID: 116292 Summary: [15 regression] ICE on invalid reduction Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal

[Bug fortran/116292] [15 regression] ICE on invalid reduction

2024-08-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116292 --- Comment #1 from Sam James --- It's also accepted by <15.

[Bug c++/115806] [12/13/14/15 Regression] No error for member enum redefinition in class template (even after instantiation)

2024-08-08 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115806 Simon Martin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |simartin at gcc dot gnu.org

[Bug fortran/116292] [15 regression] ICE in build_function_decl, at fortran/trans-decl.cc:2486

2024-08-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116292 Sam James changed: What|Removed |Added Keywords|accepts-invalid,| |ice-on-invalid-code

[Bug c++/116293] New: ICE when failing to open module mapper (error: unknown Compiled Module Interface: no such module)

2024-08-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
27; Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20240808 (experimental) 4d44f3fc387815eb232d7757352857993a1d21d9 (Gentoo 15.0. p, commit 767d91209f8983d23caae12e2337eca6c2b5dbdb) ```

[Bug tree-optimization/116166] [13/14 Regression] risc-v (last) insn-emit-nn.c build takes hours

2024-08-08 Thread andi at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116166 --- Comment #29 from andi at firstfloor dot org --- > It might be interesting to have statistics on function sizes in > insn-recog.cc to see if there's any outliers - if it's just very many > there's nothing to do but split the file up. Or LTO d

[Bug rtl-optimization/116028] [15 regression] gcc.dg/pr10474.c test failure since r15-1619-g3b9b8d6cfdf593

2024-08-08 Thread jskumari at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116028 Surya Kumari Jangala changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNE

[Bug target/55212] [SH] Switch to LRA

2024-08-08 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #146 from John Paul Adrian Glaubitz --- (In reply to John Paul Adrian Glaubitz from comment #145) > There is no real error message coming from the compiler itself though. Maybe > the patches don't fully work with gcc-14? Same problem

[Bug target/116283] [15 Regression] RISC-V rv64id_zbs ICE: unrecognizable insn

2024-08-08 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116283 Jeffrey A. Law changed: What|Removed |Added Last reconfirmed||2024-08-08 Status|UNCONFIR

[Bug c++/115806] [12/13/14/15 Regression] No error for member enum redefinition in class template (even after instantiation)

2024-08-08 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115806 --- Comment #4 from Simon Martin --- This started to fail with https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=557831a91df947b447fc9fd94ecad02470a3c86a

[Bug middle-end/116294] New: -O2 -gno-statement-frontiers -fcompare-debug failure when building duktape-2.7.0

2024-08-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
3 bootstrap-lto' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20240808 (experimental) 4d44f3fc387815eb232d7757352857993a1d21d9 (Gentoo 15.0. p, commit 767d91209f8983d23caae12e2337eca6c2b5dbdb) ```

[Bug middle-end/116294] -O2 -gno-statement-frontiers -fcompare-debug failure when building duktape-2.7.0

2024-08-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116294 --- Comment #1 from Sam James --- I'm reducing it.

[Bug middle-end/116294] -O2 -gno-statement-frontiers -fcompare-debug failure when building duktape-2.7.0

2024-08-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116294 --- Comment #2 from Sam James --- Created attachment 58874 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58874&action=edit libduktaped.so.207.20700-duktape.i.xz

[Bug ipa/96265] offloading to nvptx-none from aarch64-linux-gnu (and riscv*-linux-gnu) does not work

2024-08-08 Thread j.reuter--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96265 --- Comment #9 from Jan André Reuter --- Thanks a lot for the patch Prathamesh Kulkarni. There seems to be some progress, which is great to see! I've tried your patch. I applied it to the latest snapshot and also to GCC 14.2.0 and GCC 14.1.0 to

[Bug ipa/96265] offloading to nvptx-none from aarch64-linux-gnu (and riscv*-linux-gnu) does not work

2024-08-08 Thread j.reuter--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96265 --- Comment #10 from Jan André Reuter --- Created attachment 58875 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58875&action=edit Verbose compile output after rebuilding the latest GCC snapshot with the patch applied New error message wh

[Bug target/116283] [15 Regression] RISC-V rv64id_zbs ICE: unrecognizable insn

2024-08-08 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116283 --- Comment #1 from Jeffrey A. Law --- Code is a bit nonsensical in that it masks a shift by a crazy value (3629), but the underlying bug is real. Ultimately we're going to rely on the fact that hardware truncates the count (mask with 0x3f) and

[Bug ipa/96265] offloading to nvptx-none from aarch64-linux-gnu (and riscv*-linux-gnu) does not work

2024-08-08 Thread prathamesh3492 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96265 --- Comment #11 from prathamesh3492 at gcc dot gnu.org --- Hi, Yes, those two errors are expected. I posted RFC discussion about AArch64/nvptx offloading issues here: https://gcc.gnu.org/pipermail/gcc/2024-July/244466.html For the unrecognized co

[Bug c++/107637] [C++23] P2718R0 - Final Fix of Broken Range‐based for Loop

2024-08-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107637 --- Comment #2 from Jakub Jelinek --- Adjusted testcase so that it also verifies what is destructed first, S vs. T in the various cases and standards: // P2718R0 - Wording for P2644R1 Fix for Range-based for Loop // { dg-do run { target c++11 }

[Bug tree-optimization/90839] Detect lsb ones counting loop (final value replacement?)

2024-08-08 Thread acarlotti at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90839 Andrew Carlotti changed: What|Removed |Added CC||acarlotti at gcc dot gnu.org --- Comme

[Bug target/116174] [14/15 regression] Alignment request is added before endbr with -fcf-protection=branch since r15-888-gb644126237a1aa

2024-08-08 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116174 --- Comment #6 from H.J. Lu --- Created attachment 58876 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58876&action=edit A patch Here is a patch. Hongtao, please take a look and add a testcase. Thanks.

[Bug ipa/116296] New: [15 Regression] internal compiler error: in merge, at ipa-modref-tree.cc:176 at -O3

2024-08-08 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116296 Bug ID: 116296 Summary: [15 Regression] internal compiler error: in merge, at ipa-modref-tree.cc:176 at -O3 Product: gcc Version: 15.0 Status: UNCONFIRMED Seve

[Bug target/116295] [avr] unrecognizable insn when loading from address-space __flash

2024-08-08 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116295 Georg-Johann Lay changed: What|Removed |Added Keywords||addr-space, |

[Bug c++/116289] [13 regression] Can't apply decltype to comparison operators created by spaceship operator for local classes

2024-08-08 Thread iamsupermouse at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116289 --- Comment #3 from Egor --- (In reply to Patrick Palka from comment #2) > r14-4140 ... doesn't seem suitable for backporting Fair enough. What's the procedure now, should I set status=resolved?

[Bug target/116295] [avr] unrecognizable insn when loading from address-space __flash

2024-08-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116295 --- Comment #1 from GCC Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:c4d3dba253b49fb0e8e32109783f76453bc53653 commit r15-2838-gc4d3dba253b49fb0e8e32109783f76453bc53653 Author: Georg-Johann Lay Dat

[Bug target/116295] New: [avr] unrecognizable insn when loading from address-space __flash

2024-08-08 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116295 Bug ID: 116295 Summary: [avr] unrecognizable insn when loading from address-space __flash Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/116295] [avr] unrecognizable insn when loading from address-space __flash

2024-08-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116295 --- Comment #2 from GCC Commits --- The releases/gcc-14 branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:9ca1d7a36abecee7da387ceb1c07d77eaad15927 commit r14-10573-g9ca1d7a36abecee7da387ceb1c07d77eaad15927 Author: Georg-Johan

[Bug target/116295] [avr] unrecognizable insn when loading from address-space __flash

2024-08-08 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116295 Georg-Johann Lay changed: What|Removed |Added Target Milestone|15.0|14.3 Resolution|---

[Bug testsuite/116271] [15 regression] gcc.dg/vect/tsvc/vect-tsvc-s176.c fails after r15-2777-g8fac69a2dbff98

2024-08-08 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116271 --- Comment #3 from seurer at gcc dot gnu.org --- I tried that patch and it seems to work just fine: make -k check-gcc RUNTESTFLAGS="vect.exp=gcc.dg/vect/tsvc/vect-tsvc-s176.c" # of expected passes6

[Bug target/116229] [15 Regression] wrong code at -Ofast aarch64 due to missing fneg to generate 0x8000000000000000

2024-08-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116229 --- Comment #4 from GCC Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:2c24e0568392e51a77ebdaab629d631969ce8966 commit r15-2839-g2c24e0568392e51a77ebdaab629d631969ce8966 Author: Tamar Christina Date:

[Bug target/116229] [15 Regression] wrong code at -Ofast aarch64 due to missing fneg to generate 0x8000000000000000

2024-08-08 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116229 Tamar Christina changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/116297] New: ICE on using default spaceship comparison operator inside requires

2024-08-08 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116297 Bug ID: 116297 Summary: ICE on using default spaceship comparison operator inside requires Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal

[Bug testsuite/116041] aarch64 fallout from removing vcond{,u,eq} patterns

2024-08-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116041 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:7223c64745530db102a160d5a1db4c2c8d2b9fe1 commit r15-2840-g7223c64745530db102a160d5a1db4c2c8d2b9fe1 Author: Andrew Pinski Date: Tu

[Bug fortran/116292] [15 regression] ICE in build_function_decl, at fortran/trans-decl.cc:2486

2024-08-08 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116292 kargls at comcast dot net changed: What|Removed |Added CC||kargls at comcast dot net --

[Bug target/114189] Target implements obsolete vcond{,u,eq} expanders

2024-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114189 Bug 114189 depends on bug 116041, which changed state. Bug 116041 Summary: aarch64 fallout from removing vcond{,u,eq} patterns https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116041 What|Removed |Added ---

[Bug testsuite/116041] aarch64 fallout from removing vcond{,u,eq} patterns

2024-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116041 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 Resolution|---

[Bug c++/116297] ICE on using default spaceship comparison operator inside requires

2024-08-08 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116297 Marek Polacek changed: What|Removed |Added Last reconfirmed||2024-08-08 Keywords|

[Bug c++/107637] [C++23] P2718R0 - Final Fix of Broken Range‐based for Loop

2024-08-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107637 --- Comment #3 from Jakub Jelinek --- Created attachment 58878 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58878&action=edit gcc15-pr107637-wip.patch Completely untested WIP patch, with which the above testcase now passes also in -std=

[Bug c++/116298] New: No error when taking address of overloaded member function template

2024-08-08 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116298 Bug ID: 116298 Summary: No error when taking address of overloaded member function template Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/116289] [13 regression] Can't apply decltype to comparison operators created by spaceship operator for local classes

2024-08-08 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116289 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/116298] No error when taking address of overloaded function template

2024-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116298 --- Comment #1 from Andrew Pinski --- Confirmed. Also happens with functions and not just member functions: ``` template E f() ;// #1 template E f() ;// #2 template E f(int) ; // #3 auto x = &f; ```

[Bug c++/116298] No error when taking address of overloaded function template

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

[Bug fortran/116292] [15 regression] ICE in build_function_decl, at fortran/trans-decl.cc:2486

2024-08-08 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116292 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2024-08-08 Keyword

  1   2   >