[Bug c++/112619] [14 regression] ICE when building libcrafter (tree check: expected statement_list, have modify_expr in tsi_start, at tree-iterator.h:57) since r14-5086-gae07265381d934

2023-11-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112619 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:1c44bd92a86db3fcdeb4a66ce2f3222d13af0681 commit r14-5814-g1c44bd92a86db3fcdeb4a66ce2f3222d13af0681 Author: Jakub Jelinek Date:

[Bug debug/112674] [14 Regression] Compare-debug failure after recent change on c6x

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

[Bug tree-optimization/112690] [14 Regression] gcc.dg/Wstringop-overflow-17.c failure

2023-11-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112690 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug middle-end/112344] [14 Regression] Wrong code at -O2 on x86_64-pc-linux-gnu

2023-11-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112344 --- Comment #12 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:a7d82b45edeed99a850595eee0e59d16c4df7aff commit r14-5813-ga7d82b45edeed99a850595eee0e59d16c4df7aff Author: Richard Biener Date:

[Bug middle-end/112336] fsanitize=address vs _BitInt with a non-mode size (smaller than max mode size)

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112336 Andrew Pinski changed: What|Removed |Added CC||iamanonymous.cs at gmail dot com ---

[Bug target/112695] ICE: in gen_reg_rtx, at emit-rtl.cc:1208 with -fsanitize=address -c

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112695 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug middle-end/112336] fsanitize=address vs _BitInt with a non-mode size (smaller than max mode size)

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

[Bug target/112695] New: ICE: in gen_reg_rtx, at emit-rtl.cc:1208 with -fsanitize=address -c

2023-11-23 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112695 Bug ID: 112695 Summary: ICE: in gen_reg_rtx, at emit-rtl.cc:1208 with -fsanitize=address -c Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/112694] RISC-V: zve64d testing expose many ICE on C/C++ testing

2023-11-23 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112694 --- Comment #2 from JuzheZhong --- (In reply to Andrew Pinski from comment #1) > I am going to do a similar testing with -march=armv9-a+sve on aarch64 to see > if there is similar ones for the vectorizer. No, I think ARM SVE won't have those

[Bug tree-optimization/112694] RISC-V: zve64d testing expose many ICE on C/C++ testing

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112694 Andrew Pinski changed: What|Removed |Added Target||riscv --- Comment #1 from Andrew

[Bug c/112694] New: RISC-V: zve64d testing expose many ICE on C/C++ testing

2023-11-23 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112694 Bug ID: 112694 Summary: RISC-V: zve64d testing expose many ICE on C/C++ testing Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/112599] RISC-V regression testsuite errors with rv64gcv_zvl1024b

2023-11-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112599 --- Comment #4 from CVS Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:d83013b88b74d1f1f774d94ca950d3b6dba26e5d commit r14-5812-gd83013b88b74d1f1f774d94ca950d3b6dba26e5d Author: Juzhe-Zhong Date: Fri Nov

[Bug tree-optimization/111457] [14 Regression] Dead Code Elimination Regression since r14-3407-g936a12331a2

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111457 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #1 from

[Bug tree-optimization/111292] [14 Regression] Missed Dead Code Elimination since r14-2228-g02460c0b8c9

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111292 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #2 from

[Bug tree-optimization/111012] [14 Regression] Dead Code Elimination Regression at -O3 since r14-573-g69f1a8af45d

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111012 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #2 from

[Bug tree-optimization/111003] [14 Regression] Dead Code Elimination Regression at -O3 since r14-2161-g237e83e2158

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111003 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #3 from

[Bug tree-optimization/110942] [14 Regression] Dead Code Elimination Regression at -O3 since r14-1165-g257c2be7ff8

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110942 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #4 from

[Bug tree-optimization/110941] [14 Regression] Dead Code Elimination Regression at -O3 since r14-2379-gc496d15954c

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110941 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #3 from

[Bug tree-optimization/110841] [14 Regression] Dead Code Elimination Regression since r14-2675-gef28aadad6e

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110841 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #2 from

[Bug tree-optimization/110450] [14 Regression] Dead Code Elimination Regression at -O2 since r14-261-g0ef3756adf0

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110450 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #2 from

[Bug tree-optimization/110327] [12/13/14 Regression] Missed Dead Code Elimination when using __builtin_unreachable since r12-4790-g4b3a325f07a

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

[Bug tree-optimization/107823] [13/14 Regression] Dead Code Elimination Regression at -Os (trunk vs. 12.2.0)

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107823 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #5 from

[Bug target/112598] RISC-V regression testsuite errors with rv64gcv_zvl512b

2023-11-23 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112598 --- Comment #9 from Li Pan --- Before tracer - ENTRY | +---+ | B2 |

[Bug c++/107398] ICE in maybe_key_decl, at cp/module.cc:18834

2023-11-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107398 --- Comment #1 from CVS Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:cff1fa6625d1273fcfaf473e436ba918262d8afa commit r14-5810-gcff1fa6625d1273fcfaf473e436ba918262d8afa Author: Nathaniel Shead

[Bug target/96341] Support mixed element widths for AArch64 "omp declare simd" functions

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

[Bug tree-optimization/111796] OMP SIMD call vectorization fails for arguments subject to integer promotion rules

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111796 --- Comment #8 from Andrew Pinski --- (In reply to Richard Biener from comment #5) > On aarch64 I see > > t.c:5:1: warning: GCC does not currently support mixed size types for 'simd' > functions > 5 | foo (int a, short b) > | ^~~ >

[Bug target/112643] [14 regression] including x86intrin.h is broken for -march=native (which adds -mno-avx10.1-256 )

2023-11-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112643 --- Comment #27 from CVS Commits --- The master branch has been updated by Haochen Jiang : https://gcc.gnu.org/g:a1f8e65dee2d9e929cd083f36501d08bdc9c8072 commit r14-5809-ga1f8e65dee2d9e929cd083f36501d08bdc9c8072 Author: Haochen Jiang Date:

[Bug c++/108321] g++.dg/contracts/contracts-tmpl-spec2.C fails after r13-4160-g2efb237ffc68ec

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108321 Andrew Pinski changed: What|Removed |Added Target Milestone|13.0|--- Assignee|unassigned at

[Bug c++/108321] [13 regression] g++.dg/contracts/contracts-tmpl-spec2.C fails after r13-4160-g2efb237ffc68ec

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108321 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment

[Bug middle-end/112693] New: declare-simd-4.f90 fails on aarch64-linux-gnu

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112693 Bug ID: 112693 Summary: declare-simd-4.f90 fails on aarch64-linux-gnu Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: testsuite-fail Severity: normal

[Bug fortran/107071] gfortran.dg/ieee/modes_1.f90 fails on aarch64-linux

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107071 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2022-09-28 00:00:00 |2023-11-23 CC|

[Bug c++/98885] [modules] forward declaration of classes prevent them from being exported at the point of actual declaration

2023-11-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885 --- Comment #11 from CVS Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:d89903ff29473e6e64f032ecee5c72d1584546dc commit r14-5808-gd89903ff29473e6e64f032ecee5c72d1584546dc Author: Nathaniel Shead

[Bug middle-end/111156] [14 Regression] aarch64 aarch64/sve/mask_struct_store_4.c failures

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

[Bug sanitizer/112692] New: LSAN is not compatiable with qemu user

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112692 Bug ID: 112692 Summary: LSAN is not compatiable with qemu user Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: testsuite-fail Severity: normal

[Bug testsuite/112691] [14 Regression] gcc.dg/vla-1.c fails

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

[Bug testsuite/112691] [14 Regression] gcc.dg/vla-1.c fails

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112691 Andrew Pinski changed: What|Removed |Added CC||hubicka at gcc dot gnu.org Target

[Bug testsuite/112691] New: [14 Regression] gcc.dg/vla-1.c fails

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112691 Bug ID: 112691 Summary: [14 Regression] gcc.dg/vla-1.c fails Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: testsuite-fail Severity: normal

[Bug tree-optimization/112690] [14 Regression] gcc.dg/Wstringop-overflow-17.c failure

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

[Bug tree-optimization/112690] New: [14 Regression] gcc.dg/Wstringop-overflow-17.c failure

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112690 Bug ID: 112690 Summary: [14 Regression] gcc.dg/Wstringop-overflow-17.c failure Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: testsuite-fail Severity: normal

[Bug testsuite/112689] [14 Regression] gcc.dg/tree-prof/time-profiler-[237].c fail

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

[Bug testsuite/112689] New: [14 Regression] gcc.dg/tree-prof/time-profiler-[237].c fail

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112689 Bug ID: 112689 Summary: [14 Regression] gcc.dg/tree-prof/time-profiler-[237].c fail Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: testsuite-fail

[Bug testsuite/112688] [14 Regression] testcases: gcc.target/aarch64/movk.c and vmulxd_*_2.c need to updated after r14-5628-g53ba8d669550d3

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

[Bug testsuite/112688] [14 Regression] testcases: gcc.target/aarch64/movk.c and vmulxd_*_2.c need to updated after r14-5628-g53ba8d669550d3

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

[Bug testsuite/112688] [14 Regression] testcases: gcc.target/aarch64/movk.c and vmulxd_*_2.c need to updated after r14-5628-g53ba8d669550d3

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112688 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org ---

[Bug testsuite/112688] New: [14 Regression] testcases: gcc.target/aarch64/movk.c and vmulxd_*_2.c need to updated after r14-5628-g53ba8d669550d3

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112688 Bug ID: 112688 Summary: [14 Regression] testcases: gcc.target/aarch64/movk.c and vmulxd_*_2.c need to updated after r14-5628-g53ba8d669550d3 Product: gcc

[Bug jit/108762] Add support for target-dependent builtins in libgccjit

2023-11-23 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108762 Antoni changed: What|Removed |Added Attachment #54452|0 |1 is obsolete|

[Bug target/112675] [14 Regression] r14-5385-g0a140730c97087 caused regression on testcases for i386

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112675 Andrew Pinski changed: What|Removed |Added Severity|normal |blocker Priority|P3

[Bug fortran/111880] [11/12/13/14] False positive warning of obsolescent COMMON block with Fortran submodule

2023-11-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111880 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2023-11-23 Ever

[Bug tree-optimization/112677] [14 Regression] ASAN reports stack-buffer-overflow in tree-vect-loop.cc vect_is_simple_use when compiling with -mavx512

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

[Bug tree-optimization/112687] New: missed-optimization: switch statement does not simplify to it's expression

2023-11-23 Thread goon.pri.low at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112687 Bug ID: 112687 Summary: missed-optimization: switch statement does not simplify to it's expression Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity:

[Bug fortran/111880] [11/12/13/14] False positive warning of obsolescent COMMON block with Fortran submodule

2023-11-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111880 --- Comment #5 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #4) > Potential fix: Regtests ok.

[Bug target/112686] [14 Regression] ICE: in gen_reg_rtx, at emit-rtl.cc:1176 with -fsplit-stack -mcmodel=large

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

[Bug target/46089] ICE: in gen_reg_rtx, at emit-rtl.c:861 with -mcmodel=large -fsplit-stack

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46089 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.6.0

[Bug tree-optimization/112645] missed-optimization: cswitch optimization missed in nested if-statement

2023-11-23 Thread goon.pri.low at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112645 --- Comment #2 from gooncreeper --- I am going to move the second problem to it's own bug since I realize it actually quite a different problem, and deserves it's own thread of discussion.

[Bug target/112686] New: [14 Regression] ICE: in gen_reg_rtx, at emit-rtl.cc:1176 with -fsplit-stack -mcmodel=large

2023-11-23 Thread zsojka at seznam dot cz via Gcc-bugs
-r14-5791-20231123115417-g24592abd68e-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231123 (experimental) (GCC)

[Bug middle-end/112685] missed-optimization: division / modulo loops

2023-11-23 Thread goon.pri.low at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112685 --- Comment #2 from gooncreeper --- (In reply to Andrew Pinski from comment #1) > I thought I had saw this a while back. > > Note the Linux kernel does this kind of loop explicity to avoid the division > though as the cases where it does is

[Bug middle-end/112683] Optimizing memcpy range by extending to word bounds

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112683 Andrew Pinski changed: What|Removed |Added Component|target |middle-end --- Comment #1 from Andrew

[Bug fortran/111880] [11/12/13/14] False positive warning of obsolescent COMMON block with Fortran submodule

2023-11-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111880 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug middle-end/112685] missed-optimization: division / modulo loops

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112685 --- Comment #1 from Andrew Pinski --- I thought I had saw this a while back. Note the Linux kernel does this kind of loop explicity to avoid the division though as the cases where it does is known to be only a few iterations (1 or 2) to get

[Bug middle-end/112685] missed-optimization: division / modulo loops

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112685 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug middle-end/112685] New: missed-optimization: division / modulo loops

2023-11-23 Thread goon.pri.low at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112685 Bug ID: 112685 Summary: missed-optimization: division / modulo loops Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/112609] [F2023] Restrictions on integer arguments to SYSTEM_CLOCK

2023-11-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112609 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug target/112681] [14 Regression] ICE: in extract_insn, at recog.cc:2804 (unrecognizable insn) with -O2 -mfma -mno-sse4.2 and memcmp() since r14-5747

2023-11-23 Thread manuel.lauss at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112681 --- Comment #7 from Manuel Lauss --- (In reply to Jakub Jelinek from comment #6) > Created attachment 56676 [details] > gcc14-pr112681.patch > > Full untested patch. Fixes all ICEs I've seen today. Thank you!

[Bug middle-end/32667] block copy with exact overlap is expanded as memcpy

2023-11-23 Thread bugdal at aerifal dot cx via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667 --- Comment #44 from Rich Felker --- My naive expectation is that "if ((uintptr_t)src == 0x400400)" is and should be UB, but I may be misremembering the details of the formalism by which the spec for restrict is implemented. If so, that's kinda

[Bug other/112684] New: ICE: in main, at toplev.cc:2327 with -ftarget-help -fdiagnostics-generate-patch

2023-11-23 Thread zsojka at seznam dot cz via Gcc-bugs
-r14-5791-20231123115417-g24592abd68e-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231123 (experimental) (GCC)

[Bug target/112672] [14 Regression] wrong code with __builtin_parityl() at -O and above on x86_64

2023-11-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112672 --- Comment #6 from CVS Commits --- The releases/gcc-13 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:d035b57d51167af805ccc91ee0492c8b27e22184 commit r13-8092-gd035b57d51167af805ccc91ee0492c8b27e22184 Author: Uros Bizjak

[Bug target/112681] [14 Regression] ICE: in extract_insn, at recog.cc:2804 (unrecognizable insn) with -O2 -mfma -mno-sse4.2 and memcmp() since r14-5747

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

[Bug target/112681] [14 Regression] ICE: in extract_insn, at recog.cc:2804 (unrecognizable insn) with -O2 -mfma -mno-sse4.2 and memcmp() since r14-5747

2023-11-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112681 --- Comment #5 from Jakub Jelinek --- Or maybe better --- gcc/config/i386/i386-expand.cc.jj 2023-11-21 09:31:35.792395304 +0100 +++ gcc/config/i386/i386-expand.cc 2023-11-23 20:57:57.128721762 +0100 @@ -2453,7 +2453,8 @@

[Bug target/112681] [14 Regression] ICE: in extract_insn, at recog.cc:2804 (unrecognizable insn) with -O2 -mfma -mno-sse4.2 and memcmp() since r14-5747

2023-11-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112681 --- Comment #4 from Jakub Jelinek --- Flags can be just -O2 -msse4.1 -mno-sse4.2 as well or even -O2 -msse4.2 -mno-avx. --- gcc/config/i386/i386-expand.cc.jj 2023-11-21 09:31:35.792395304 +0100 +++ gcc/config/i386/i386-expand.cc

[Bug target/112681] [14 Regression] ICE: in extract_insn, at recog.cc:2804 (unrecognizable insn) with -O2 -mfma -mno-sse4.2 and memcmp() since r14-5747

2023-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112681 Andrew Pinski changed: What|Removed |Added CC||manuel.lauss at googlemail dot com

[Bug target/112676] [14 regression] ICE in extract_insn, at recog.cc:2804

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

[Bug target/112676] [14 regression] ICE in extract_insn, at recog.cc:2804

2023-11-23 Thread manuel.lauss at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112676 --- Comment #2 from Manuel Lauss --- I think PR112681 is the same issue.

[Bug target/112681] [14 Regression] ICE: in extract_insn, at recog.cc:2804 (unrecognizable insn) with -O2 -mfma -mno-sse4.2 and memcmp() since r14-5747

2023-11-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112681 --- Comment #2 from Jakub Jelinek --- Doesn't need the virtual method nor C++: struct S { void *c; char d[16]; } a, b; int foo (void) { return __builtin_memcmp (a.d, b.d, sizeof (a.d)) != 0; }

[Bug target/112681] [14 Regression] ICE: in extract_insn, at recog.cc:2804 (unrecognizable insn) with -O2 -mfma -mno-sse4.2 and memcmp() since r14-5747

2023-11-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112681 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Summary|[14 Regression]

[Bug middle-end/32667] block copy with exact overlap is expanded as memcpy

2023-11-23 Thread post+gcc at ralfj dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667 --- Comment #43 from post+gcc at ralfj dot de --- That is not my reading of the standard, but absent a proper (formal, mathematical) spec I guess it is hard to tell. With your reading, "if ((uintptr_t)src == 0x400400)" is UB, since changing the

[Bug middle-end/32667] block copy with exact overlap is expanded as memcpy

2023-11-23 Thread bugdal at aerifal dot cx via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667 --- Comment #42 from Rich Felker --- > I'm not saying that such an implementation will be a good idea, but just a > remark: You could, in fact, keep restrict for the arguments in this case, > because the object pointed to by src and dest is

[Bug target/112643] [14 regression] including x86intrin.h is broken for -march=native (which adds -mno-avx10.1-256 )

2023-11-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112643 --- Comment #26 from anlauf at gcc dot gnu.org --- (In reply to Urs Janßen from comment #25) > (In reply to Haochen Jiang from comment #24) > > Patch aims to fix that: > > > > https://gcc.gnu.org/pipermail/gcc-patches/2023-November/637865.html

[Bug fortran/104819] Reject NULL without MOLD as actual to an assumed-rank dummy

2023-11-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104819 --- Comment #8 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:7646b5d88056cf269ff555afe95bc361dcf5e5c0 commit r14-5798-g7646b5d88056cf269ff555afe95bc361dcf5e5c0 Author: Harald Anlauf Date:

[Bug fortran/112609] [F2023] Restrictions on integer arguments to SYSTEM_CLOCK

2023-11-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112609 --- Comment #2 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:0c2ecfd4a29161d6c2bd3a83335387f42ff38ffe commit r14-5797-g0c2ecfd4a29161d6c2bd3a83335387f42ff38ffe Author: Harald Anlauf Date:

[Bug target/86772] [meta-bug] tracking port status for CVE-2017-5753

2023-11-23 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86772 Bug 86772 depends on bug 86776, which changed state. Bug 86776 Summary: Avr port needs updating for CVE-2017-5753 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86776 What|Removed |Added

[Bug target/86776] Avr port needs updating for CVE-2017-5753

2023-11-23 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86776 Georg-Johann Lay changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug target/86776] Avr port needs updating for CVE-2017-5753

2023-11-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86776 --- Comment #2 from CVS Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:9a3c40af7f7dd218cc2ebaa3a70f3317f7316ceb commit r14-5796-g9a3c40af7f7dd218cc2ebaa3a70f3317f7316ceb Author: Georg-Johann Lay

[Bug libstdc++/111055] [C++23] Implement P1206R7, Conversions from ranges to containers

2023-11-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111055 Jonathan Wakely changed: What|Removed |Added Assignee|redi at gcc dot gnu.org|unassigned at gcc dot gnu.org

[Bug libstdc++/111055] [C++23] Implement P1206R7, Conversions from ranges to containers

2023-11-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111055 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:7a6a29c455e7755b501c0006e39beb4e56ec2729 commit r14-5794-g7a6a29c455e7755b501c0006e39beb4e56ec2729 Author: Jonathan Wakely

[Bug tree-optimization/112673] [14 Regression] ICE verify_gimple failed since r14-5557-g6dd4c703be17fa

2023-11-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112673 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/112673] [14 Regression] ICE verify_gimple failed since r14-5557-g6dd4c703be17fa

2023-11-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112673 Jakub Jelinek changed: What|Removed |Added CC|jakub at redhat dot com|jakub at gcc dot gnu.org ---

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

2023-11-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111641 Jonathan Wakely changed: What|Removed |Added Host|hppa*-*-linux*, | |*-*-solaris2.11

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

2023-11-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111641 Jonathan Wakely changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment

[Bug libstdc++/112541] FAIL: 19_diagnostics/stacktrace/current.cc

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

[Bug c++/112666] Missed optimization: Value initialization zero-initializes members with user-defined constructor

2023-11-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112666 Sam James changed: What|Removed |Added Resolution|FIXED |INVALID

[Bug middle-end/112679] ICE in expand_float, at optabs.cc:5724 with bitint

2023-11-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112679 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug c++/112666] Missed optimization: Value initialization zero-initializes members with user-defined constructor

2023-11-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112666 --- Comment #5 from Jonathan Wakely --- (In reply to Francisco Paisana from comment #4) > One last thing, I might have misread this as well. > > > "Zero-initialization is performed in the following situations: > > ... > > 2) As part of

[Bug c++/112666] Missed optimization: Value initialization zero-initializes members with user-defined constructor

2023-11-23 Thread paisanafc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112666 --- Comment #4 from Francisco Paisana --- One last thing, I might have misread this as well. > "Zero-initialization is performed in the following situations: > ... > 2) As part of value-initialization sequence [...] for members of >

[Bug middle-end/32667] block copy with exact overlap is expanded as memcpy

2023-11-23 Thread post+gcc at ralfj dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667 --- Comment #41 from post+gcc at ralfj dot de --- > This entitles a compiler to emit asm equivalent to if (src==dest) system("rm > -rf /") if it likes. No it does not. restrict causes UB if the two pointers are used to access the same memory.

[Bug target/89316] ICE with -mforce-indirect-call and -fsplit-stack

2023-11-23 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89316 Uroš Bizjak changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug target/112672] [14 Regression] wrong code with __builtin_parityl() at -O and above on x86_64

2023-11-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112672 --- Comment #5 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:b2d17bdd45b582b93e89c00b04763a45f97d7a34 commit r14-5785-gb2d17bdd45b582b93e89c00b04763a45f97d7a34 Author: Uros Bizjak Date: Thu

[Bug middle-end/112653] PTA should handle correctly escape information of values returned by a function

2023-11-23 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112653 --- Comment #7 from Jan Hubicka --- Thanks for explanation. I think it is quite common pattern that new object is construted and worked on and later returned, so I think we ought to handle this correctly. Another example just came up in

[Bug target/89316] ICE with -mforce-indirect-call and -fsplit-stack

2023-11-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89316 --- Comment #15 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:2f3f8952ff1736dd6a087ddb4106077db3502bb9 commit r14-5784-g2f3f8952ff1736dd6a087ddb4106077db3502bb9 Author: Uros Bizjak Date: Thu

[Bug c++/112666] Missed optimization: Value initialization zero-initializes members with user-defined constructor

2023-11-23 Thread paisanafc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112666 Francisco Paisana changed: What|Removed |Added Resolution|--- |FIXED

[Bug c++/112680] g++-13 segfault on std::regex_match with c++11 or above -O2 and lto

2023-11-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112680 Jonathan Wakely changed: What|Removed |Added Blocks||102445 --- Comment #2 from Jonathan

  1   2   >