[Bug tree-optimization/117000] Inefficient code for 32-byte struct comparison (ptest missing)

2024-10-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117000 Richard Biener changed: What|Removed |Added Component|target |tree-optimization Status|U

[Bug target/117010] [nvptx] Incorrect ptx code-gen for C++ code with templates

2024-10-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117010 --- Comment #1 from Andrew Pinski --- It is not the template that is the issue here but the constructor where the alias comes from.

[Bug middle-end/105001] If executing with non-nvptx offloading, but nvptx offloading compilation is enabled: FAIL: libgomp.c/pr104783.c execution test

2024-10-07 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105001 Thomas Schwinge changed: What|Removed |Added CC||prathamesh3492 at gcc dot gnu.org --

[Bug middle-end/117003] pr104783.c is miscompiled with offloading and results in segmentation fault during host-only execution for -O1 and above

2024-10-07 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117003 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/116940] [15 Regression] wrong code with -O -mavx512vl and vector compare and negation since r15-1742

2024-10-07 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116940 Hongtao Liu changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug middle-end/116997] [13/14/15 Regression] Wrong bitfield accesses since r13-3219-g25413fdb2ac249

2024-10-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116997 --- Comment #4 from Richard Biener --- (In reply to Andrew Pinski from comment #3) > https://gcc.gnu.org/pipermail/gcc-patches/2020-January/537612.html > > I can't remember if the fix was committed or not ... It wasn't - would be good to check

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

2024-10-07 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #386 from John Paul Adrian Glaubitz --- (In reply to Kazumoto Kojima from comment #374) > Created attachment 59286 [details] > a patch for c#367 > > We use movsf_ie as a fall-back for for moving fp-reg from/to multiword > subreg in 5

[Bug target/117010] New: [nvptx] Incorrect ptx code-gen for C++ code with templates

2024-10-07 Thread prathamesh3492 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117010 Bug ID: 117010 Summary: [nvptx] Incorrect ptx code-gen for C++ code with templates Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Pr

[Bug target/80881] Implement Windows native TLS

2024-10-07 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #28 from LIU Hao --- (In reply to Julian Waters from comment #27) > I think I remember clang using __tls_index instead of _tls_index for 32 bit > as well, but that's the only difference I remember. On another note, Cygwin Yes, you ar

[Bug target/80881] Implement Windows native TLS

2024-10-07 Thread tanksherman27 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #27 from Julian Waters --- X(In reply to LIU Hao from comment #26) > Comment on attachment 59290 [details] > Newer patch for TLS support, incomplete > > > + "mov{l}\t{_tls_index(%%rip), %k0|%k0, DWORD PTR > > [rip+_tls_index]}\;mov

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

2024-10-07 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #385 from Oleg Endo --- (In reply to Kazumoto Kojima from comment #383) > (In reply to Oleg Endo from comment #382) > > Instead of ... > > > > && REG_P (operands[1]) && REGNO (operands[1]) == R0_REG" > > > > ... could we also write

[Bug target/117008] -march=native pessimization of 25% with bitset popcount

2024-10-07 Thread mattreecebentley at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117008 --- Comment #5 from Matt Bentley --- (In reply to Andrew Pinski from comment #1) > Can you provide the output of invoking g++ with -march=native and when > compiling? The .ii files were identical, so did you you mean .o files?

[Bug target/117008] -march=native pessimization of 25% with bitset popcount

2024-10-07 Thread mattreecebentley at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117008 --- Comment #4 from Matt Bentley --- Yeah, I know, I mentioned that in the report. It's not a bad benchmark, it's benchmarking access of individual consecutive bits, not summing. The counting is merely for preventing the compiler from optimizin

[Bug rtl-optimization/114729] RISC-V SPEC2017 507.cactu excessive spillls with -fschedule-insns

2024-10-07 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114729 --- Comment #21 from Vineet Gupta --- The code is currently pushed to https://github.com/vineetgarc/gcc/commits/topic-sched1/

[Bug target/80881] Implement Windows native TLS

2024-10-07 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #26 from LIU Hao --- Comment on attachment 59290 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59290 Newer patch for TLS support, incomplete > + "mov{l}\t{_tls_index(%%rip), %k0|%k0, DWORD PTR > [rip+_tls_index]}\;mov{q}\t{%

[Bug rtl-optimization/114729] RISC-V SPEC2017 507.cactu excessive spillls with -fschedule-insns

2024-10-07 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114729 --- Comment #20 from Vineet Gupta --- The model schedule change (at tweak9) seems stable and showing very promising result. The hottest basic block's reg pressure drops down significantly ;; Pressure summary (bb 206): GR_REGS:313 FP_REGS:946 ;

[Bug target/117008] -march=native pessimization of 25% with bitset popcount

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

[Bug target/117008] -march=native pessimization of 25% with bitset

2024-10-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117008 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Status|

[Bug target/117008] -march=native pessimization of 25% with bitset

2024-10-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117008 --- Comment #1 from Andrew Pinski --- Can you provide the output of invoking g++ with -march=native and when compiling?

[Bug middle-end/117009] Wall should be in common.opt rather than the language specific .opt

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

[Bug middle-end/117009] New: Wall should be in common.opt rather than the language specific .opt

2024-10-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117009 Bug ID: 117009 Summary: Wall should be in common.opt rather than the language specific .opt Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: internal-i

[Bug c++/117008] New: -march=native pessimization of 25% with bitset

2024-10-07 Thread mattreecebentley at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117008 Bug ID: 117008 Summary: -march=native pessimization of 25% with bitset Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/117007] Poor optimiation for small vector constants needed for vector shift/rotate/mask genration.

2024-10-07 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117007 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org,

[Bug target/117007] New: Poor optimiation for small vector constants needed for vector shift/rotate/mask genration.

2024-10-07 Thread munroesj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117007 Bug ID: 117007 Summary: Poor optimiation for small vector constants needed for vector shift/rotate/mask genration. Product: gcc Version: 13.2.1 Status: UNCONFIRMED

[Bug target/117006] [15 regression] GCC trunk generates larger code than GCC 14 at -Os

2024-10-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117006 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #1 from

[Bug target/117006] New: [15 regression] GCC trunk generates larger code than GCC 14 at -Os

2024-10-07 Thread dccitaliano at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117006 Bug ID: 117006 Summary: [15 regression] GCC trunk generates larger code than GCC 14 at -Os Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/117004] Unexpected const variable type with decltype of non-type template parameter of deduced type

2024-10-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117004 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c++/115314] auto template parameter has const qualifier on it even though the original does not

2024-10-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115314 Andrew Pinski changed: What|Removed |Added CC||barry.revzin at gmail dot com --- Comme

[Bug c++/97375] Unexpected top-level const retainment when declaring non-type template paramter with decltype(auto)

2024-10-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97375 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Status|NEW

[Bug c++/117004] Unexpected const variable type with decltype of non-type template parameter of deduced type

2024-10-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117004 --- Comment #1 from Andrew Pinski --- I think there is a dup of this one around.

[Bug middle-end/116983] counted_by not used to identify singleton pointers

2024-10-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116983 --- Comment #3 from Jakub Jelinek --- Plus the useless pointer conversions in GIMPLE can mean that void *foo (int); struct counted { int counter; int array[] __attribute__((counted_by(counter))); }; struct notcounted { int counter;

[Bug libstdc++/117005] New: Parallel Mode algorithms need to qualify all calls

2024-10-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117005 Bug ID: 117005 Summary: Parallel Mode algorithms need to qualify all calls Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal

[Bug middle-end/116983] counted_by not used to identify singleton pointers

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

[Bug c++/117004] New: Unexpected const variable type with decltype of non-type template parameter of deduced type

2024-10-07 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117004 Bug ID: 117004 Summary: Unexpected const variable type with decltype of non-type template parameter of deduced type Product: gcc Version: 14.1.0 Status: UNCONFIRMED

[Bug c/116735] ICE in build_counted_by_ref

2024-10-07 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116735 qinzhao at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|AS

[Bug middle-end/117002] lifetime.d: In function ‘_d_newclassT’: error: size of array element is not a multiple of its alignment with -Warray-bounds and -O2

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

[Bug middle-end/117003] New: pr104783.c is miscompiled with offloading and results in segmentation fault during host-only execution for -O1 and above

2024-10-07 Thread prathamesh3492 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117003 Bug ID: 117003 Summary: pr104783.c is miscompiled with offloading and results in segmentation fault during host-only execution for -O1 and above Product: gcc Ver

[Bug c/116735] ICE in build_counted_by_ref

2024-10-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116735 --- Comment #4 from GCC Commits --- The master branch has been updated by Qing Zhao : https://gcc.gnu.org/g:9a17e6d03c6ed53e3b2dfd2c3ff9b1066ffa97b9 commit r15-4122-g9a17e6d03c6ed53e3b2dfd2c3ff9b1066ffa97b9 Author: qing zhao Date: Mon Sep 3

[Bug d/117002] New: lifetime.d: In function ‘_d_newclassT’: error: size of array element is not a multiple of its alignment with -Warray-bounds and -O2

2024-10-07 Thread a.horodniceanu at proton dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117002 Bug ID: 117002 Summary: lifetime.d: In function ‘_d_newclassT’: error: size of array element is not a multiple of its alignment with -Warray-bounds and -O2 Product: gcc

[Bug target/89213] Optimize V2DI shifts by a constant on power8 & above systems.

2024-10-07 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89213 Michael Meissner changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/116997] [13/14/15 Regression] Wrong bitfield accesses since r13-3219-g25413fdb2ac249

2024-10-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116997 --- Comment #3 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc-patches/2020-January/537612.html I can't remember if the fix was committed or not ...

[Bug middle-end/116997] [13/14/15 Regression] Wrong bitfield accesses since r13-3219-g25413fdb2ac249

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

[Bug middle-end/116997] [13/14/15 Regression] Wrong bitfield accesses since r13-3219-g25413fdb2ac249

2024-10-07 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116997 --- Comment #1 from avieira at gcc dot gnu.org --- Had a look at this and I see similar codegen for aarch64 when compiling for big-endian. If I disable tree-ifcvt (-fdisable-tree-ifvt) I end up with: MEM [(void *)Ptr.0_1] = 30071062528; Which

[Bug target/80881] Implement Windows native TLS

2024-10-07 Thread tanksherman27 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #25 from Julian Waters --- Created attachment 59290 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59290&action=edit Newer patch for TLS support, incomplete

[Bug target/117000] Inefficient code for 32-byte struct comparison (ptest missing)

2024-10-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117000 Andrew Pinski changed: What|Removed |Added Component|middle-end |target --- Comment #2 from Andrew Pinsk

[Bug middle-end/117000] Inefficient code for 32-byte struct comparison (ptest missing)

2024-10-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117000 --- Comment #1 from Andrew Pinski --- >In GCC 14+ the compilation converges to test1 also in test2. So what is happening in GCC 13 is SLP vectorizer is not able to vectorizer test2 but GCC 14 is. The loop vectorizer is able to handle test1 in

[Bug sanitizer/116984] -fsanitize=bounds triggers within __builtin_dynamic_object_size()

2024-10-07 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116984 qinzhao at gcc dot gnu.org changed: What|Removed |Added CC||qinzhao at gcc dot gnu.org

[Bug tree-optimization/117001] O3 auto tree loop vectorization produces incorrect output on armv8.2-a+sve

2024-10-07 Thread Robert.Hardwick at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117001 --- Comment #5 from Robert Hardwick --- Not working on 11.4.0, i'll try 11.5.0 as you suggest. $ g++ --version g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 g++ -O3 -march=armv8.2-a+sve test.cpp -o test $:~/tools/pytorch/pytorch/argmin_test$ ./te

[Bug tree-optimization/117001] O3 auto tree loop vectorization produces incorrect output on armv8.2-a+sve

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

[Bug tree-optimization/117001] O3 auto tree loop vectorization produces incorrect output on armv8.2-a+sve

2024-10-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117001 --- Comment #3 from Andrew Pinski --- Note I needed to add the following 2 includes to get the testcase to compile: ``` #include #include ```

[Bug tree-optimization/117001] O3 auto tree loop vectorization produces incorrect output on armv8.2-a+sve

2024-10-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117001 --- Comment #2 from Andrew Pinski --- Works for me on the trunk: [apinski@xeond2 upstream-cross-aarch64]$ ./install/bin/aarch64-linux-gnu-g++ -static t.cc [apinski@xeond2 upstream-cross-aarch64]$ ./install-qemu/bin/qemu-aarch64 a.out [0, 0, 0, 1

[Bug c++/117001] O3 auto tree loop vectorization produces incorrect output on armv8.2-a+sve

2024-10-07 Thread Robert.Hardwick at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117001 --- Comment #1 from Robert Hardwick --- Apolgies, i've got that the wrong way around. With -O3 -fno-tree-loop-vectorize -march=armv8.2-a+sve output is CORRECT [0, 0, 0, 1, 0, 1, 1, 0] with -O3 -march=armv8.2-a+sve output is INCORRECT [0, 0,

[Bug c++/117001] New: O3 auto tree loop vectorization produces incorrect output on armv8.2-a+sve

2024-10-07 Thread Robert.Hardwick at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117001 Bug ID: 117001 Summary: O3 auto tree loop vectorization produces incorrect output on armv8.2-a+sve Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: n

[Bug middle-end/116933] various issues of -ftrivial-auto-var-init=zero with Ada

2024-10-07 Thread qing.zhao at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116933 --- Comment #18 from Qing Zhao --- > On Oct 7, 2024, at 11:34, ebotcazou at gcc dot gnu.org > wrote: > I see, thanks for investigation! This was overlooked because the C family of > compiler do not use the declaration built in common_builtin_

[Bug rtl-optimization/117000] New: Inefficient code for 32-byte struct comparison (ptest missing)

2024-10-07 Thread chfast at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117000 Bug ID: 117000 Summary: Inefficient code for 32-byte struct comparison (ptest missing) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug middle-end/116983] counted_by not used to identify singleton pointers

2024-10-07 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116983 qinzhao at gcc dot gnu.org changed: What|Removed |Added CC||qinzhao at gcc dot gnu.org

[Bug middle-end/116933] various issues of -ftrivial-auto-var-init=zero with Ada

2024-10-07 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116933 --- Comment #17 from Eric Botcazou --- > Okay, by searching the history, looks like that the following patch forget > to update the above routine when merging the 2nd and 3rd parameters for > __builtin_clear_padding: I see, thanks for investig

[Bug sanitizer/116984] -fsanitize=bounds triggers within __builtin_dynamic_object_size()

2024-10-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116984 Jakub Jelinek changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug ada/114964] Ada Address_To_Access_Conversions gnat_to_gnu_entity internal error

2024-10-07 Thread ken at pegasoft dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114964 Ken Burtch changed: What|Removed |Added Resolution|--- |WONTFIX Status|WAITING

[Bug tree-optimization/116974] omp inscan reduction not supported with SLP

2024-10-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116974 --- Comment #2 from Richard Biener --- One issue is that with SLP scheduling we're relying on data dependence to order vector stmts in the correct order. With omp scan we have scalar code like _12 = .GOMP_SIMD_LANE (simduid.2_6(D), 0); _13

[Bug middle-end/116933] various issues of -ftrivial-auto-var-init=zero with Ada

2024-10-07 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116933 --- Comment #16 from qinzhao at gcc dot gnu.org --- (In reply to Eric Botcazou from comment #12) > > We added one more argument for __builtin_clear_padding to distinguish > > whether this call is for AUTO_INIT or not. > > > > > > diff --git a/g

[Bug tree-optimization/116578] vectorizer SLP transition issues / dependences

2024-10-07 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116578 Bug 116578 depends on bug 116583, which changed state. Bug 116583 Summary: vectorizable_slp_permutation cannot handle even/odd extract from VLA vector https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 What|Removed

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-10-07 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 Richard Sandiford changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-10-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 --- Comment #15 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:03299164830e19405b35a5fa862e248df4ea01e2 commit r15-4115-g03299164830e19405b35a5fa862e248df4ea01e2 Author: Richard Sandiford D

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-10-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 --- Comment #12 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:1732298d51028ae50a802e538df5d7249556255d commit r15-4112-g1732298d51028ae50a802e538df5d7249556255d Author: Richard Sandiford D

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-10-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 --- Comment #14 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:8157f3f2d211bfbf53fbf8dd209b47ce583f4142 commit r15-4114-g8157f3f2d211bfbf53fbf8dd209b47ce583f4142 Author: Richard Sandiford D

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-10-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 --- Comment #13 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:2abd04d01bc4e18158c785e75c91576b836f3ba6 commit r15-4113-g2abd04d01bc4e18158c785e75c91576b836f3ba6 Author: Richard Sandiford D

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-10-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 --- Comment #11 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:1048ebbbdc98a5928a974356d7f4244603b6bd32 commit r15-4110-g1048ebbbdc98a5928a974356d7f4244603b6bd32 Author: Richard Sandiford D

[Bug tree-optimization/116982] [14 Regregression] ICE on valid code at -O3 with "-fno-tree-dce -fno-tree-dominator-opts -fno-tree-pre -fno-tree-dse -fno-tree-copy-prop -fno-tree-fre -fno-code-hoisting

2024-10-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116982 Richard Biener changed: What|Removed |Added Known to work||15.0 Summary|[14/15 Regregr

[Bug tree-optimization/116982] [14/15 Regregression] ICE on valid code at -O3 with "-fno-tree-dce -fno-tree-dominator-opts -fno-tree-pre -fno-tree-dse -fno-tree-copy-prop -fno-tree-fre -fno-code-hoist

2024-10-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116982 --- Comment #4 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:9b86efd5210101954bd187c3aa8bb909610a5746 commit r15-4107-g9b86efd5210101954bd187c3aa8bb909610a5746 Author: Richard Biener Date:

[Bug tree-optimization/116990] [14 Regression] ICE on valid code at -O3 "-fno-tree-ccp -fno-tree-loop-im -fno-tree-dse" on x86_64-linux-gnu: in single_pred_edge, at basic-block.h:342

2024-10-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116990 Richard Biener changed: What|Removed |Added Target Milestone|15.0|14.3 Known to work|

[Bug tree-optimization/116990] [15 Regression] ICE on valid code at -O3 "-fno-tree-ccp -fno-tree-loop-im -fno-tree-dse" on x86_64-linux-gnu: in single_pred_edge, at basic-block.h:342

2024-10-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116990 --- Comment #5 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:b0b71618157ddac52266909978f331406f98f3a2 commit r15-4108-gb0b71618157ddac52266909978f331406f98f3a2 Author: Richard Biener Date:

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

2024-10-07 Thread kkojima at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #384 from Kazumoto Kojima --- Created attachment 59289 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59289&action=edit a reduced test case for c#378 (with -O2 -fpic)

[Bug tree-optimization/116998] [15 Regression] 5% slowdown of 400.perlbench on AMD Zen3/4 since r15-3986-g3e1bd6470e4deb

2024-10-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116998 Richard Biener changed: What|Removed |Added Keywords||needs-testcase --- Comment #1 from Ric

[Bug target/116999] Fold SVE whilelt/le comparisons with max int value to ptrue

2024-10-07 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116999 --- Comment #1 from ktkachov at gcc dot gnu.org --- This is inspired by the LLVM PR https://github.com/llvm/llvm-project/pull/83

[Bug target/116999] New: Fold SVE whilelt/le comparisons with max int value to ptrue

2024-10-07 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116999 Bug ID: 116999 Summary: Fold SVE whilelt/le comparisons with max int value to ptrue Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimizatio

[Bug tree-optimization/116998] [15 Regression] 5% slowdown of 400.perlbench on AMD Zen3/4 since r15-3986-g3e1bd6470e4deb

2024-10-07 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116998 Filip Kastl changed: What|Removed |Added Target Milestone|--- |15.0

[Bug tree-optimization/116998] New: [15 Regression] 5% slowdown of 400.perlbench on AMD Zen3/4 since r15-3986-g3e1bd6470e4deb

2024-10-07 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116998 Bug ID: 116998 Summary: [15 Regression] 5% slowdown of 400.perlbench on AMD Zen3/4 since r15-3986-g3e1bd6470e4deb Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug testsuite/116683] new test g++.dg/ext/pragma-unroll-lambda-lto.C from r15-3585-g9759f6299d9633 fails

2024-10-07 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116683 Alex Coplan changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug testsuite/116683] new test g++.dg/ext/pragma-unroll-lambda-lto.C from r15-3585-g9759f6299d9633 fails

2024-10-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116683 --- Comment #6 from GCC Commits --- The master branch has been updated by Alex Coplan : https://gcc.gnu.org/g:7faadb1f261c6b8ef988c400c39ec7df09839dbe commit r15-4106-g7faadb1f261c6b8ef988c400c39ec7df09839dbe Author: Alex Coplan Date: Thu S

[Bug tree-optimization/116990] [15 Regression] ICE on valid code at -O3 "-fno-tree-ccp -fno-tree-loop-im -fno-tree-dse" on x86_64-linux-gnu: in single_pred_edge, at basic-block.h:342

2024-10-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116990 --- Comment #4 from Richard Biener --- Hum. The following should have prevented that, but ... /* Check if we have any control flow that doesn't leave the loop. */ class loop *v_loop = loop->inner ? loop->inner : loop; ... not sure why we

[Bug libstdc++/116991] FAIL: 26_numerics/complex/ext_c++23.cc -std=gnu++23 (test for excess errors)

2024-10-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116991 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gc

[Bug target/116979] [12/13/14/15 regression] fma not always used in complex product

2024-10-07 Thread vincenzo.innocente at cern dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116979 --- Comment #6 from vincenzo Innocente --- I'm just taking the product of two complex numbers, cannot call std::fma in the user code: reimplementing the operator* is not trivial (and is a stdlib job anyhow)

[Bug tree-optimization/116982] [14/15 Regregression] ICE on valid code at -O3 with "-fno-tree-dce -fno-tree-dominator-opts -fno-tree-pre -fno-tree-dse -fno-tree-copy-prop -fno-tree-fre -fno-code-hoist

2024-10-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116982 --- Comment #3 from Richard Biener --- The issue is likely that if-conversion produced a vector loop copy with a different number of exit edges than the original not if-converted version because of if-conversion doing simple DCE/FRE/DSE but the

[Bug libstdc++/115399] std::tr2::dynamic_bitset shift behaves differently from std::bitset

2024-10-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115399 Jonathan Wakely changed: What|Removed |Added Target Milestone|13.4|12.5

[Bug libstdc++/115399] std::tr2::dynamic_bitset shift behaves differently from std::bitset

2024-10-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115399 --- Comment #10 from Jonathan Wakely --- And 13.4 and 12.5

[Bug libstdc++/116641] [12 Regression] std::string move assignment incorrectly depends on POCCA

2024-10-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116641 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/115585] [12 Regression] --disable-libstdcxx-verbose causes undefined symbol: _ZSt21__glibcxx_assert_failPKciS0_S0_, version GLIBCXX_3.4.30

2024-10-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115585 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug libstdc++/115399] std::tr2::dynamic_bitset shift behaves differently from std::bitset

2024-10-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115399 --- Comment #9 from GCC Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:1f655ef43621cc022745c3aa9c77e3725b9280cd commit r12-10753-g1f655ef43621cc022745c3aa9c77e3725b9280cd Author: Jonathan Wak

[Bug libstdc++/116641] [12 Regression] std::string move assignment incorrectly depends on POCCA

2024-10-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116641 --- Comment #4 from GCC Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:2ab55da5eba0aa7a92e15d8100d51cc977f9aca4 commit r12-10748-g2ab55da5eba0aa7a92e15d8100d51cc977f9aca4 Author: Jonathan Wak

[Bug libstdc++/115585] [12 Regression] --disable-libstdcxx-verbose causes undefined symbol: _ZSt21__glibcxx_assert_failPKciS0_S0_, version GLIBCXX_3.4.30

2024-10-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115585 --- Comment #15 from GCC Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:c4d2f51741bbb1771219fbeaaf812fa73c36fc0f commit r12-10747-gc4d2f51741bbb1771219fbeaaf812fa73c36fc0f Author: Jonathan Wa

[Bug middle-end/116896] codegen for <=> compared to hand-written equivalent

2024-10-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116896 --- Comment #29 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:37554bacfd38b1466278b529d9e70a44d7b1b909 commit r15-4105-g37554bacfd38b1466278b529d9e70a44d7b1b909 Author: Jakub Jelinek Date:

[Bug analyzer/116995] Missed Detection of Null Pointer Dereference Issues

2024-10-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116995 --- Comment #1 from Richard Biener --- *** Bug 116996 has been marked as a duplicate of this bug. ***

[Bug analyzer/116996] Missed Detection of Null Pointer Dereference Issues

2024-10-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116996 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/116997] [13/14/15 Regression] Wrong bitfield accesses since r13-3219-g25413fdb2ac249

2024-10-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116997 Richard Biener changed: What|Removed |Added CC||avieira at gcc dot gnu.org,

[Bug tree-optimization/116990] [15 Regression] ICE on valid code at -O3 "-fno-tree-ccp -fno-tree-loop-im -fno-tree-dse" on x86_64-linux-gnu: in single_pred_edge, at basic-block.h:342

2024-10-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116990 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/116997] New: [13/14/15 Regression] Wrong bitfield accesses since r13-3219-g25413fdb2ac249

2024-10-07 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116997 Bug ID: 116997 Summary: [13/14/15 Regression] Wrong bitfield accesses since r13-3219-g25413fdb2ac249 Product: gcc Version: unknown Status: UNCONFIRMED Keywords

[Bug libstdc++/116992] FAIL: 30_threads/semaphore/platform_try_acquire_for.cc -std=gnu++20 (test for excess errors)

2024-10-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116992 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug analyzer/116996] New: Missed Detection of Null Pointer Dereference Issues

2024-10-07 Thread tianxinghe at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116996 Bug ID: 116996 Summary: Missed Detection of Null Pointer Dereference Issues Product: gcc Version: 11.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug analyzer/116995] New: Missed Detection of Null Pointer Dereference Issues

2024-10-07 Thread tianxinghe at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116995 Bug ID: 116995 Summary: Missed Detection of Null Pointer Dereference Issues Product: gcc Version: 11.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

  1   2   >