[Bug c++/96419] Constant propoagation works on global variable, but not in a function

2023-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96419 Andrew Pinski changed: What|Removed |Added URL|https://gcc.godbolt.org/z/c | |7E3P9

[Bug tree-optimization/108449] [13 Regression] ICE in eliminate_unnecessary_stmts, at tree-ssa-dce.cc:1512

2023-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108449 --- Comment #2 from Richard Biener --- OK, so early we still have vfork() 'static' and maybe_special_function_p returns false. But then check_global_declaration () comes along and does /* Warn about any function declared static but not

[Bug rtl-optimization/108461] '-fcompare-debug' failure (length) w/ -mcpu=e500mc -O2 -ftrapv -fno-expensive-optimizations -fno-guess-branch-probability -fno-tree-dce -fno-tree-dse

2023-01-18 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108461 --- Comment #1 from Arseny Solokha --- Created attachment 54304 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54304=edit gkd diff w/ -m64 Compiling w/ -m64 instead of -m32 yields the attached gkd diff. This PR can be actually a

[Bug rtl-optimization/108461] New: '-fcompare-debug' failure (length) w/ -mcpu=e500mc -O2 -ftrapv -fno-expensive-optimizations -fno-guess-branch-probability -fno-tree-dce -fno-tree-dse

2023-01-18 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108461 Bug ID: 108461 Summary: '-fcompare-debug' failure (length) w/ -mcpu=e500mc -O2 -ftrapv -fno-expensive-optimizations -fno-guess-branch-probability -fno-tree-dce

[Bug tree-optimization/107608] [13 Regression] Failure on fold-overflow-1.c and pr95115.c

2023-01-18 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 --- Comment #43 from rguenther at suse dot de --- On Thu, 19 Jan 2023, xry111 at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 > > --- Comment #42 from Xi Ruoyao --- > (In reply to Richard Biener from comment

[Bug c++/96887] Excessive error output with member initializer list and array

2023-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96887 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Known to work|

[Bug fortran/108453] [10/11/12/13 Regression] ICE in gfc_trans_use_stmts, at fortran/trans-decl.cc:5361

2023-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108453 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.5 Priority|P3

[Bug fortran/108451] [13 Regression] ICE in check_complete_insertion, at hash-table.h:578

2023-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108451 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0 CC|

[Bug fortran/108450] [12/13 Regression] ICE in sort_actual, at fortran/intrinsic.cc:4380

2023-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108450 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.3 Priority|P3

[Bug c++/95010] Recursive function template with function parameter of type decltype([]{}) is rejected

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

[Bug c++/95871] Duplicated error message : "the value is not usable in a constant expression"

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

[Bug tree-optimization/108449] [13 Regression] ICE in eliminate_unnecessary_stmts, at tree-ssa-dce.cc:1512

2023-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108449 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug c++/108437] [13 Regression] ICE in build_min_non_dep_op_overload, at cp/tree.cc:3710

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

[Bug fortran/108435] [13 Regression] ICE in as_a, at is-a.h:242 since r13-142-g705bcedf6eae2d7c

2023-01-18 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108435 Martin Liška changed: What|Removed |Added Summary|[13 Regression] ICE in |[13 Regression] ICE in

[Bug c/108439] incorrect optimization with -O2, -O3, -Os

2023-01-18 Thread georgmueller at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108439 --- Comment #7 from Georg Müller --- Ok, but then why isn't there a single warning - even with -Wstrict-aliasing=1 and a completely misleading error message for the second, reduced test?

[Bug fortran/108434] [12/13 Regression] ICE in class_allocatable, at fortran/expr.cc:5000

2023-01-18 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108434 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/108438] [10/11/12/13 Regression] ICE in cxx_eval_constant_expression, at cp/constexpr.cc:7611

2023-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108438 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.5 Keywords|

[Bug target/108348] ICE in gen_movoo, at config/rs6000/mma.md:292

2023-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108348 --- Comment #7 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:5d9529687deb9ed009361a16c02a7f6c3e2ebbf3 commit r13-5236-g5d9529687deb9ed009361a16c02a7f6c3e2ebbf3 Author: Kewen Lin Date: Wed Jan

[Bug target/108396] [12/13 Regression] PPCLE: vec_vsubcuq missing since r12-5752-gd08236359eb229

2023-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108396 --- Comment #6 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:aaf29ae6cdbaad58b709a77784375d15138174b3 commit r13-5237-gaaf29ae6cdbaad58b709a77784375d15138174b3 Author: Kewen Lin Date: Wed Jan

[Bug fortran/108434] [12/13 Regression] ICE in class_allocatable, at fortran/expr.cc:5000

2023-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108434 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.3 Priority|P3

[Bug fortran/108435] [13 Regression] ICE in as_a, at is-a.h:242 since r13-142-g705bcedf6eae2d7c

2023-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108435 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0

[Bug tree-optimization/108440] rotate optimization may introduce new UB

2023-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108440 --- Comment #5 from Richard Biener --- Do rotates have the same issue with undefinednes as shifts? With shifts it's whether the CPU interprets out-of-bound values as modulo the size or not but with rotates this wouldn't make any difference?

[Bug middle-end/108441] [12 Regression] Maybe missed optimization: loading an 16-bit integer value from .rodata instead of an immediate store

2023-01-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108441 Jakub Jelinek changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug middle-end/108441] [12 Regression] Maybe missed optimization: loading an 16-bit integer value from .rodata instead of an immediate store

2023-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108441 --- Comment #5 from Richard Biener --- (In reply to Peter Cordes from comment #4) > If there isn't already a bug open about tuning choices mismatching hardware, > I can repost this as a new bug if you'd like. These are probably best recorded

[Bug libquadmath/94756] strtoflt128 assigns some subnormals incorrectly on MS Windows

2023-01-18 Thread i.nixman at autistici dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94756 --- Comment #2 from niXman --- guys, how can I add that report(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87204) as duplicate of this report?

[Bug target/101472] AVX-512 wrong code for consecutive masked scatters

2023-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101472 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.4 Resolution|---

[Bug target/108442] arm: MVE's vld1* and vst1* do not work when __ARM_MVE_PRESERVE_USER_NAMESPACE is defined

2023-01-18 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108442 Richard Earnshaw changed: What|Removed |Added Last reconfirmed||2023-01-18 Ever confirmed|0

[Bug libstdc++/106183] std::atomic::wait might fail to be unblocked by notify_one/all on platforms without platform_wait()

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

[Bug ipa/108445] New: Address expression on global variable is not normalized

2023-01-18 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108445 Bug ID: 108445 Summary: Address expression on global variable is not normalized Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug target/108442] arm: MVE's vld1* and vst1* do not work when __ARM_MVE_PRESERVE_USER_NAMESPACE is defined

2023-01-18 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108442 --- Comment #1 from avieira at gcc dot gnu.org --- This fails equally for any vld1* vstr1* intrinsic.

[Bug target/108442] New: arm: MVE's vld1* and vst1* do not work when __ARM_MVE_PRESERVE_USER_NAMESPACE is defined

2023-01-18 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108442 Bug ID: 108442 Summary: arm: MVE's vld1* and vst1* do not work when __ARM_MVE_PRESERVE_USER_NAMESPACE is defined Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug middle-end/108441] [12.2] Maybe missed optimization: loading an 16-bit integer value from .rodata instead of an immediate store

2023-01-18 Thread 570070308 at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108441 --- Comment #1 from 。 <570070308 at qq dot com> --- When compiling with `-fno-tree-slp-vectorize`, it seems to be better: ``` kkk: movl$16, %eax movw%ax, ldap(%rip) ret ```

[Bug target/106022] [12 Regression] Enable vectorizer generates extra load

2023-01-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106022 Jakub Jelinek changed: What|Removed |Added CC||570070308 at qq dot com --- Comment

[Bug middle-end/108441] [12 Regression] Maybe missed optimization: loading an 16-bit integer value from .rodata instead of an immediate store

2023-01-18 Thread peter at cordes dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108441 --- Comment #4 from Peter Cordes --- This is already fixed in current trunk; sorry I forgot to check that before recommending to report this store-coalescing bug. # https://godbolt.org/z/j3MdWrcWM # GCC nightly -O3 (tune=generic) and GCC11

[Bug target/88570] Missing or ineffective vectorization of scatter load

2023-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88570 Richard Biener changed: What|Removed |Added Last reconfirmed||2023-01-18 CC|

[Bug target/108443] New: arm: MVE wrongly re-interprets predicate constants

2023-01-18 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108443 Bug ID: 108443 Summary: arm: MVE wrongly re-interprets predicate constants Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/108442] arm: MVE's vld1* and vst1* do not work when __ARM_MVE_PRESERVE_USER_NAMESPACE is defined

2023-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108442 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:f54e31ddefe3ea7146624eabcb75b1c90dc59f1a commit r13-5239-gf54e31ddefe3ea7146624eabcb75b1c90dc59f1a Author: Murray Steele Date:

[Bug tree-optimization/107608] [13 Regression] Failure on fold-overflow-1.c and pr95115.c

2023-01-18 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 --- Comment #36 from Aldy Hernandez --- Can we close this PR?

[Bug ipa/108445] Address expression on global variable is not normalized

2023-01-18 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108445 --- Comment #1 from Feng Xue --- Created attachment 54297 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54297=edit testcase

[Bug middle-end/108441] [12 Regression] Maybe missed optimization: loading an 16-bit integer value from .rodata instead of an immediate store

2023-01-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108441 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org

[Bug libquadmath/94756] strtoflt128 assigns some subnormals incorrectly on MS Windows

2023-01-18 Thread i.nixman at autistici dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94756 --- Comment #3 from niXman --- BTW, I have fixed it for x86_64-mingw32. trying to rebuild for i686-mingw32 for check.

[Bug middle-end/108410] x264 averaging loop not optimized well for avx512

2023-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108410 --- Comment #2 from Richard Biener --- The naiive masked epilogue (--param vect-partial-vector-usage=1 and support for whilesiult as in a prototype I have) then looks like leal-1(%rdx), %eax cmpl$62, %eax jbe

[Bug tree-optimization/108444] New: ICE: invalid address operand in mem_ref when LTO building 523.xalancbmk_r

2023-01-18 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108444 Bug ID: 108444 Summary: ICE: invalid address operand in mem_ref when LTO building 523.xalancbmk_r Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug target/107678] [13 Regression] Segfault in aarch64_fallback_frame_state when running SVE code

2023-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107678 --- Comment #8 from CVS Commits --- The master branch has been updated by Wilco Dijkstra : https://gcc.gnu.org/g:c98cd1df22fbe0829149e346a1ba9bf1f0be8a40 commit r13-5240-gc98cd1df22fbe0829149e346a1ba9bf1f0be8a40 Author: Wilco Dijkstra Date:

[Bug tree-optimization/107608] [13 Regression] Failure on fold-overflow-1.c and pr95115.c

2023-01-18 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 Aldy Hernandez changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/108440] rotate optimization may introduce new UB

2023-01-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108440 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c/47781] warnings from custom printf format specifiers

2023-01-18 Thread jan--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47781 Jan Wielemaker changed: What|Removed |Added CC||j...@swi-prolog.org --- Comment #27

[Bug libstdc++/106183] std::atomic::wait might fail to be unblocked by notify_one/all on platforms without platform_wait()

2023-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106183 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ed58809ea1a8ccc1829d830799d34aa51e51d39e commit r11-10472-ged58809ea1a8ccc1829d830799d34aa51e51d39e Author: Jonathan

[Bug target/108442] arm: MVE's vld1* and vst1* do not work when __ARM_MVE_PRESERVE_USER_NAMESPACE is defined

2023-01-18 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108442 --- Comment #3 from Richard Earnshaw --- https://gcc.gnu.org/pipermail/gcc-patches/2021-December/587296.html

[Bug target/108442] arm: MVE's vld1* and vst1* do not work when __ARM_MVE_PRESERVE_USER_NAMESPACE is defined

2023-01-18 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108442 --- Comment #5 from Richard Earnshaw --- Fixed on master. While this is not a regression, we should consider a backport.

[Bug tree-optimization/107608] [13 Regression] Failure on fold-overflow-1.c and pr95115.c

2023-01-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 --- Comment #37 from Jakub Jelinek --- I guess so. But we should look at the glibc math failures/PR106805.

[Bug tree-optimization/107608] [13 Regression] Failure on fold-overflow-1.c and pr95115.c

2023-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 --- Comment #39 from Richard Biener --- But I still see FAIL: gcc.dg/pr95115.c execution test as of r13-5237-gaaf29ae6cdbaad

[Bug tree-optimization/107608] [13 Regression] Failure on fold-overflow-1.c and pr95115.c

2023-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 --- Comment #41 from Richard Biener --- We could fix the testcase with diff --git a/gcc/testsuite/gcc.dg/pr95115.c b/gcc/testsuite/gcc.dg/pr95115.c index 69c4f83250c..09273e445d2 100644 --- a/gcc/testsuite/gcc.dg/pr95115.c +++

[Bug middle-end/108441] New: [12.2] Maybe missed optimization: loading an 16-bit integer value from .rodata instead of an immediate store

2023-01-18 Thread 570070308 at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108441 Bug ID: 108441 Summary: [12.2] Maybe missed optimization: loading an 16-bit integer value from .rodata instead of an immediate store Product: gcc Version:

[Bug c/47781] warnings from custom printf format specifiers

2023-01-18 Thread manu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47781 --- Comment #28 from Manuel López-Ibáñez --- (In reply to Jan Wielemaker from comment #27) > It is really a pity this can't be resolved :( We have quite a few > extensions in the SWI-Prolog source code, mostly for debug messages that > deal

[Bug tree-optimization/108440] rotate optimization may introduce new UB

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

[Bug middle-end/108410] x264 averaging loop not optimized well for avx512

2023-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108410 --- Comment #3 from Richard Biener --- the naiive "bad" code-gen produces size 512-masked 212.19 4 6.09 6 4.06 8 3.04 12 2.03 14 1.52 16 1.21 20 1.01 24 0.87 32 0.76 34 0.71 38

[Bug tree-optimization/107608] [13 Regression] Failure on fold-overflow-1.c and pr95115.c

2023-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 --- Comment #40 from Richard Biener --- (In reply to Richard Biener from comment #39) > But I still see > > FAIL: gcc.dg/pr95115.c execution test > > as of r13-5237-gaaf29ae6cdbaad That's removing the use of _3 = Inf / Inf; (probably

[Bug ipa/108445] [13 Regression] Address expression on global variable is not normalized

2023-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108445 Richard Biener changed: What|Removed |Added Keywords||lto Assignee|unassigned at

[Bug tree-optimization/108444] ICE: invalid address operand in mem_ref when LTO building 523.xalancbmk_r

2023-01-18 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108444 --- Comment #2 from Martin Jambor --- (In reply to Richard Biener from comment #1) > dup of PR108445? Looks like it is, Bugzilla search has failed me again (but I've never been good at it).

[Bug ipa/108445] [13 Regression] Address expression on global variable is not normalized

2023-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108445 --- Comment #4 from Richard Biener --- So if we have shared for 5. # DEBUG p => 7. _10 = MEM[(int *)]; then we'll effectively wrap the MEM[(int *)] which we didn't do before (and whether we do depends on the order of streaming the

[Bug ipa/108445] [13 Regression] Address expression on global variable is not normalized

2023-01-18 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108445 --- Comment #7 from Martin Jambor --- I can confirm that xalancbmk_r is LTO-buildable again too. Thanks.

[Bug gcov-profile/94369] 505.mcf_r is 6-7% slower at -Ofast -march=native with PGO+LTO than with just LTO

2023-01-18 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94369 Martin Jambor changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2023-01-18 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 94369, which changed state. Bug 94369 Summary: 505.mcf_r is 6-7% slower at -Ofast -march=native with PGO+LTO than with just LTO https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94369 What|Removed

[Bug ipa/108445] [13 Regression] Address expression on global variable is not normalized

2023-01-18 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108445 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug driver/97574] Allow for nul output with Windows

2023-01-18 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97574 Tamar Christina changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2023-01-18 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 108444, which changed state. Bug 108444 Summary: ICE: invalid address operand in mem_ref when LTO building 523.xalancbmk_r https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108444 What|Removed

[Bug c++/64758] [C++11] Give better error message when name of enum's base type cannot be resolved

2023-01-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64758 --- Comment #6 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #4) > For this code: > > enum class foo : bar { baz }; > auto x = foo::baz; > > We give: > > e.C:1:6: warning: elaborated-type-specifier for a scoped enum must

[Bug tree-optimization/108444] ICE: invalid address operand in mem_ref when LTO building 523.xalancbmk_r

2023-01-18 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108444 Martin Jambor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/105730] [12 Regression] Issue with commit - Allow std::condition_variable waits to be cancelled

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

[Bug ipa/94360] 6% run-time regression of 502.gcc_r against GCC 9 when compiled with -O2 and both PGO and LTO

2023-01-18 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94360 --- Comment #3 from Martin Jambor --- LNT can still see this, on the zen2 and zen3 machine at least: https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=700.337.0=711.337.0=740.337.0=694.337.0;

[Bug c++/108437] [13 Regression] ICE in build_min_non_dep_op_overload, at cp/tree.cc:3710

2023-01-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108437 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug middle-end/105469] [10/11/12/13 Regression] "execution reached an unreachable program point" with -flto since r5-7027-g0b986c6ac777aa4e

2023-01-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105469 --- Comment #17 from Jakub Jelinek --- (In reply to Jakub Jelinek from comment #16) > Can't reproduce the __builtin_unreachable on the trunk. With the https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105469#c5 testcase, that is. Haven't tried the

[Bug tree-optimization/108446] GCC fails to elide udiv/msub when doing modulus by select of constants

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

[Bug tree-optimization/101179] y % (x ? 16 : 4) and y % (4 << (2 * (bool)x)) produce different code

2023-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101179 Andrew Pinski changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org ---

[Bug ipa/94360] 6% run-time regression of 502.gcc_r against GCC 9 when compiled with -O2 and both PGO and LTO

2023-01-18 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94360 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/104125] 531.deepsjeng_r regressed on Zen2 CPUs at -Ofast -march=native (without LTO) during GCC 12 development

2023-01-18 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104125 --- Comment #5 from Martin Jambor --- This still exists but it is a zen2 oddity. The zen3, zen4 and cascade-lake machines I looked at this month don't exhibit this behavior (or at least I don't see an obvious regression).

[Bug analyzer/102471] RFE: add support to analyzer testsuite for running SAMATE/SARD tests (e.g. Juliet Test Suite)

2023-01-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102471 --- Comment #6 from David Malcolm --- I've created https://github.com/davidmalcolm/gcc-analyzer-integration-tests which builds Juliet plus various real-world C projects with a candidate build of GCC with -fanalyzer and captures the

[Bug tree-optimization/108444] ICE: invalid address operand in mem_ref when LTO building 523.xalancbmk_r

2023-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108444 --- Comment #1 from Richard Biener --- dup of PR108445?

[Bug libstdc++/105081] Make std::random_device throw std::system_error

2023-01-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105081 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ipa/107944] [11/12/13 Regression] ICE in cgraph_node::get_untransformed_body since r13-48-g27ee75dbe81bb7

2023-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107944 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:db959e250077ae6b4fc08f53fb322719582c5de6 commit r13-5243-gdb959e250077ae6b4fc08f53fb322719582c5de6 Author: Martin Jambor Date:

[Bug libstdc++/105730] [12 Regression] Issue with commit - Allow std::condition_variable waits to be cancelled

2023-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105730 --- Comment #15 from CVS Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:937b0f05910bd814459ba9af0972041514274cd7 commit r12-9051-g937b0f05910bd814459ba9af0972041514274cd7 Author: Jonathan

[Bug ipa/108445] [13 Regression] Address expression on global variable is not normalized

2023-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108445 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:d4abe5c456a3023f61c3e053255b7dd72ca0d7ec commit r13-5242-gd4abe5c456a3023f61c3e053255b7dd72ca0d7ec Author: Richard Biener Date:

[Bug ipa/108445] [13 Regression] Address expression on global variable is not normalized

2023-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108445 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/108446] New: GCC fails to elide udiv/msub when doing modulus by select of constants

2023-01-18 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108446 Bug ID: 108446 Summary: GCC fails to elide udiv/msub when doing modulus by select of constants Product: gcc Version: unknown Status: UNCONFIRMED Keywords:

[Bug target/105275] 525.x264_r and 538.imagick_r regressed on x86_64 at -O2 with PGO after r12-7319-g90d693bdc9d718

2023-01-18 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105275 Martin Jambor changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment

[Bug middle-end/105469] [10/11/12/13 Regression] "execution reached an unreachable program point" with -flto since r5-7027-g0b986c6ac777aa4e

2023-01-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105469 --- Comment #16 from Jakub Jelinek --- Can't reproduce the __builtin_unreachable on the trunk. Bisection shows that cc1plus -quiet -fsanitize=undefined -O3 -fwhole-program -fdump-tree-optimized pr105469.C; grep unreachable pr105469.C.* stopped

[Bug tree-optimization/100061] [10/11/12/13 Regression] Comparison guarding undefined behaviour disappears

2023-01-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100061 --- Comment #13 from Jakub Jelinek --- Martin, could you please have a look into this?

[Bug c++/108458] Incorrect detection of constexpr heap usage in non-constexpr context

2023-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108458 --- Comment #2 from Andrew Pinski --- Note GCC does implement consteval which allows for: static_assert([]() { if consteval { return std::vector{1, 2} == get_val(std::vector>{ {1, 2}, {3, 4}}); }

[Bug tree-optimization/107608] [13 Regression] Failure on fold-overflow-1.c and pr95115.c

2023-01-18 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 --- Comment #42 from Xi Ruoyao --- (In reply to Richard Biener from comment #41) > We could fix the testcase with > > diff --git a/gcc/testsuite/gcc.dg/pr95115.c b/gcc/testsuite/gcc.dg/pr95115.c > index 69c4f83250c..09273e445d2 100644 > ---

[Bug fortran/108369] FM509 Fails to compile with error

2023-01-18 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108369 --- Comment #15 from Jerry DeLisle --- Do we close this bug as invalid or do we need to adjustsomething?

[Bug libquadmath/94756] strtoflt128 assigns some subnormals incorrectly on MS Windows

2023-01-18 Thread i.nixman at autistici dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94756 --- Comment #11 from niXman --- Created attachment 54301 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54301=edit patch (In reply to niXman from comment #9) > although I think these two bugs have the same cause... right, it was the same

[Bug c++/95968] error: 'args#0' is not a constant expression

2023-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95968 Andrew Pinski changed: What|Removed |Added Keywords|rejects-valid | --- Comment #3 from Andrew Pinski ---

[Bug c++/104512] [c++20] consteval constructor does not need to initialize all data members

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

[Bug c++/55004] [meta-bug] constexpr issues

2023-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 104512, which changed state. Bug 104512 Summary: [c++20] consteval constructor does not need to initialize all data members https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104512 What|Removed

[Bug c++/106485] Can't use heap pointer in `static_assert`

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

[Bug c++/108458] Incorrect detection of constexpr heap usage in non-constexpr context

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

[Bug c++/106485] Can't use heap pointer in `static_assert`

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

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2023-01-18 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 104122, which changed state. Bug 104122 Summary: On Zen3, 510.parest_r (built with -Ofast) is faster with generic than with native ISA https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104122 What|Removed

[Bug target/104122] On Zen3, 510.parest_r (built with -Ofast) is faster with generic than with native ISA

2023-01-18 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104122 Martin Jambor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

  1   2   >