[Bug testsuite/110445] [14 Regression] FAIL: gcc.dg/vect/slp-46.c with AVX2

2024-06-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110445 Richard Biener changed: What|Removed |Added Summary|[14/15 Regression] FAIL:|[14 Regression] FAIL:

[Bug tree-optimization/114107] poor vectorization at -O3 when dealing with arrays of different multiplicity, good with -O2

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

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2024-06-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 114107, which changed state. Bug 114107 Summary: poor vectorization at -O3 when dealing with arrays of different multiplicity, good with -O2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114107 What|Removed

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2024-06-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 115385, which changed state. Bug 115385 Summary: Peeling for gaps can be optimized more or needs to peel more than one iteration https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115385 What|Removed

[Bug tree-optimization/115385] Peeling for gaps can be optimized more or needs to peel more than one iteration

2024-06-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115385 Richard Biener changed: What|Removed |Added Blocks||53947 Target Milestone|---

[Bug middle-end/115459] [14/15 regression] Alpha/Linux ICE: in gen_rtx_SUBREG, at emit-rtl.cc:1032 around g-debpoo.adb:1896:8, as from r14-1187-gd6b756447cd5

2024-06-13 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115459 Alexandre Oliva changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/115462] [15 regression] 416.gamess regressed 4-6% on x86_64 since r15-882-g1d6199e5f8c1c0

2024-06-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115462 Richard Biener changed: What|Removed |Added Version|14.0|15.0 Keywords|

[Bug target/115463] [15 regression] 526.blender_r regressed 5% on Zen2 with -Ofast -flto -march=native since r15-1058-gc989e59fc99d99

2024-06-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115463 Richard Biener changed: What|Removed |Added Target||x86_64-*-* Target Milestone|---

[Bug c++/115469] [14/15 Regression] ICE :tree check expected class 'type', have 'exceptional' (error_mark) in poplevel_named_label_1, at cpdecl.cc579

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

[Bug c++/115471] New: Fail to capture (with initializer) constant bit-fields by reference in lambda expression

2024-06-13 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115471 Bug ID: 115471 Summary: Fail to capture (with initializer) constant bit-fields by reference in lambda expression Product: gcc Version: 14.1.1 Status: UNCONFIRMED

[Bug c++/115470] bad_typeid is not thrown for typeid(*null pointer) of final class

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

[Bug target/69374] install.texi is bit-rotten

2024-06-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69374 --- Comment #19 from GCC Commits --- The trunk branch has been updated by Gerald Pfeifer : https://gcc.gnu.org/g:14820327c720dad2ca34eb9fa73c0d9b435b6688 commit r15-1241-g14820327c720dad2ca34eb9fa73c0d9b435b6688 Author: Gerald Pfeifer Date:

[Bug c++/115471] Fail to capture (with initializer) constant bit-fields by reference in lambda expression

2024-06-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115471 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/115466] rs6000 vec_ld built-in works on BE but not LE

2024-06-13 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115466 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #2 fro

[Bug c++/115472] New: ICE :tree check expected class 'type', have 'exceptional' (error_mark) in check_goto_1, at cpdecl.cc4007

2024-06-13 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115472 Bug ID: 115472 Summary: ICE :tree check expected class 'type', have 'exceptional' (error_mark) in check_goto_1, at cpdecl.cc4007 Product: gcc Version: 15.0

[Bug sanitizer/115461] lsan doesn't work on s390x

2024-06-13 Thread iii at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115461 Ilya Leoshkevich changed: What|Removed |Added CC||iii at linux dot ibm.com --- Comment

[Bug target/115462] [15 regression] 416.gamess regressed 4-6% on x86_64 since r15-882-g1d6199e5f8c1c0

2024-06-13 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115462 Hongtao Liu changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comment #

[Bug c/68845] -Werror=array-bounds=[12] doesn't turn warning into error

2024-06-13 Thread sirl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68845 Franz Sirl changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug middle-end/63556] gcc should dedup string postfixes

2024-06-13 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63556 Xi Ruoyao changed: What|Removed |Added Resolution|WONTFIX |--- CC|

[Bug middle-end/63556] gcc should dedup string postfixes

2024-06-13 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63556 Xi Ruoyao changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug rtl-optimization/30688] Branch registers loaded too late on ia64

2024-06-13 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30688 Xi Ruoyao changed: What|Removed |Added Resolution|WONTFIX |--- Status|RESOLVED

[Bug target/115473] New: MIPS: -Os rtx_cost compare not correct

2024-06-13 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115473 Bug ID: 115473 Summary: MIPS: -Os rtx_cost compare not correct Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug libfortran/106083] gfortran.dg/ieee/large_1.f90 fails on powerpc64 with ieee longlongs

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

[Bug target/115456] RISC-V: ICE: unrecognizable insn with march=rv64gcv_zvfhmin

2024-06-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115456 --- Comment #3 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:3dac1049c1211e6d06c2536b86445a6334c3866d commit r15-1243-g3dac1049c1211e6d06c2536b86445a6334c3866d Author: Pan Li Date: Thu Jun 13 15:2

[Bug middle-end/63556] gcc should dedup string postfixes

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

[Bug fortran/100662] intrinsic::ieee_arithmetic fails on aarch, powerpc architectures on FreeBSD

2024-06-13 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100662 --- Comment #18 from Sergey Fedorov --- (In reply to Piotr Kubaj from comment #16) > This issue has been fixed in FreeBSD's main branch on powerpc* in > https://cgit.freebsd.org/src/commit/ > ?id=448c505c33cc334193590f3844406d6a74f26e2a > > Sim

[Bug target/107590] __atomic_test_and_set broken on PowerPC

2024-06-13 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107590 --- Comment #17 from Sergey Fedorov --- (In reply to Andrew Pinski from comment #13) > Oh yes there could be a bug here when the byte (lbarx/stbcx.) and half-word > (lharx/sthcx.) instruction support was added (which was for Power8; > r0-123873-

[Bug tree-optimization/115474] New: Missed optimization: fold `std::max(a > b, a)` to `a` (bool a, bool b)

2024-06-13 Thread zhiwuyazhe154 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115474 Bug ID: 115474 Summary: Missed optimization: fold `std::max(a > b, a)` to `a` (bool a, bool b) Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug target/95782] [s390] ICE in _cpp_pop_context

2024-06-13 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95782 Jiu Fu Guo changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/115438] [15 Regression] 503.bwaves_r regressed 5-11% on different x86_64 machines at -Ofast -march=native since r15-1006-gd93353e6423eca

2024-06-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115438 --- Comment #2 from Richard Biener --- I reproduced the larger regression with -march=zen3 on a zen4 machine. 9.27% 94741 bwaves_r_peak.g bwaves_r_peak.gcc7-m64 [.] bi_cgstab_block_ 5.96% 60744 bwaves_r_base.g bwaves_

[Bug target/115475] New: AArch64 should define __ARM_FEATURE_SVE_BF16 when appropriate

2024-06-13 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115475 Bug ID: 115475 Summary: AArch64 should define __ARM_FEATURE_SVE_BF16 when appropriate Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/115475] AArch64 should define __ARM_FEATURE_SVE_BF16 when appropriate

2024-06-13 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115475 ktkachov at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |15.0

[Bug c++/115318] decltype(lambda) from an template function inside a templated lambda causes ICE

2024-06-13 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115318 --- Comment #2 from Alfred Agrell --- struct a { int c; }; template struct ddd { int f() { using a2 = decltype([](int a::*)->a{}(&a::c)); return [](int a2::*){ return 2; }(&a::c); } }; int xs() { return ddd().f(); }

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

2024-06-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115464 --- Comment #8 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:0970ff46ba6330fc80e8736fc05b2eaeeae0b6a0 commit r15-1244-g0970ff46ba6330fc80e8736fc05b2eaeeae0b6a0 Author: Richard Sandiford Da

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

2024-06-13 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115464 Richard Sandiford changed: What|Removed |Added Known to work||15.0 Known to fail|

[Bug libstdc++/115454] std::experimental::find_last_set is buggy on x86-64-v4

2024-06-13 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115454 Matthias Kretz (Vir) changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/115438] [15 Regression] 503.bwaves_r regressed 5-11% on different x86_64 machines at -Ofast -march=native since r15-1006-gd93353e6423eca

2024-06-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115438 --- Comment #3 from Richard Biener --- Fixing that doesn't seem to help.

[Bug ada/115376] ICE with if expression in value setting of a constant declaration

2024-06-13 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115376 --- Comment #3 from Eric Botcazou --- > After trying and several attempts to find a small reproducer, I'm afraid > that I won't be able to provide better help than the ALS team could. Note that a small reproducer is not mandatory, so it's usual

[Bug tree-optimization/115438] [15 Regression] 503.bwaves_r regressed 5-11% on different x86_64 machines at -Ofast -march=native since r15-1006-gd93353e6423eca

2024-06-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115438 --- Comment #4 from Richard Biener --- Another difference is that for C Local r*r norm r2=0.0 do k=2,nzl+1 do j=1,ny do i=1,nx do l=1,nb r(l,i,j,k) = b(l,i,j,k-

[Bug libstdc++/113376] [14/15 Regression] Confusing notes when using C++17 parallel algorithms

2024-06-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113376 --- Comment #8 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:99a1fe6c12c733fe4923a75a79d09a66ff8abcec commit r15-1255-g99a1fe6c12c733fe4923a75a79d09a66ff8abcec Author: Jonathan Wakely Date:

[Bug libstdc++/115420] Default constructor of unordered_map deleted

2024-06-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115420 --- Comment #7 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:cc38bdf093c44918edff819ae6c73d03c726b341 commit r15-1256-gcc38bdf093c44918edff819ae6c73d03c726b341 Author: Jonathan Wakely Date:

[Bug libstdc++/115420] Default constructor of unordered_map deleted

2024-06-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115420 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED See Also|

[Bug libstdc++/111641] FAIL: 19_diagnostics/stacktrace/current.cc -std=gnu++23 execution test

2024-06-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111641 --- Comment #18 from Jonathan Wakely --- Nice - thank you both. I think we can close this. libstdc++_libbacktrace.a does exist on the gcc-13 branch, but isn't enabled by default so you probably aren't seeing these FAILs there. If anybody start

[Bug target/115456] RISC-V: ICE: unrecognizable insn with march=rv64gcv_zvfhmin

2024-06-13 Thread sh.chiang04 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115456 --- Comment #4 from Monk Chiang --- The test case, if add this option: -mrvv-vector-bits=zvl It has a new internal compiler error. compress_run-2.c:25:1: error: unrecognizable insn: 25 | } | ^ (insn 30 29 31 2 (set (reg:HF 156 [ _2 ])

[Bug ada/114710] too late finalization of temporary object

2024-06-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114710 --- Comment #3 from GCC Commits --- The master branch has been updated by Marc Poulhi?s : https://gcc.gnu.org/g:9e490bea69205ec4cad8caf21f19d8a8a89a7b43 commit r15-1260-g9e490bea69205ec4cad8caf21f19d8a8a89a7b43 Author: Eric Botcazou Date: M

[Bug c++/111160] [11/12/13/14/15 Regression] ICE on assigning volatile through ternary operator

2024-06-13 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60 Simon Martin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug ada/114710] too late finalization of temporary object

2024-06-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114710 --- Comment #4 from GCC Commits --- The master branch has been updated by Marc Poulhi?s : https://gcc.gnu.org/g:916a0f026e1516de4608b308cd7e4b68b8e562bb commit r15-1264-g916a0f026e1516de4608b308cd7e4b68b8e562bb Author: Eric Botcazou Date: T

[Bug ada/114710] too late finalization of temporary object

2024-06-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114710 --- Comment #5 from GCC Commits --- The master branch has been updated by Marc Poulhi?s : https://gcc.gnu.org/g:72ccc99d6fc22aaae4aaf74027329acafd70cbfc commit r15-1271-g72ccc99d6fc22aaae4aaf74027329acafd70cbfc Author: Eric Botcazou Date: T

[Bug target/115253] [14/15 regression] New tests added by r14-10122-gad45086178d833 fail on Cortex M23 and M55 bare metal targets

2024-06-13 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115253 --- Comment #16 from Thiago Jung Bauermann --- Thank you!

[Bug c++/106393] Add warnings for common dangling problems

2024-06-13 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106393 --- Comment #4 from David Malcolm --- (In reply to Eric Gallager from comment #3) > (In reply to Marek Polacek from comment #2) > > The rest may have to be implemented in the analyzer. > > Hm, let's ask David? Please open it as a fresh bug aga

[Bug target/115466] rs6000 vec_ld built-in works on BE but not LE

2024-06-13 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115466 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comm

[Bug middle-end/63556] gcc should dedup string postfixes

2024-06-13 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63556 --- Comment #7 from Andi Kleen --- I'm not sure how it would speed up the linker if gcc did it. The linker would still need to do it because there might be matches between different .o files. Also linker wouldn't know if the compiler supported th

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

2024-06-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115239 --- Comment #5 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:7fed7e9bbc57d502e141e079a6be2706bdbd4560 commit r15-1292-g7fed7e9bbc57d502e141e079a6be2706bdbd4560 Author: Patrick Palka Date: T

[Bug target/115370] [15 regression] gcc.target/i386/pr77881.c FAIL

2024-06-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115370 --- Comment #4 from GCC Commits --- The master branch has been updated by Hongyu Wang : https://gcc.gnu.org/g:83a765768510d1f329887116757d6818d7846717 commit r15-1293-g83a765768510d1f329887116757d6818d7846717 Author: Hongyu Wang Date: Thu J

[Bug middle-end/63556] gcc should dedup string postfixes

2024-06-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63556 --- Comment #8 from Andrew Pinski --- (In reply to Andi Kleen from comment #7) > I'm not sure how it would speed up the linker if gcc did it. The linker > would still need to do it because there might be matches between different > .o files. Also

[Bug target/115463] [15 regression] 526.blender_r regressed 5% on Zen2 with -Ofast -flto -march=native since r15-1058-gc989e59fc99d99

2024-06-13 Thread hongyuw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115463 --- Comment #3 from Hongyu Wang --- Should be fixed, but will wait for the confirm of SPEC result on znver/skylake.

[Bug target/115463] [15 regression] 526.blender_r regressed 5% on Zen2 with -Ofast -flto -march=native since r15-1058-gc989e59fc99d99

2024-06-13 Thread hongyuw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115463 Bug 115463 depends on bug 115370, which changed state. Bug 115370 Summary: [15 regression] gcc.target/i386/pr77881.c FAIL https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115370 What|Removed |Added

[Bug target/115463] [15 regression] 526.blender_r regressed 5% on Zen2 with -Ofast -flto -march=native since r15-1058-gc989e59fc99d99

2024-06-13 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115463 Hongtao Liu changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comment #

[Bug c++/99678] [concepts] requires-clause allows undeclared identifier

2024-06-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99678 Patrick Palka changed: What|Removed |Added Target Milestone|--- |14.2

[Bug tree-optimization/115474] Missed optimization: fold `std::max(a > b, a)` to `a` (bool a, bool b)

2024-06-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115474 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug target/115463] [15 regression] 526.blender_r regressed 5% on Zen2 with -Ofast -flto -march=native since r15-1058-gc989e59fc99d99

2024-06-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115463 --- Comment #2 from GCC Commits --- The master branch has been updated by Hongyu Wang : https://gcc.gnu.org/g:83a765768510d1f329887116757d6818d7846717 commit r15-1293-g83a765768510d1f329887116757d6818d7846717 Author: Hongyu Wang Date: Thu J

[Bug rtl-optimization/115021] [14/15 regression] unnecessary spill for vpternlog

2024-06-13 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115021 --- Comment #5 from Hongtao Liu --- It's fixed by r15-1100-gec985bc97a0157

[Bug tree-optimization/115474] Missed optimization: fold `std::max(a > b, a)` to `a` (bool a, bool b)

2024-06-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115474 --- Comment #2 from Andrew Pinski --- Here is a few more: ``` int func(bool a, bool b) { bool t = b < a; return t | a; // a } int func1(bool a, bool b) { bool t = b < a; bool t1 = t < a; return t | t1; // a } int func2(bool a, bool b

[Bug sanitizer/115461] lsan doesn't work on s390x

2024-06-13 Thread iii at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115461 --- Comment #5 from Ilya Leoshkevich --- The LLVM testsuite still passes. Looking a bit deeper: $ LSAN_OPTIONS=verbosity=1,log_pointers=1 ./a.out [...] 0x5080 ==1522380==LeakSanitizer: checking for leaks [...] ==1522381==Scanning STACK

[Bug c++/99678] [concepts] requires-clause allows undeclared identifier

2024-06-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99678 --- Comment #4 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:d387ecb2b2f44f33fd6a7c5ec7eadaf6dd70efc9 commit r15-1294-gd387ecb2b2f44f33fd6a7c5ec7eadaf6dd70efc9 Author: Patrick Palka Date: Th

[Bug target/115370] [15 regression] gcc.target/i386/pr77881.c FAIL

2024-06-13 Thread hongyuw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115370 Hongyu Wang changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug libstdc++/24537] Non-uglified names inside namespace __gnu_cxx

2024-06-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24537 Jonathan Wakely changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/115194] [modules] "reference to is ambiguous" when multiple paths to same symbol exist through module

2024-06-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115194 --- Comment #1 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:8878fecc251762bc32c24e659695557797e03fd9 commit r15-1296-g8878fecc251762bc32c24e659695557797e03fd9 Author: Jason Merrill Date: We

[Bug c++/115476] New: __has_unique_object_representation ICE with array of uninstantiated type of unknown bound

2024-06-13 Thread mital at mitalashok dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115476 Bug ID: 115476 Summary: __has_unique_object_representation ICE with array of uninstantiated type of unknown bound Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug c++/114683] [modules] name declared in GMF in inline namespace and exported via using-decl from parent namespace is not visible to importer

2024-06-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114683 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|jason at gcc dot

[Bug c++/115194] [modules] "reference to is ambiguous" when multiple paths to same symbol exist through module

2024-06-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115194 Jason Merrill changed: What|Removed |Added Target Milestone|--- |15.0 Status|ASSIGNED

[Bug libstdc++/13823] Significant performance issue with std::map on multiple threads on dual processor - possibly default allocator

2024-06-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13823 --- Comment #14 from Jonathan Wakely --- (In reply to Dan Evison from comment #0) > This seems to a problem with the default allocator, since running the > program > with GLIBCPP_FORCE_NEW set, removes the problem, and dramatically speeds up >

[Bug c++/115476] [13/14/15 Regression] __has_unique_object_representation ICE with array of uninstantiated type of unknown bound

2024-06-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115476 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug libstdc++/38678] [DR XXX] istream::read() calls streambuf::sgetn()

2024-06-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38678 --- Comment #6 from Jonathan Wakely --- MSVC and libc++ both behave the same as libstdc++, calling rdbuf()->sgetn(): https://github.com/microsoft/STL/blob/e36ee6c2b9bc6f5b1f70776c18cf5d3a93a69798/stl/inc/istream#L522 https://github.com/llvm/llv

[Bug target/115466] rs6000 vec_ld built-in works on BE but not LE

2024-06-13 Thread carll at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115466 --- Comment #4 from Carl Love --- comment 1 Yes, I can confirm if I add the alignment statement to the declarations it works fine. I originally tried to use the built-in as part of a re-write of a function in the Milvus AI source code. The

[Bug c/115477] New: compiling with gcc flips the sign of a float return value

2024-06-13 Thread s00na at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115477 Bug ID: 115477 Summary: compiling with gcc flips the sign of a float return value Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal P

[Bug c/115478] [15 Regression] gcc.target/aarch64/bitint-args.c fails

2024-06-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115478 --- Comment #1 from Andrew Pinski --- r15-1120-g2277f987979445

[Bug target/115478] [15 Regression] gcc.target/aarch64/bitint-args.c fails

2024-06-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115478 Andrew Pinski changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug c++/115476] [13/14/15 Regression] __has_unique_object_representation ICE with array of uninstantiated type of unknown bound

2024-06-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115476 --- Comment #3 from Marek Polacek --- In check_trait_type, we do if (kind == 1 && TREE_CODE (type) == ARRAY_TYPE && !TYPE_DOMAIN (type)) return true; // Array of unknown bound. Don't care about completeness. and then end up crashing in r

[Bug bootstrap/115453] [15 regression] Noise from new dlopen, pthread configure checks since r15-1177-g75299e4fe50aa8

2024-06-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115453 Andrew Pinski changed: What|Removed |Added Keywords||build Component|rust

[Bug c++/114683] [modules] name declared in GMF in inline namespace and exported via using-decl from parent namespace is not visible to importer

2024-06-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114683 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:609764a42f0cd3f6358562cab98fc220d3d2d9fd commit r15-1297-g609764a42f0cd3f6358562cab98fc220d3d2d9fd Author: Jason Merrill Date: We

[Bug c++/115476] [13/14/15 Regression] __has_unique_object_representation ICE with array of uninstantiated type of unknown bound

2024-06-13 Thread mital at mitalashok dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115476 --- Comment #5 from Mital Ashok --- Sorry, I misread the cppreference quote. Though it should be ill-formed instead of UB I think. GCC also crashes on this invalid code: class Foo; static_assert(__has_unique_object_representations(Foo[

[Bug sanitizer/115461] lsan doesn't work on s390x

2024-06-13 Thread iii at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115461 --- Comment #6 from Ilya Leoshkevich --- Forgot to add: since the runtime is shared, this observation applies to both GCC and LLVM. $ gcc k.c -fsanitize=leak; ./a.out 0x5080 $ LSAN_OPTIONS=use_stacks=0 ./a.out 0x5080 ==

[Bug libstdc++/28103] std::operator<<(ostream&, string) sets badbit instead of failbit on failure

2024-06-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28103 Jonathan Wakely changed: What|Removed |Added Status|SUSPENDED |NEW --- Comment #3 from Jonathan Wakel

[Bug target/115478] [15 Regression] gcc.target/aarch64/bitint-args.c fails

2024-06-13 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115478 Jeffrey A. Law changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc

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

2024-06-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 115194, which changed state. Bug 115194 Summary: [modules] "reference to is ambiguous" when multiple paths to same symbol exist through module https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115194 What|Re

[Bug c/115478] New: [15 Regression] gcc.target/aarch64/bitint-args.c fails

2024-06-13 Thread carlos.seo at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115478 Bug ID: 115478 Summary: [15 Regression] gcc.target/aarch64/bitint-args.c fails Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug c++/115479] New: undefined reference to [abi:cxx11] with variadic template of constexpr template structs

2024-06-13 Thread awright at tradebot dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115479 Bug ID: 115479 Summary: undefined reference to [abi:cxx11] with variadic template of constexpr template structs Product: gcc Version: 14.1.0 Status: UNCONFIRMED

[Bug c++/115479] undefined reference to [abi:cxx11] with variadic template of constexpr template structs

2024-06-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115479 --- Comment #1 from Andrew Pinski --- Can you provide a non godbolt version of this using a shell script invoking gcc directly>

[Bug c++/115476] [13/14/15 Regression] __has_unique_object_representation ICE with array of uninstantiated type of unknown bound

2024-06-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115476 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Keywords|

[Bug c/105863] RFE: C23 #embed

2024-06-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105863 --- Comment #13 from Jakub Jelinek --- Created attachment 58418 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58418&action=edit gcc15-pr105863-wip.patch WIP patch, which already does something. Started now working on the testsuite. I'd

[Bug c++/69621] extern std::string used as reference template-argument does not have [abi:cxx11] tag applied

2024-06-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69621 Andrew Pinski changed: What|Removed |Added CC||awright at tradebot dot com --- Comment

[Bug rtl-optimization/113723] switch (jump) tables don't get along with -freorder-blocks-and-partition on non-x86

2024-06-13 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113723 Andi Kleen changed: What|Removed |Added CC||andi-gcc at firstfloor dot org --- Comment

[Bug c++/115476] [13/14/15 Regression] __has_unique_object_representation ICE with array of uninstantiated type of unknown bound

2024-06-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115476 --- Comment #6 from Marek Polacek --- Aha, so static_assert(__has_unique_object_representations(Foo<0>[])); is valid and should be treated just like static_assert(__has_unique_object_representations(Foo<0>)); but class Foo; stat

[Bug libstdc++/28103] std::operator<<(ostream&, string) sets badbit instead of failbit on failure

2024-06-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28103 --- Comment #6 from Jonathan Wakely --- It looks like we've been setting badbit in ostream::_M_write(const charT*, streamsize) since it was added in r0-47606-g8d0a564bba54f7 That function was used to replace the similar code in basic_ostream::wr

[Bug c++/114600] [14 Regression] [modules] redefinition errors when using certain std headers in GMF

2024-06-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114600 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #1

[Bug middle-end/115477] compiling with gcc flips the sign of a float return value

2024-06-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115477 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Component|c

[Bug c++/115425] [13/14/15 regression] ICE: tree check: expected type_pack_expansion or expr_pack_expansion, have error_mark in tsubst_pack_expansion, at cp/pt.cc:13778

2024-06-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115425 Marek Polacek changed: What|Removed |Added Last reconfirmed||2024-06-13 Ever confirmed|0

[Bug libstdc++/28103] std::operator<<(ostream&, string) sets badbit instead of failbit on failure

2024-06-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28103 --- Comment #7 from Jonathan Wakely --- I think we can just do this in __ostream_insert: --- a/libstdc++-v3/include/bits/ostream_insert.h +++ b/libstdc++-v3/include/bits/ostream_insert.h @@ -103,6 +103,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION

[Bug ada/114710] too late finalization of temporary object

2024-06-13 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114710 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

  1   2   >