[Bug target/110041] gcc/config/i386/i386-expand.cc:23394:5: warning: misleading indentation

2023-05-30 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110041 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug c/110047] New: RFE: Add a warning for use of bare "unsigned" (possibly under -Wimplicit-int?)

2023-05-30 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110047 Bug ID: 110047 Summary: RFE: Add a warning for use of bare "unsigned" (possibly under -Wimplicit-int?) Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c/29970] mixing ({...}) with VLA leads to massive breakage

2023-05-30 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29970 --- Comment #18 from Martin Uecker --- What is not fixed is returning structs with VLA members as in the first three test cases, e.g. the second one still ICEs.

[Bug middle-end/70802] IRA memory cost calculation incorrect for immediates

2023-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70802 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug rtl-optimization/71768] Missed trivial rematerialiation oppurtunity

2023-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71768 Andrew Pinski changed: What|Removed |Added Known to fail||7.5.0 Known to work|

[Bug target/27663] missed-optimization transforming a byte array to unsigned long

2023-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27663 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2007-07-25 17:29:16 |2023-5-30 Component|middle-end

[Bug target/109971] [14 regression] Several powerpc64 vector test cases fail after r14-1242-gf574e2dfae7905

2023-05-30 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109971 --- Comment #10 from Kewen Lin --- (In reply to JuzheZhong from comment #9) > (In reply to Kewen Lin from comment #8) > > I did SPEC2017 int/fp evaluation on Power10 at Ofast and an extra explicit > > --param=vect-partial-vector-usage=2 (the

[Bug target/109971] [14 regression] Several powerpc64 vector test cases fail after r14-1242-gf574e2dfae7905

2023-05-30 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109971 --- Comment #9 from JuzheZhong --- (In reply to Kewen Lin from comment #8) > I did SPEC2017 int/fp evaluation on Power10 at Ofast and an extra explicit > --param=vect-partial-vector-usage=2 (the default is 1 on Power), baseline > r14-1241 vs.

[Bug target/109971] [14 regression] Several powerpc64 vector test cases fail after r14-1242-gf574e2dfae7905

2023-05-30 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109971 Kewen Lin changed: What|Removed |Added Keywords|testsuite-fail |missed-optimization

[Bug tree-optimization/110038] [14 Regression] ICE: in rewrite_expr_tree_parallel, at tree-ssa-reassoc.cc:5522 with --param=tree-reassoc-width=2147483647

2023-05-30 Thread lili.cui at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110038 --- Comment #2 from cuilili --- (In reply to Richard Biener from comment #1) > Probably best to limit the values to reassoc-width by adding the > appropriate IntegerRange attribute in params.opt > > IntegerRange(0, 256) > > maybe?

[Bug fortran/105847] namelist-object-name can be a renamed host associated entity

2023-05-30 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105847 --- Comment #5 from Jerry DeLisle --- Hi Steve,I will see if I can get all this tested and committed this coming weekend.

[Bug c/50486] Missed -Wsign-conversion with signed -> unsigned casting and enums

2023-05-30 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50486 Eric Gallager changed: What|Removed |Added Summary|No warning at signed -> |Missed -Wsign-conversion

[Bug c/29970] mixing ({...}) with VLA leads to massive breakage

2023-05-30 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29970 --- Comment #17 from Eric Gallager --- (In reply to CVS Commits from comment #16) > The master branch has been updated by Martin Uecker : > > https://gcc.gnu.org/g:4e6bf0b9dd5585df1a1472d6a93b9fff72fe2524 > > commit

[Bug c++/55077] implement and enable by default -Wliteral-conversion

2023-05-30 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55077 --- Comment #10 from Eric Gallager --- (In reply to David Binderman from comment #9) > -Wfloat-conversion does the deed: any chance of getting it someplace useful > like -Wall or -Wextra anytime soon ? > > I will put it into my local compiler.

[Bug libstdc++/110045] std::normal_distribution (and likely others) give wrong min() and max() values

2023-05-30 Thread gccbugs at elkpod dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110045 --- Comment #7 from Frank J. T. Wojcik --- After playing with this a bit more, I was able to find a Generator which produces a slightly wider bound, but still nowhere near 0x1.fep+127. This also includes the requested change to SimpleGen.

[Bug libstdc++/110045] std::normal_distribution (and likely others) give wrong min() and max() values

2023-05-30 Thread gccbugs at elkpod dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110045 --- Comment #6 from Frank J. T. Wojcik --- (In reply to Andrew Pinski from comment #5) > 2 things, I think your result_type in SimpleGen needs to be public. Sure, I'll change that. > Second is LLVM's libc++ outputs: > -inf -inf > inf inf I

[Bug tree-optimization/110035] Missed optimization for dependent assignment statements

2023-05-30 Thread ptk.prasertsuk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110035 --- Comment #5 from Pontakorn Prasertsuk --- (In reply to Andrew Pinski from comment #3) > We don't even optimize: > ``` > struct MyClass > { > unsigned long long arr[128]; > }; > > [[gnu::noipa]] > void sink(void *m); > void gg(MyClass ,

[Bug libstdc++/110045] std::normal_distribution (and likely others) give wrong min() and max() values

2023-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110045 --- Comment #5 from Andrew Pinski --- 2 things, I think your result_type in SimpleGen needs to be public. Second is LLVM's libc++ outputs: -inf -inf inf inf

[Bug tree-optimization/110035] Missed optimization for dependent assignment statements

2023-05-30 Thread ptk.prasertsuk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110035 --- Comment #4 from Pontakorn Prasertsuk --- (In reply to Richard Biener from comment #1) > Ick - convoluted C++. We end up with > > void ff (struct MyClass & obj) > { > vector(2) long unsigned int vect_SR.16; > vector(2) long unsigned

[Bug libstdc++/110045] std::normal_distribution (and likely others) give wrong min() and max() values

2023-05-30 Thread gccbugs at elkpod dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110045 --- Comment #4 from Frank J. T. Wojcik --- (In reply to Andrew Pinski from comment #3) > With 24bit precision, maybe it is ~8 standard deviations away from the mean. > But the generator argument can change for each call though so that does not

[Bug libstdc++/110045] std::normal_distribution (and likely others) give wrong min() and max() values

2023-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110045 --- Comment #3 from Andrew Pinski --- With 24bit precision, maybe it is ~8 standard deviations away from the mean. But the generator argument can change for each call though so that does not mean the next call to operator() could produce one

[Bug libstdc++/110045] std::normal_distribution (and likely others) give wrong min() and max() values

2023-05-30 Thread gccbugs at elkpod dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110045 --- Comment #2 from Frank J. T. Wojcik --- (In reply to Andrew Pinski from comment #1) > The heavy weight goes to potentially. The way I understand it is not the max > of what operator() has produced currently but will potentially return in the

[Bug libstdc++/110045] std::normal_distribution (and likely others) give wrong min() and max() values

2023-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110045 --- Comment #1 from Andrew Pinski --- The heavy weight goes to potentially. The way I understand it is not the max of what operator() has produced currently but will potentially return in the future.

[Bug libstdc++/110045] New: std::normal_distribution (and likely others) give wrong min() and max() values

2023-05-30 Thread gccbugs at elkpod dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110045 Bug ID: 110045 Summary: std::normal_distribution (and likely others) give wrong min() and max() values Product: gcc Version: 12.2.0 Status: UNCONFIRMED

[Bug target/108938] Missing bswap detection

2023-05-30 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108938 Hongtao.liu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

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

2023-05-30 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108804 --- Comment #6 from Hongtao.liu --- Fixed for GCC14.

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

2023-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108804 --- Comment #5 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:3279b6223066d36d2e6880a137f80a46d3c82c8f commit r14-1421-g3279b6223066d36d2e6880a137f80a46d3c82c8f Author: liuhongt Date: Wed Feb

[Bug tree-optimization/110043] [14 Regression] ice in size_remaining, at pointer-query.cc:875

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

[Bug tree-optimization/110043] [14 Regression] ice in size_remaining, at pointer-query.cc:875

2023-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110043 Andrew Pinski changed: What|Removed |Added Summary|ice in size_remaining, at |[14 Regression] ice in

[Bug target/110044] #pragma pack(push, 1) may not force packing, while __attribute__((packed, aligned(1))) works

2023-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110044 Andrew Pinski changed: What|Removed |Added Keywords||ABI, wrong-code --- Comment #1 from

[Bug c/109836] -Wpointer-sign should be enabled by default

2023-05-30 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109836 Eric Gallager changed: What|Removed |Added Keywords||patch --- Comment #5 from Eric

[Bug target/110044] New: #pragma pack(push, 1) may not force packing, while __attribute__((packed, aligned(1))) works

2023-05-30 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110044 Bug ID: 110044 Summary: #pragma pack(push, 1) may not force packing, while __attribute__((packed, aligned(1))) works Product: gcc Version: 12.2.0 Status: UNCONFIRMED

[Bug c/109826] Incompatible pointer types in ?: not covered by -Wincompatible-pointer-types

2023-05-30 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109826 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/110042] [14 Regression] missed cmov optimization after r14-1014-gc5df248509b489364c573e8

2023-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110042 --- Comment #6 from Andrew Pinski --- Created attachment 55219 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55219=edit untested patch I am going to test this on both x86_64 and aarch64 tonight.

[Bug rtl-optimization/110042] [14 Regression] missed cmov optimization after r14-1014-gc5df248509b489364c573e8

2023-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110042 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-05-30

[Bug rtl-optimization/110042] [14 Regression] missed cmov optimization after r14-1014-gc5df248509b489364c573e8

2023-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110042 --- Comment #4 from Andrew Pinski --- Because of the subreg.

[Bug rtl-optimization/110042] [14 Regression] missed cmov optimization after r14-1014-gc5df248509b489364c573e8

2023-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110042 --- Comment #3 from Andrew Pinski --- bb_valid_for_noce_process_p returns false for the zero_extract case ...

[Bug c/110043] New: ice in size_remaining, at pointer-query.cc:875

2023-05-30 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110043 Bug ID: 110043 Summary: ice in size_remaining, at pointer-query.cc:875 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug rtl-optimization/109592] Failure to recognize shifts as sign/zero extension

2023-05-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109592 --- Comment #10 from Jeffrey A. Law --- Created attachment 55218 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55218=edit (Incomplete) Patch

[Bug tree-optimization/108041] ivopts results in extra instruction in simple loop

2023-05-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108041 --- Comment #4 from Jeffrey A. Law --- Patch was for a different problem. Sorry.

[Bug rtl-optimization/109592] Failure to recognize shifts as sign/zero extension

2023-05-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109592 --- Comment #9 from Jeffrey A. Law --- Weird, I don't see the attachment either. I'll extract & upload it again. WRT costing. fwprop and combine will both query the target rtx costs and will reject when the target costing model indicates the

[Bug libstdc++/109822] Converting std::experimental::simd masks yields an error

2023-05-30 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109822 Matthias Kretz (Vir) changed: What|Removed |Added Resolution|--- |FIXED

[Bug libstdc++/109822] Converting std::experimental::simd masks yields an error

2023-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109822 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Matthias Kretz : https://gcc.gnu.org/g:39a60f2d5f7bf6806a4c4d7d1f52f139e157e01a commit r11-10835-g39a60f2d5f7bf6806a4c4d7d1f52f139e157e01a Author: Matthias

[Bug testsuite/52641] Test cases fail for 16-bit int targets

2023-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641 --- Comment #21 from CVS Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:e4c986fde56a6248f8fbe6cf0704e1da34b055d8 commit r14-1418-ge4c986fde56a6248f8fbe6cf0704e1da34b055d8 Author: Georg-Johann Lay

[Bug libstdc++/109822] Converting std::experimental::simd masks yields an error

2023-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109822 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Matthias Kretz : https://gcc.gnu.org/g:467887d5750d03d438ab704437b2c5e5da78497e commit r12-9666-g467887d5750d03d438ab704437b2c5e5da78497e Author: Matthias

[Bug target/49263] SH Target: underutilized "TST #imm, R0" instruction

2023-05-30 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49263 --- Comment #50 from Oleg Endo --- Actually, let's take any further discussion of shift patterns to PR 54089.

[Bug target/49263] SH Target: underutilized "TST #imm, R0" instruction

2023-05-30 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49263 --- Comment #49 from Oleg Endo --- (In reply to Alexander Klepikov from comment #48) > I made tests (including *.c files from GCC testsuite) and everything looks > fine for now. But I'm still afraid that pattern for 'ashrsi3_libcall_expand' > is

[Bug rtl-optimization/110042] [14 Regression] missed cmov optimization after r14-1014-gc5df248509b489364c573e8

2023-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110042 --- Comment #2 from Andrew Pinski --- Here is a bitfield testcase which shows this was a latent issue: ``` struct f { unsigned t:3; unsigned t1:4; }; unsigned f2(struct f); unsigned f1(int t, struct f y) { int tt = 0; if(t) tt =

[Bug rtl-optimization/110042] [14 Regression] missed cmov optimization after r14-1014-gc5df248509b489364c573e8

2023-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110042 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0

[Bug rtl-optimization/110042] [14 Regression] missed cmov optimization after r14-1014-gc5df248509b489364c573e8

2023-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110042 --- Comment #1 from Andrew Pinski --- I am still looking into this. This is definitely a latent bug and maybe even can be reproduced some bitfield extractions too.

[Bug rtl-optimization/110042] New: [14 Regression] missed cmov optimization after r14-1014-gc5df248509b489364c573e8

2023-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110042 Bug ID: 110042 Summary: [14 Regression] missed cmov optimization after r14-1014-gc5df248509b489364c573e8 Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug tree-optimization/50286] Missed optimization, fails to propagate bool

2023-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50286 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug rtl-optimization/101188] [postreload] Uses content of a clobbered register

2023-05-30 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101188 --- Comment #11 from Georg-Johann Lay --- Created attachment 55217 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55217=edit Proposed patch for postreload.cc to record clobbers of next insn + test case. This patch solves the problem for

[Bug target/110041] gcc/config/i386/i386-expand.cc:23394:5: warning: misleading indentation

2023-05-30 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110041 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Version|unknown

[Bug target/110041] gcc/config/i386/i386-expand.cc:23394:5: warning: misleading indentation

2023-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110041 --- Comment #2 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:2720bbd597f56742a17119dfe80edc2ba86af255 commit r14-1416-g2720bbd597f56742a17119dfe80edc2ba86af255 Author: Uros Bizjak Date: Tue

[Bug tree-optimization/58483] missing optimization opportunity for const std::vector compared to std::array

2023-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58483 --- Comment #17 from Andrew Pinski --- Here is related reduced testcase: ``` int f(void) { int tt = 100; int t[3] = {10,20,30}; int *t1 = new int[3]; __builtin_memcpy(t1, t, sizeof(t)); for(int *i = t1; i

[Bug target/110041] gcc/config/i386/i386-expand.cc:23394:5: warning: misleading indentation

2023-05-30 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110041 David Binderman changed: What|Removed |Added CC||uros at gcc dot gnu.org --- Comment

[Bug target/110041] New: gcc/config/i386/i386-expand.cc:23394:5: warning: misleading indentation

2023-05-30 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110041 Bug ID: 110041 Summary: gcc/config/i386/i386-expand.cc:23394:5: warning: misleading indentation Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug debug/63572] [10/11/12/13/14 Regression] ICF breaks user debugging experience

2023-05-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63572 --- Comment #31 from Jakub Jelinek --- In theory, what we could do (expensive though) is keep the IL of the functions that were ICF merged with the picked up candidate, just mark them in cgraph specially so that e.g. IPA doesn't consider

[Bug tree-optimization/110035] Missed optimization for dependent assignment statements

2023-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110035 --- Comment #3 from Andrew Pinski --- We don't even optimize: ``` struct MyClass { unsigned long long arr[128]; }; [[gnu::noipa]] void sink(void *m); void gg(MyClass , MyClass *b) { MyClass c = a; *b = c; sink(b); } ``` As I

[Bug middle-end/106776] Unexpected use-after-free warning

2023-05-30 Thread drfiemost at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106776 --- Comment #6 from Leandro Nini --- Can't reproduce anymore with gcc 13.1.0 Still there in gcc 12.3.0

[Bug tree-optimization/110035] Missed optimization for dependent assignment statements

2023-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110035 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Ever

[Bug tree-optimization/101024] Missed min expression at phiopt1

2023-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101024 --- Comment #10 from Andrew Pinski --- The only thing left to do to remove minmax_replacement, is the improvement mentioned in PR 95699 (or rather r11-1504-g2e0f4a18bc978c7362 ).

[Bug target/87913] max(n, 1) code generation

2023-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87913 --- Comment #7 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:45466eecf5ef669164c0922e5be8fd288b144886 commit r14-1412-g45466eecf5ef669164c0922e5be8fd288b144886 Author: Andrew Pinski Date:

[Bug target/106907] gcc/config/rs6000/rs6000.cc:23155: strange expression ?

2023-05-30 Thread jeevitha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106907 Jeevitha changed: What|Removed |Added CC||jeevitha at gcc dot gnu.org --- Comment #4

[Bug target/110040] rs6000 port emits dead mfvsrd instruction for simple test case

2023-05-30 Thread jeevitha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110040 Jeevitha changed: What|Removed |Added Target Milestone|--- |14.0 CC|

[Bug target/110040] New: rs6000 port emits dead mfvsrd instruction for simple test case

2023-05-30 Thread jeevitha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110040 Bug ID: 110040 Summary: rs6000 port emits dead mfvsrd instruction for simple test case Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/109822] Converting std::experimental::simd masks yields an error

2023-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109822 --- Comment #3 from CVS Commits --- The releases/gcc-13 branch has been updated by Matthias Kretz : https://gcc.gnu.org/g:717a14e727bce409ac7e7f10c413530e704f4ca7 commit r13-7393-g717a14e727bce409ac7e7f10c413530e704f4ca7 Author: Matthias

[Bug target/110027] Misaligned vector store on detect_stack_use_after_return

2023-05-30 Thread oconnor663 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110027 Jack O'Connor changed: What|Removed |Added CC||oconnor663 at gmail dot com ---

[Bug target/110026] [Bug] 5% performance drop on important benchmark after r260951.

2023-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110026 Andrew Pinski changed: What|Removed |Added Keywords||ra --- Comment #3 from Andrew Pinski

[Bug target/110023] 10% performance drop on important benchmark after r247544.

2023-05-30 Thread d_vampile at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110023 --- Comment #2 from d_vampile --- (In reply to Andrew Pinski from comment #1) > This is almost definitely an aarch64 cost model issue ... Do you mean that the vectorized cost_model of the underlying hardware causes the policy of not peeling

[Bug target/110026] [Bug] 5% performance drop on important benchmark after r260951.

2023-05-30 Thread d_vampile at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110026 --- Comment #2 from d_vampile --- (In reply to Jakub Jelinek from comment #1) > Note, any benchmarking for speed with -O rather than -O2/-O3 is > intentionally missing various optimizations which can greatly improve > performance. O0 does miss

[Bug libstdc++/109822] Converting std::experimental::simd masks yields an error

2023-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109822 --- Comment #2 from CVS Commits --- The master branch has been updated by Matthias Kretz : https://gcc.gnu.org/g:668d43502f465d48adbc1fe2956b979f36657e5f commit r14-1409-g668d43502f465d48adbc1fe2956b979f36657e5f Author: Matthias Kretz Date:

[Bug target/107172] [13 Regression] wrong code with "-O1 -ftree-vrp" on x86_64-linux-gnu since r13-1268-g8c99e307b20c502e

2023-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107172 --- Comment #51 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:69185294f322dd53d4e1592115014c5488302e2e commit r14-1405-g69185294f322dd53d4e1592115014c5488302e2e Author: Roger Sayle Date: Tue

[Bug target/109973] [13/14 Regression] Wrong code for AVX2 since 13.1 by combining VPAND and VPTEST since r13-2006-ga56c1641e9d25e

2023-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109973 --- Comment #6 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:69185294f322dd53d4e1592115014c5488302e2e commit r14-1405-g69185294f322dd53d4e1592115014c5488302e2e Author: Roger Sayle Date: Tue

[Bug target/106887] ICE in extract_insn, at recog.cc:2791 since r13-2111-g6910cad55ffc330d

2023-05-30 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106887 Martin Jambor changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug target/110039] [14 Regression] FAIL: gcc.target/aarch64/rev16_2.c scan-assembler-times rev16\\tw[0-9]+ 2

2023-05-30 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110039 ktkachov at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |14.0

[Bug target/110039] New: FAIL: gcc.target/aarch64/rev16_2.c scan-assembler-times rev16\\tw[0-9]+ 2

2023-05-30 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110039 Bug ID: 110039 Summary: FAIL: gcc.target/aarch64/rev16_2.c scan-assembler-times rev16\\tw[0-9]+ 2 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords:

[Bug target/49263] SH Target: underutilized "TST #imm, R0" instruction

2023-05-30 Thread klepikov.alex+bugs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49263 --- Comment #48 from Alexander Klepikov --- I made tests (including *.c files from GCC testsuite) and everything looks fine for now. But I'm still afraid that pattern for 'ashrsi3_libcall_expand' is too wide. It is possible to narrow it down as

[Bug c++/110037] GCC accepts private member access of enclosing class through friend function of inner class

2023-05-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110037 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org

[Bug c++/106756] [CWG1699] Overbroad friendship for nested classes

2023-05-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106756 Patrick Palka changed: What|Removed |Added CC||jlame646 at gmail dot com --- Comment

[Bug tree-optimization/110035] Missed optimization for dependent assignment statements

2023-05-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110035 --- Comment #1 from Richard Biener --- Ick - convoluted C++. We end up with void ff (struct MyClass & obj) { vector(2) long unsigned int vect_SR.16; vector(2) long unsigned int vect_SR.15; vector(2) long unsigned int vect_SR.14; void

[Bug tree-optimization/110038] [14 Regression] ICE: in rewrite_expr_tree_parallel, at tree-ssa-reassoc.cc:5522 with --param=tree-reassoc-width=2147483647

2023-05-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110038 Richard Biener changed: What|Removed |Added Last reconfirmed||2023-05-30 Target Milestone|---

[Bug target/110036] [12/13 regression] riscv_asan_shadow_offset mismatch with libsanitizer

2023-05-30 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110036 Andreas Schwab changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/110036] [12/13 regression] riscv_asan_shadow_offset mismatch with libsanitizer

2023-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110036 --- Comment #3 from CVS Commits --- The releases/gcc-12 branch has been updated by Andreas Schwab : https://gcc.gnu.org/g:2910660f00c74d12d17e3114870e287804a3332c commit r12-9661-g2910660f00c74d12d17e3114870e287804a3332c Author: Andreas

[Bug libstdc++/86880] Incorrect mersenne_twister_engine equality comparison between rotated states

2023-05-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86880 --- Comment #3 from Jonathan Wakely --- We have the same problem with std::subtract_with_carry_engine. Its equality operator doesn't work for rotated states.

[Bug libstdc++/60441] Incorrect textual representation for std::mersenne_twister_engine

2023-05-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60441 --- Comment #3 from Jonathan Wakely --- We have the same problem with std::subtract_with_carry_engine.

[Bug libstdc++/86880] Incorrect mersenne_twister_engine equality comparison between rotated states

2023-05-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86880 --- Comment #2 from Jonathan Wakely --- This would fix the equality operator to correctly compare rotated states: --- a/libstdc++-v3/include/bits/random.h +++ b/libstdc++-v3/include/bits/random.h @@ -601,8 +601,37 @@

[Bug target/110036] [12/13 regression] riscv_asan_shadow_offset mismatch with libsanitizer

2023-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110036 --- Comment #2 from CVS Commits --- The releases/gcc-13 branch has been updated by Andreas Schwab : https://gcc.gnu.org/g:acf4fac6c5d14b30dca6cbde75f8b7db89850e04 commit r13-7389-gacf4fac6c5d14b30dca6cbde75f8b7db89850e04 Author: Andreas

[Bug c/109999] [OpenMP] Bogus error message: talks about '"#pragma omp" clause' instead of '"target" clause

2023-05-30 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c/109999] [OpenMP] Bogus error message: talks about '"#pragma omp" clause' instead of '"target" clause

2023-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10 --- Comment #3 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:a899401404186843f38462c8fc9de733f19ce864 commit r14-1404-ga899401404186843f38462c8fc9de733f19ce864 Author: Tobias Burnus Date:

[Bug c/109827] Pointer/integer mismatch in ?: not covered by -Wint-conversion

2023-05-30 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109827 Eric Gallager changed: What|Removed |Added Last reconfirmed||2023-05-30

[Bug tree-optimization/110038] New: [14 Regression] ICE: in rewrite_expr_tree_parallel, at tree-ssa-reassoc.cc:5522 with --param=tree-reassoc-width=2147483647

2023-05-30 Thread zsojka at seznam dot cz via Gcc-bugs
230530111808-g456cf52c0d3-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20230530 (experimental) (GCC)

[Bug c++/110037] New: GCC accepts private member access of enclosing through friend function of inner class

2023-05-30 Thread jlame646 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110037 Bug ID: 110037 Summary: GCC accepts private member access of enclosing through friend function of inner class Product: gcc Version: 13.2.1 Status: UNCONFIRMED

[Bug c++/110028] slow compilation on incorrect namespace after gcc-12.1

2023-05-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110028 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c/84510] C front-end does not utilise -Wuseless-cast

2023-05-30 Thread dev at joren dot ga via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84510 --- Comment #1 from Jakub Łukasiewicz --- It would be really helpful in preventing explicit void* casting; especially in case with malloc().

[Bug target/108938] Missing bswap detection

2023-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108938 --- Comment #16 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:d8545fb2c71683f407bfd96706103297d4d6e27b commit r14-1402-gd8545fb2c71683f407bfd96706103297d4d6e27b Author: liuhongt Date: Mon

[Bug middle-end/110018] Missing vectorizable_conversion(unsigned char -> double) for BB vectorizer

2023-05-30 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110018 --- Comment #5 from Hongtao.liu --- Do we know if the stmt belongs to any slp_node in pattern recog? slp_node use SLP_TREE_LANES for vectype which is different from vinfo->vector_mode. Different optabs should be checked according to both

[Bug rtl-optimization/110034] The first popped allcono doesn't take precedence over later popped in ira coloring

2023-05-30 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110034 --- Comment #3 from HaoChen Gui --- Created attachment 55215 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55215=edit ira dump

[Bug rtl-optimization/110034] The first popped allcono doesn't take precedence over later popped in ira coloring

2023-05-30 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110034 HaoChen Gui changed: What|Removed |Added CC||guihaoc at gcc dot gnu.org --- Comment

  1   2   >