[Bug c++/118340] fold expression is very slow to compile when used to initialize a variable

2025-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118340 Richard Biener changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug target/115118] [15 Regression] 5-13% slowdown of 470.lbm on zen4

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115118 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/118348] [15 Regression] [SVE] HACCKernels seems to miscompile with VLS SVE after 0c5c0c959c2e592b84739f19ca771fa69eb8dfee

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

[Bug tree-optimization/118344] [15 regression] Crash at -O3 in ifcombine

2025-01-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118344 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug target/118348] [15 Regression] [SVE] HACCKernels seems to miscompile with VLS SVE after 0c5c0c959c2e592b84739f19ca771fa69eb8dfee

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118348 --- Comment #2 from Andrew Pinski --- I suspect this can be reproduced before with -fno-vect-cost since that revision is a cost model change.

[Bug rtl-optimization/118350] [12/13/14/15 Regression] Wrong number of loop iterations starting with r7-3839-gde0a3fa38e2ad8

2025-01-08 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118350 --- Comment #1 from Stefan Schulze Frielinghaus --- Created attachment 60070 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60070&action=edit loop2_unroll dump

[Bug target/118348] [15 Regression] [SVE] HACCKernels seems to miscompile with VLS SVE after 0c5c0c959c2e592b84739f19ca771fa69eb8dfee

2025-01-08 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118348 --- Comment #1 from Tamar Christina --- Thanks for the report, taking a look

[Bug rtl-optimization/118350] New: [12/13/14/15 Regression] Wrong number of loop iterations starting with r7-3839-gde0a3fa38e2ad8

2025-01-08 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118350 Bug ID: 118350 Summary: [12/13/14/15 Regression] Wrong number of loop iterations starting with r7-3839-gde0a3fa38e2ad8 Product: gcc Version: unknown Status: UNCONFIRMED

[Bug target/118348] [15 Regression] [SVE] HACCKernels seems to miscompile with VLS SVE after 0c5c0c959c2e592b84739f19ca771fa69eb8dfee

2025-01-08 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118348 --- Comment #3 from Tamar Christina --- (In reply to Andrew Pinski from comment #2) > I suspect this can be reproduced before with -fno-vect-cost since that > revision is a cost model change. No it's the commit that enables the conditional stor

[Bug rtl-optimization/118350] [12/13/14/15 Regression] Wrong number of loop iterations starting with r7-3839-gde0a3fa38e2ad8

2025-01-08 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118350 --- Comment #2 from Stefan Schulze Frielinghaus --- Created attachment 60071 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60071&action=edit loop2_doloop dump

[Bug rtl-optimization/118350] [12/13/14/15 Regression] Wrong number of loop iterations starting with r7-3839-gde0a3fa38e2ad8

2025-01-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118350 Sam James changed: What|Removed |Added CC||pthaugen at us dot ibm.com Target Milesto

[Bug target/118330] Improving calling convention for 32-bit ARM target

2025-01-08 Thread david at westcontrol dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118330 --- Comment #2 from David Brown --- (In reply to Andrew Pinski from comment #1) > Note you could also work with the upstream arm eabi definition here: > https://github.com/ARM-software/abi-aa Yes, that is certainly a possibility I considered.

[Bug rtl-optimization/118350] [12/13/14/15 Regression] Wrong number of loop iterations starting with r7-3839-gde0a3fa38e2ad8

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118350 --- Comment #3 from Andrew Pinski --- (In reply to Stefan Schulze Frielinghaus from comment #0) > Although bisection stops at r7-3839-gde0a3fa38e2ad8 this doesn't seem to be > the culprit to me since it is not affecting the computation of niters

[Bug target/118351] New: [15 Regression] 6% regression in 470.lbm_r in SPECCPU 2006 on AArch64

2025-01-08 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118351 Bug ID: 118351 Summary: [15 Regression] 6% regression in 470.lbm_r in SPECCPU 2006 on AArch64 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-o

[Bug target/118351] [15 Regression] 6% regression in 470.lbm_r in SPECCPU 2006 on AArch64

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118351 --- Comment #1 from Andrew Pinski --- lbm is very very sensitive to register pressure.

[Bug target/118351] [15 Regression] 6% regression in 470.lbm_r in SPECCPU 2006 on AArch64

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

[Bug target/118351] [15 Regression] 6% regression in 470.lbm_r in SPECCPU 2006 on AArch64

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118351 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/118351] [15 Regression] 6% regression in 470.lbm_r in SPECCPU 2006 on AArch64

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118351 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > > The hot loop seems to now spill simple constants instead of rematerializing > > them through an fmov. > > Hmm, might be related to PR 102178. https://gcc.gn

[Bug c++/94243] Missed C++ front-end devirtualizations from Clang testsuite

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94243 --- Comment #2 from Andrew Pinski --- Split the first one off to PR 118352, the rest deal with static_cast.

[Bug c++/118352] New: final virtual dtor allows for class to be treated as final for devirtualization

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118352 Bug ID: 118352 Summary: final virtual dtor allows for class to be treated as final for devirtualization Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords

[Bug c++/58140] -Wnon-virtual-dtor shouldn't fire for classes declared final

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58140 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/62232] -Wnon-virtual-dtor shouldn't warn on final classes

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62232 Andrew Pinski changed: What|Removed |Added CC||tudorb at gmail dot com --- Comment #5 f

[Bug c++/118352] final virtual dtor allows for class to be treated as final for devirtualization

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118352 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc

[Bug middle-end/118334] Missing internals documentation for: INT_N, FRACTIONAL_INT_MODE, PARTIAL_INT_MODE

2025-01-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118334 --- Comment #4 from Jonathan Wakely --- (In reply to Georg-Johann Lay from comment #2) > Optionally, NAME is the new name of the mode. NAME is the > name of the mode. What does this mean?! It seems confusing to me that INT_MODE an

[Bug c++/118349] Suggestion for new warning: -Wtemplate-depth= (like -ftemplate-depth= but a warning instead of an error)

2025-01-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118349 --- Comment #2 from Jonathan Wakely --- (In reply to Eric Gallager from comment #0) > for users who are okay with template usage, but just > don't want it to get out of hand. What does "get out of hand" mean? What unwanted consequence would yo

[Bug c++/118349] Suggestion for new warning: -Wtemplate-depth= (like -ftemplate-depth= but a warning instead of an error)

2025-01-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118349 --- Comment #3 from Sam James --- People already misunderstand the current option as well (PR65042). It'd just get worse.

[Bug libstdc++/118341] Missing -D_GLIBCXX_ASSERTIONS checks for

2025-01-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118341 --- Comment #3 from Jonathan Wakely --- The debug bitset also does checking in its reference type, but only for C++98: // In C++11 we rely on normal reference type to preserve the property // of bitset to be use as a literal.

[Bug tree-optimization/118353] New: Implement greedy algorithm for switch jump table cluster finding

2025-01-08 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118353 Bug ID: 118353 Summary: Implement greedy algorithm for switch jump table cluster finding Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/118266] [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591 by r15-5863-g5ab3f091b3eb42

2025-01-08 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118266 --- Comment #16 from H.J. Lu --- ree turns: (insn 27 26 139 2 (parallel [ (set (reg/f:SI 7 sp) (plus:SI (reg/f:SI 7 sp) (const_int 16 [0x10]))) (clobber (reg:CC 17 flags)) ]) "

[Bug rtl-optimization/118266] [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591 by r15-5863-g5ab3f091b3eb42

2025-01-08 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118266 --- Comment #15 from H.J. Lu --- ree generates: (insn 155 27 139 2 (set (reg:DI 7 sp) (reg:DI 6 bp)) "x.ii":14:17 discrim 1 -1 (nil)) It restores SP from BP.

[Bug c++/118349] Suggestion for new warning: -Wtemplate-depth= (like -ftemplate-depth= but a warning instead of an error)

2025-01-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118349 --- Comment #5 from Jonathan Wakely --- (In reply to Eric Gallager from comment #4) > Yes, it's just a hypothetical example, I probably wouldn't actually use such > a low value myself, but rather would determine an appropriate value > experiment

[Bug target/80782] Configure options to use llvm/clang assembler on Mac

2025-01-08 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80782 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug target/118329] avr defines __int24 but doesn't define __GLIBCXX_TYPE_INT_N_0

2025-01-08 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118329 --- Comment #8 from Georg-Johann Lay --- (In reply to Jonathan Wakely from comment #0) > avr uses FRACTIONAL_INT_MODE while e.g. msp430 uses PARTIAL_INT_MODE, > don't remember the difference The comments in machmode.def propose that PARTIAL_INT_

[Bug target/80782] Configure options to use llvm/clang assembler on Mac

2025-01-08 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80782 --- Comment #18 from Iain Sandoe --- (In reply to Sergey Fedorov from comment #17) > (In reply to Iain Sandoe from comment #16) > > Why not use `llas` (which only needs LLVM) instead of `clang` (which needs > LLVM + clang)? > I have seen in some

[Bug tree-optimization/118361] New: [meta-bug] Expensive arithmetic instead of a simple bit test

2025-01-08 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118361 Bug ID: 118361 Summary: [meta-bug] Expensive arithmetic instead of a simple bit test Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug target/118357] New: risc-v xtheadvector did not handle the logic of vsetvl properly

2025-01-08 Thread shuizhuyuanluo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118357 Bug ID: 118357 Summary: risc-v xtheadvector did not handle the logic of vsetvl properly Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug middle-end/116860] [15 Regression] New test case gcc.dg/tree-ssa/fold-xor-and-or.c from r15-3866-ga88d6c6d777ad7 fails

2025-01-08 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116860 ptomsich at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unass

[Bug c++/118301] Feature request: CLI parament std with explicit experimental values

2025-01-08 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118301 --- Comment #6 from Richard Sandiford --- (In reply to Jonathan Wakely from comment #5) > We already have -std=c++2a for that and it doesn't solve anything. You obviously know better than me :), but I thought c++2a was used for things that aren'

[Bug rtl-optimization/118358] New: [15 Regression] LRA hangs on xstormy16

2025-01-08 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118358 Bug ID: 118358 Summary: [15 Regression] LRA hangs on xstormy16 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-op

[Bug target/118356] RISC-V: -falign-labels=0 should (probably) default to 4

2025-01-08 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118356 --- Comment #5 from Andreas Schwab --- There are jump_align and loop_align members in the struct riscv_tune_param which set the defaults for -falign-jumps and -falign-loops, but nothing sets them to non-NULL yet.

[Bug fortran/118337] [15 Regression] Fortran *.mod compatibility

2025-01-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118337 --- Comment #13 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:21ee71afa72746367cab7847f950448f04607dd2 commit r15-6704-g21ee71afa72746367cab7847f950448f04607dd2 Author: Jakub Jelinek Date:

[Bug rtl-optimization/118266] [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591 by r15-5863-g5ab3f091b3eb42

2025-01-08 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118266 --- Comment #18 from Matthias Klose --- yes, that fixes the cross build based on trunk 20250108. Thanks!

[Bug c++/118365] New: try to define an overloaded function template for a namespace, without having first declared it in that namespace

2025-01-08 Thread ing.russomauro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118365 Bug ID: 118365 Summary: try to define an overloaded function template for a namespace, without having first declared it in that namespace Product: gcc Version: 1

[Bug c++/110930] Fix-it hints suggest wrong header for names in the global namespace

2025-01-08 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110930 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug rtl-optimization/118266] [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591 by r15-5863-g5ab3f091b3eb42

2025-01-08 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118266 H.J. Lu changed: What|Removed |Added Attachment #60072|0 |1 is obsolete|

[Bug c++/118347] Nested template class name inside template class with default parameter is not treated as a dependent template name

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118347 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c++/118347] Nested template class name inside template class with default parameter is not treated as a dependent template name

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118347 --- Comment #4 from Andrew Pinski --- The key here is: https://timsong-cpp.github.io/cppwp/n4868/temp.names#4.sentence-4 Which says: In these contexts, a < token is always assumed to introduce a template-argument-list. The context reffered to

[Bug c++/118346] Access to member inherited from virtual base class forbidden in GCC with temporary null pointer instance

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118346 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug libgcc/118369] New: Multilib bootstrap on Debian 12 fails due to missing asm/errno.h

2025-01-08 Thread iii at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118369 Bug ID: 118369 Summary: Multilib bootstrap on Debian 12 fails due to missing asm/errno.h Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c/118373] New: gcc-14.2 kernel panic on alderlake cpus

2025-01-08 Thread lancethepants at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118373 Bug ID: 118373 Summary: gcc-14.2 kernel panic on alderlake cpus Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/118373] gcc-14.2 kernel panic on alderlake cpus

2025-01-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118373 --- Comment #1 from Sam James --- Please include the full output from a kernel panic (so we can see the backtrace). We will also need you to do the following: a) bisect GCC; b) obtain a build-tree built before and after the bad commit (then can

[Bug tree-optimization/63644] Kahan Summation with fast-math, pattern not always recognized

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63644 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|10.1.0, 7.1.0

[Bug target/118373] gcc-14.2 kernel panic on alderlake cpus

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

[Bug tree-optimization/63644] Kahan Summation with fast-math, pattern not always recognized

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63644 --- Comment #3 from Andrew Pinski --- Reduced testcase: ``` float counter(int maxl) { float tenth=0.1f; float sum = tenth; int n=0; while(n

[Bug fortran/118372] Bogus error when passing polymorphic-result function

2025-01-08 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118372 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Commen

[Bug fortran/118372] Bogus error when passing polymorphic-result function

2025-01-08 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118372 --- Comment #2 from Jerry DeLisle --- Also appears to be OK on 14 as well.

[Bug c/118375] New: Fixits for feature test macros (FTMs)

2025-01-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118375 Bug ID: 118375 Summary: Fixits for feature test macros (FTMs) Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3

[Bug middle-end/118377] New: [15 Regression] ICE when using C division operator with svint8 and svint16

2025-01-08 Thread soumyaa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118377 Bug ID: 118377 Summary: [15 Regression] ICE when using C division operator with svint8 and svint16 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: nor

[Bug c++/118381] GCC ignores missing 'noexcept'/`throw()` specifier for friend declaration

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

[Bug c/118376] ICE: in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1152 with -Wsign-conversion

2025-01-08 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118376 --- Comment #3 from Zdenek Sojka --- Valgrind reports uninitialised uses, all from the same stack allocation: $ x86_64-pc-linux-gnu-gcc -Wsign-conversion testcase.c -wrapper valgrind,-q,--track-origins=yes ==2541== Conditional jump or move depe

[Bug c++/118382] [c++17] extern variable for template with default template argument should be invalid

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118382 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-01-09 Known to fail|

[Bug tree-optimization/115340] Loop/SLP vectorization possible inefficiency

2025-01-08 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115340 --- Comment #7 from rguenther at suse dot de --- On Wed, 8 Jan 2025, rdapp.gcc at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115340 > > --- Comment #6 from rdapp.gcc at gmail dot com --- > >> Another thought I had as w

[Bug fortran/118337] [15 Regression] Fortran *.mod compatibility

2025-01-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118337 --- Comment #14 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c5e71d22d632889860ef079d4b0bff21eef8a660 commit r15-6724-gc5e71d22d632889860ef079d4b0bff21eef8a660 Author: Jakub Jelinek Date:

[Bug libgomp/118379] [PATCH] Avoid unused-variable-error when configured with 'CFLAGS=-DNDEBUG'

2025-01-08 Thread one.last.kiss at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118379 --- Comment #2 from shynur --- Thanks. I sent it to gcc-patc...@gcc.gnu.org .

[Bug c++/118383] New: Constexpr default copy-assign operator of derived class with virtual base seems should not be allowed before C++23

2025-01-08 Thread rush102333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118383 Bug ID: 118383 Summary: Constexpr default copy-assign operator of derived class with virtual base seems should not be allowed before C++23 Product: gcc Version:

[Bug target/118380] GCC is not optimizing computataion and code with avx intrinsics.

2025-01-08 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118380 Hongtao Liu changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comment #

[Bug tree-optimization/117927] [15 Regression] Invalid rotate optimization

2025-01-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117927 --- Comment #14 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:2cbd4409bcfaba2bd4200412090fd06db1948369 commit r15-6725-g2cbd4409bcfaba2bd4200412090fd06db1948369 Author: Jakub Jelinek Date:

[Bug tree-optimization/117927] [15 Regression] Invalid rotate optimization

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

[Bug target/117930] Improve rotates by C - x or C + x where C is multiple of bitsize on x86

2025-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117930 Bug 117930 depends on bug 117927, which changed state. Bug 117927 Summary: [15 Regression] Invalid rotate optimization https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117927 What|Removed |Added ---

[Bug fortran/118337] [15 Regression] Fortran *.mod compatibility

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

[Bug c/118375] Fixits for feature test macros (FTMs)

2025-01-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118375 --- Comment #1 from Sam James --- I find this comes up most with people using -std=c99/c11/whatever instead of -std=gnu* and not realising the implications of that.

[Bug target/118363] [15 regression] RISC-V: excess errors in c-c++-common/gomp/dispatch-11.c with zvls > 128b

2025-01-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118363 Sam James changed: What|Removed |Added CC||burnus at gcc dot gnu.org Target Mileston

[Bug target/118380] GCC is not optimizing computataion and code with avx intrinsics.

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118380 --- Comment #2 from Andrew Pinski --- _205 = __builtin_ia32_vbroadcastss256 (_200); There is not much the gimple level can do with that.

[Bug c++/118382] New: GCC fails to detect erroneous implicit template argument specification in extern class declaration for template class with default argument

2025-01-08 Thread wangbopku15 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118382 Bug ID: 118382 Summary: GCC fails to detect erroneous implicit template argument specification in extern class declaration for template class with default argument Product:

[Bug target/118380] GCC is not optimizing computataion and code with avx intrinsics.

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118380 --- Comment #1 from Andrew Pinski --- Created attachment 60081 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60081&action=edit testcase: -O3 -march=znver4 Next time attach the testcase

[Bug target/118348] [15 Regression] [SVE] HACCKernels seems to miscompile with VLS SVE after 0c5c0c959c2e592b84739f19ca771fa69eb8dfee

2025-01-08 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118348 Tamar Christina changed: What|Removed |Added Last reconfirmed||2025-1-9 --- Comment #4 from Tamar Ch

[Bug c++/118381] New: GCC ignores missing 'noexcept' specifier for friend declaration

2025-01-08 Thread wangbopku15 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118381 Bug ID: 118381 Summary: GCC ignores missing 'noexcept' specifier for friend declaration Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/118383] [c++-14,17,20] Constexpr default copy-assign operator of derived class with virtual base seems should not be allowed before C++23

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118383 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Confirmed. Looks like it was introduced in GCC 6 when constexpr operator= > was added for C++14. That is r6-7277-gb47d1d904d5397 .

[Bug c++/118383] [c++-14,17,20] Constexpr default copy-assign operator of derived class with virtual base seems should not be allowed before C++23

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118383 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > That is r6-7277-gb47d1d904d5397 . https://gcc.gnu.org/pipermail/gcc-patches/2016-March/443662.html

[Bug tree-optimization/105769] [12/13/14 Regression] program segmentation fault with -ftree-vectorize and nested lambdas

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105769 --- Comment #25 from Andrew Pinski --- I highly doubt the patches series will be backported to GCC 14 though.

[Bug c/118384] New: unexpected call to __muldi3 generated for riscv target

2025-01-08 Thread fanghuaqi at vip dot qq.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118384 Bug ID: 118384 Summary: unexpected call to __muldi3 generated for riscv target Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug c++/118383] [c++-14,17,20] Constexpr default copy-assign operator of derived class with virtual base seems should not be allowed before C++23

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118383 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/118353] Implement greedy algorithm for switch jump table cluster finding

2025-01-08 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118353 --- Comment #4 from Filip Kastl --- Huh. Then either a) We spend a lot of time in the jump table finding algorithm. That would mean that there are large switch statements in GCC code specific for those architectures. Btw, those switch statem

[Bug c++/118385] New: A temporary expression bound to a reference member in a mem-initializer is ill-formed

2025-01-08 Thread rush102333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118385 Bug ID: 118385 Summary: A temporary expression bound to a reference member in a mem-initializer is ill-formed Product: gcc Version: 15.0 Status: UNCONFIRMED Ke

[Bug c/118384] unexpected call to __muldi3 generated for riscv target

2025-01-08 Thread fanghuaqi at vip dot qq.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118384 --- Comment #1 from Huaqi --- This issue also present in arm-eabi-gcc toolchain 14.x, but not present in 13.x. compiler option chosen is -Os -mcpu=cortex-m0 chose m0 due it don't have a multiply hw unit see https://godbolt.org/z/941TbMKGc 14

[Bug c++/99093] [missed optimization] Missed devirtualization involving internal-linkage class type (but only sometimes)

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99093 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libgomp/118379] New: [PATCH] Avoid unused-variable-error when configured with 'CFLAGS=-DNDEBUG'

2025-01-08 Thread one.last.kiss at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118379 Bug ID: 118379 Summary: [PATCH] Avoid unused-variable-error when configured with 'CFLAGS=-DNDEBUG' Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: nor

[Bug libgomp/118379] [PATCH] Avoid unused-variable-error when configured with 'CFLAGS=-DNDEBUG'

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118379 --- Comment #1 from Andrew Pinski --- Patches should send to gcc-patches@ after reading https://gcc.gnu.org/contribute.html .

[Bug tree-optimization/118380] New: GCC is not optimizing computataion and code with avx intrinsics.

2025-01-08 Thread vekumar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118380 Bug ID: 118380 Summary: GCC is not optimizing computataion and code with avx intrinsics. Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug target/91722] gcc generates sub-optimal assembly when AVX instructions are used.

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91722 --- Comment #3 from Andrew Pinski --- _9 = __builtin_ia32_vbroadcastss256 (&signbit); _4 = __builtin_ia32_andnps256 (_9, to_3(D)); _6 = __builtin_ia32_andps256 (_9, from_5(D)); _7 = __builtin_ia32_orps256 (_6, _4); [tail call]

[Bug target/118362] [15 Regression] ICE in require, at machmode.h:313 since r15-2002

2025-01-08 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118362 --- Comment #5 from Stefan Schulze Frielinghaus --- Thanks for clarification. I'm way to unfamiliar with the vectorizer. At some point, when I was skimming over the code, I got the impression that also other modes than those defined by the ba

[Bug target/118377] ICE when using C division operator with svint8 and svint16

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

[Bug c/118376] ICE: in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1152 with -Wsign-conversion

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118376 --- Comment #1 from Andrew Pinski --- I can't reproduce this ...

[Bug c++/118374] New: Missing fixit for underlying enum type

2025-01-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118374 Bug ID: 118374 Summary: Missing fixit for underlying enum type Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/118374] Missing fixit for underlying enum type

2025-01-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118374 Sam James changed: What|Removed |Added See Also||https://bugs.gentoo.org/sho

[Bug target/118356] RISC-V: -falign-labels=0 should (probably) default to 4

2025-01-08 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118356 Jeffrey A. Law changed: What|Removed |Added Status|NEW |WAITING --- Comment #7 from Jeffrey A.

[Bug c/118376] New: ICE: in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1152 with -Wsign-conversion

2025-01-08 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118376 Bug ID: 118376 Summary: ICE: in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1152 with -Wsign-conversion Product: gcc Version: 15.0 Status: UNCONFIRMED K

[Bug c/118376] ICE: in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1152 with -Wsign-conversion

2025-01-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118376 --- Comment #2 from Sam James --- I can on one machine and not another. The one I can is `gcc version 15.0.0 20250108 (experimental) 21ee71afa72746367cab7847f950448f04607dd2 (Gentoo 15.0. p, commit f6d3d0becd191f48aca221595377e39e53708adf

[Bug target/118378] New: mod with svint32_t ICEs

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118378 Bug ID: 118378 Summary: mod with svint32_t ICEs Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3

[Bug tree-optimization/95801] Optimiser does not exploit the fact that an integer divisor cannot be zero

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95801 Andrew Pinski changed: What|Removed |Added Blocks||85316 Ever confirmed|0

  1   2   3   >