[Bug tree-optimization/113962] [14 Regression] ICE: in exact_div, at poly-int.h:2156 with -O -mavx512f

2024-02-19 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113962 --- Comment #3 from Zdenek Sojka --- (In reply to Andrew Pinski from comment #2) > Most likely a dup of bug 113967 I am sorry for the confusion; the bugzilla stopped responding while creating this PR for the first time, and since I there wasn't

[Bug tree-optimization/113964] [11/12/13/14/15 Regression] repeat copy of struct

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113964 Richard Biener changed: What|Removed |Added CC||jamborm at gcc dot gnu.org P

[Bug libstdc++/113060] std::variant converting constructor/assignment is non-conforming after P2280?

2024-02-19 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113060 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #4 from Jian

[Bug c/113973] Pleas issue a warning when using plain character values in bitwise operations

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113973 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/113976] [11/12/13/14 Regression] explicit instantiation of const variable template following implicit instantiation is assembled in .rodata instead of .bss since r8-2857-g2ec399d8a6c9c2

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113976 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/113962] [14 Regression] ICE: in exact_div, at poly-int.h:2156 with -O -mavx512f

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113962 Andrew Pinski changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug tree-optimization/113967] [14 Regression] ICE: in exact_div, at poly-int.h:2156 with -O -mavx512f since r14-3381

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113967 --- Comment #5 from Andrew Pinski --- *** Bug 113962 has been marked as a duplicate of this bug. ***

[Bug target/113978] Misoptimize for long vector load operation

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113978 Richard Biener changed: What|Removed |Added Keywords|ABI |missed-optimization Target

[Bug middle-end/113982] Poor codegen for 64-bit add with carry widening functions

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113982 --- Comment #4 from Richard Biener --- Confirmed for more pattern recog. Possibly documenting GCC recognized idoms for these kind of operations might be a nice thing to have.

[Bug c++/113987] [12/13/14 Regression] Binding a reference to an uninitialized data member should not cause -Wuninitialized

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113987 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c/113696] RISC-V: ineffective vsetvl behavior

2024-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113696 --- Comment #1 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:6082024891e421bfd81d8f708a7411f4019d0d97 commit r14-9060-g6082024891e421bfd81d8f708a7411f4019d0d97 Author: Juzhe-Zhong Date: Thu Feb 1

[Bug middle-end/113982] Poor codegen for 64-bit add with carry widening functions

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113982 --- Comment #5 from Jakub Jelinek --- With signed +- overflow not sure what exactly to pattern match, people can be really creative there. I guess w = (__int128) x + y; r = (long long) w; ovf = (w >> 64) != (w >> 63); or w = (__int128) x + y; r

[Bug c/113696] RISC-V: ineffective vsetvl behavior

2024-02-19 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113696 Li Pan changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/113967] [14 Regression] ICE: in exact_div, at poly-int.h:2156 with -O -mavx512f since r14-3381

2024-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113967 --- Comment #6 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:2bfdeca19d96239479488cd07b1e952d95a02f72 commit r14-9061-g2bfdeca19d96239479488cd07b1e952d95a02f72 Author: Jakub Jelinek Date: M

[Bug tree-optimization/113967] [14 Regression] ICE: in exact_div, at poly-int.h:2156 with -O -mavx512f since r14-3381

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113967 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/113060] std::variant converting constructor/assignment is non-conforming after P2280?

2024-02-19 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113060 --- Comment #5 from Jiang An --- Function pointers seem working (https://gcc.godbolt.org/z/Mbvfafdof). ``` template constexpr bool is_array_element_initializable_from = false; template constexpr bool is_array_element_initializable_from decltype

[Bug libstdc++/113060] std::variant converting constructor/assignment is non-conforming after P2280?

2024-02-19 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113060 --- Comment #6 from Jiang An --- (In reply to Jiang An from comment #5) > `decltype(std::declval > decltype(_Arr<_Ti>{{std::forward<_Tp>(__t)}})>(std::declval<_Tp>()))` Typo, this should be `decltype(std::declval decltype(_Arr<_Ti>{{std::forwa

[Bug testsuite/113278] analyzer tests relying on fileno() fail on arm-eabi

2024-02-19 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113278 Torbjorn SVENSSON changed: What|Removed |Added CC||azoff at gcc dot gnu.org

[Bug middle-end/54052] [11/12/13/14 Regression] g++ takes excessive time in opt and generate phase; can lead to Segmentation Fault when not enough memory available

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54052 --- Comment #11 from Richard Biener --- Btw, just as expected: Samples: 5M of event 'cycles:u', Event count (approx.): 8038399460939 Overhead Samples Command Shared Object Symbol 95.69% 56930

[Bug target/113981] risc-v: non-void C++ function with no return statement has no ret

2024-02-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113981 --- Comment #2 from Jonathan Wakely --- With -O0 or -fsanitize-trap=return you get a trap. With -fsanitize=return you get a UBsan error. With -O3 you asked the compiler to optimize the heck out of a function with undefined behaviour, what do you

[Bug c++/113988] New: during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread janschultke at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 Bug ID: 113988 Summary: during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470 Product: gcc Version: 14.0 Status: UNCONF

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-02-19 Status|UNCONFIRM

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread janschultke at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 --- Comment #2 from Jan Schultke --- Oh yeah, I should have noted that this only happens for AVX-512 targets. Changing -march=znver4 to -march=znver3 stops the ICE.

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 --- Comment #3 from Jakub Jelinek --- Ugh, types that can't be really supported used like that are toxic :(

[Bug middle-end/19779] IBM 128bit long double format is not constant folded.

2024-02-19 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19779 --- Comment #6 from Sergey Fedorov --- (In reply to Andrew Pinski from comment #0) > This is the new bug for PR 19405. Keeping track of that we no longer > constant fold long doubles in the > IBM 128bit long double format. What is the current s

[Bug middle-end/19779] IBM 128bit long double format is not constant folded.

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19779 --- Comment #7 from Jakub Jelinek --- Unlikely to be ever fixed, at least Linux has migrated to IEEE quad long double on powerpc64le.

[Bug libstdc++/113007] `std::variant` converting constructor and `operator=` compile while the C++ Standard says they must not

2024-02-19 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113007 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #8 from Jian

[Bug middle-end/19779] IBM 128bit long double format is not constant folded.

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19779 --- Comment #8 from Andrew Pinski --- (In reply to Sergey Fedorov from comment #6) > (In reply to Andrew Pinski from comment #0) > > This is the new bug for PR 19405. Keeping track of that we no longer > > constant fold long doubles in the > > I

[Bug middle-end/54052] [11/12/13/14 Regression] g++ takes excessive time in opt and generate phase; can lead to Segmentation Fault when not enough memory available

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54052 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug middle-end/19779] IBM 128bit long double format is not constant folded.

2024-02-19 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19779 --- Comment #9 from Iain Sandoe --- (In reply to Andrew Pinski from comment #8) > (In reply to Sergey Fedorov from comment #6) > > (In reply to Andrew Pinski from comment #0) > > > This is the new bug for PR 19405. Keeping track of that we no lon

[Bug middle-end/19779] IBM 128bit long double format is not constant folded.

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19779 --- Comment #10 from Jakub Jelinek --- (In reply to Iain Sandoe from comment #9) > (In reply to Andrew Pinski from comment #8) > > (In reply to Sergey Fedorov from comment #6) > > > (In reply to Andrew Pinski from comment #0) > > > > This is the

[Bug middle-end/54052] [11/12/13/14 Regression] g++ takes excessive time in opt and generate phase; can lead to Segmentation Fault when not enough memory available

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54052 --- Comment #13 from Richard Biener --- Btw, PR98863 was the last one triggering place_phis rewrite but I'm not sure what actual testcase Richard used. There's plenty of SPEC testers so the original reported WRF case will show up again. Unpatch

[Bug ada/113862] error: "others" choice not allowed here

2024-02-19 Thread charlet at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113862 Arnaud Charlet changed: What|Removed |Added CC||charlet at gcc dot gnu.org

[Bug target/113989] New: MinGW generates unaligned vmovdqa64

2024-02-19 Thread xjkp2283572185 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113989 Bug ID: 113989 Summary: MinGW generates unaligned vmovdqa64 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug ada/113972] ICE on container map for aggregate

2024-02-19 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
#1 from Eric Botcazou --- There is an assertion failure on mainline: +===GNAT BUG DETECTED==+ | 14.0.1 20240219 (experimental) [master r14-9059-ge42287eaed2] (x86_64-suse-linux) | | Assert_Failure failed precondition from einfo-entities.ads:218

[Bug ada/113979] [10/11/12/13/14 regression] bogus error on allocator for type with Dynamic_Predicate

2024-02-19 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113979 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ada/113979] [10/11/12/13/14 regression] bogus error on allocator for type with Dynamic_Predicate

2024-02-19 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113979 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/58258] cp_tree_equal and unknown symbol take up 70% of (astronomical) build time

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

[Bug rtl-optimization/60045] gcc.dg/atomic/c11-atomic-exec-[23].c compilation times out

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60045 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug ipa/60243] IPA is slow on large cgraph tree

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60243 Richard Biener changed: What|Removed |Added Last reconfirmed|2018-11-19 00:00:00 |2024-2-19 --- Comment #28 from Richard

[Bug middle-end/55135] Segfault of gcc on a big file

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55135 Richard Biener changed: What|Removed |Added Last reconfirmed|2020-09-28 00:00:00 |2024-2-19 --- Comment #33 from Richard

[Bug analyzer/113990] New: -Wanalyzer-malloc-leak false positive with [[gnu::malloc(free)]] and a realloc() wrapper

2024-02-19 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113990 Bug ID: 113990 Summary: -Wanalyzer-malloc-leak false positive with [[gnu::malloc(free)]] and a realloc() wrapper Product: gcc Version: 13.2.0 Status: UNCONFIRMED

[Bug rtl-optimization/60045] gcc.dg/atomic/c11-atomic-exec-[23].c compilation times out

2024-02-19 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60045 --- Comment #6 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #5 from Richard Biener --- > There was some recent fixes (in GCC 14) addressing scheduling related issues. > Do these testcases still pose problems? I've checked the 32-b

[Bug rtl-optimization/85072] g++ -O1 consumes all memory

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85072 Richard Biener changed: What|Removed |Added Last reconfirmed|2018-03-26 00:00:00 |2024-2-19 --- Comment #5 from Richard B

[Bug modula2/113889] Incorrect constant string value if declared in a definition module

2024-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113889 --- Comment #3 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:78b72ee5a80f45bd761a55006e2b3fc2cbe749bc commit r14-9063-g78b72ee5a80f45bd761a55006e2b3fc2cbe749bc Author: Gaius Mulley Date: Mon

[Bug modula2/113889] Incorrect constant string value if declared in a definition module

2024-02-19 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113889 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/113295] [14 Regression] SPEC 2006 416.gamess miscompares on Aarch64 when built with -Ofast -march=native -flto

2024-02-19 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113295 Tamar Christina changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/87218] Extremely long compile time with 710 line Fortran code using -O2

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87218 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.0 Status|NEW

[Bug middle-end/113991] New: [14 Regression] LTO miscompilation of vsftpd on s390x

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113991 Bug ID: 113991 Summary: [14 Regression] LTO miscompilation of vsftpd on s390x Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug middle-end/113991] [14 Regression] LTO miscompilation of vsftpd on s390x

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113991 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |14.0 Priority|P3

[Bug tree-optimization/91257] Compile-time and memory-hog hog

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91257 Richard Biener changed: What|Removed |Added Last reconfirmed|2019-07-25 00:00:00 |2024-2-19 --- Comment #16 from Richard

[Bug rtl-optimization/105747] Scheduler can take a long time on arm-linux sometimes

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105747 --- Comment #10 from Richard Biener --- There were some scheduling fixes for GCC 14, possibly time to re-evaluate.

[Bug middle-end/54052] [11/12/13/14 Regression] g++ takes excessive time in opt and generate phase; can lead to Segmentation Fault when not enough memory available

2024-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54052 --- Comment #14 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:c7151283dc747769d4ac4f216d8f519bda2569b5 commit r14-9064-gc7151283dc747769d4ac4f216d8f519bda2569b5 Author: Richard Biener Date:

[Bug rtl-optimization/108086] [11 Regression] internal compiler error: in set_accesses, at rtl-ssa/internals.inl:449

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108086 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Last reco

[Bug middle-end/54052] [11/12/13 Regression] g++ takes excessive time in opt and generate phase; can lead to Segmentation Fault when not enough memory available

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54052 Richard Biener changed: What|Removed |Added Summary|[11/12/13/14 Regression]|[11/12/13 Regression] g++

[Bug c/113992] New: in type_natural_mode

2024-02-19 Thread ujszhangc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113992 Bug ID: 113992 Summary: in type_natural_mode Product: gcc Version: 9.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unas

[Bug tree-optimization/109143] PTA compile-time hog with many calls

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109143 Richard Biener changed: What|Removed |Added Last reconfirmed|2023-03-15 00:00:00 |2024-2-19 --- Comment #7 from Richard

[Bug rtl-optimization/110528] selective scheduling seems to go into an infinite loop

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110528 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|2023-07-03 00:0

[Bug libgcc/113850] condition variables timed wait does a lot of spurious wakeups on Win32 threading implementation

2024-02-19 Thread jyong at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113850 jyong at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|-

[Bug tree-optimization/113993] New: ICE: in get_no_error_domain, at tree-call-cdce.cc:815 with __builtin_exp2f32x() at -O1 and above

2024-02-19 Thread zsojka at seznam dot cz via Gcc-bugs
r14-9059-20240219001746-ge42287eaed2-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240219 (experimental) (GCC)

[Bug libgcc/113337] Uncaught rethrown exceptions don't invoke std::terminate if SEH-based unwinding is used

2024-02-19 Thread jyong at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113337 jyong at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug target/113989] MinGW generates unaligned vmovdqa64

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113989 Richard Biener changed: What|Removed |Added Keywords||wrong-code --- Comment #1 from Richard

[Bug c/113992] in type_natural_mode

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113992 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 --- Comment #4 from Richard Biener --- I wonder if we should stop claiming those modes are "supported". Maybe instead of making them integer modes they should be OPAQUE_MODE or vector (integer) modes in the first place? There's bitwise_mode_fo

[Bug target/113989] MinGW generates unaligned vmovdqa64

2024-02-19 Thread xjkp2283572185 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113989 --- Comment #2 from 严 逍宇 --- (In reply to Richard Biener from comment #1) > does -mstackrealign make it work? It doesn't work. GDB shows that the address in rcx is still unaligned. (gdb) disassemble Dump of assembler code for function _Z1fx:

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 --- Comment #5 from Richard Biener --- Likely "caused" by upping MOVE_MAX and GIMPLE memcpy folding exposing this type by means of build_nonstandard_integer_type. We have from that D.5177 = MEM [(char * {ref-all})&x]; MEM [(char

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 --- Comment #6 from Richard Biener --- -mstore-max=128 -mmove-max=128 avoids it and we inline the memcpy as D.5177 = MEM <_BitInt(512)> [(char * {ref-all})&x]; MEM <_BitInt(512)> [(char * {ref-all})digits.0] = D.5177; using a _BitI

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 --- Comment #7 from Jakub Jelinek --- I think I can handle it like the VIEW_CONVERT_EXPR case, bet with _BitInt(511) it would actually be a VCE, but when it is same size BITINT_TYPE to INTEGER_TYPE we choose NOP_EXPR. That said, I think it would

[Bug middle-end/113991] [14 Regression] LTO miscompilation of vsftpd on s390x

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113991 --- Comment #2 from Jakub Jelinek --- Maybe it is a bug in the app (or kernel or glibc) though. Under the debugger, I see the value of %r7 is still &new_child at before the call at line 189: 189 new_child = vsf_sysutil_fork_isolate_f

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 --- Comment #8 from Richard Biener --- (In reply to Jakub Jelinek from comment #7) > I think I can handle it like the VIEW_CONVERT_EXPR case, bet with > _BitInt(511) it would actually be a VCE, but when it is same size > BITINT_TYPE to INTEGER_T

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 --- Comment #9 from Richard Biener --- (In reply to Richard Biener from comment #8) > (In reply to Jakub Jelinek from comment #7) > > I think I can handle it like the VIEW_CONVERT_EXPR case, bet with > > _BitInt(511) it would actually be a VCE,

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 --- Comment #10 from Jakub Jelinek --- (In reply to Richard Biener from comment #9) > (In reply to Richard Biener from comment #8) > > (In reply to Jakub Jelinek from comment #7) > > > I think I can handle it like the VIEW_CONVERT_EXPR case, bet

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 Jakub Jelinek changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 --- Comment #12 from rguenther at suse dot de --- On Mon, 19 Feb 2024, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 > > --- Comment #10 from Jakub Jelinek --- > (In reply to Richard Biener from comment

[Bug middle-end/113991] [14 Regression] LTO miscompilation of vsftpd on s390x

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113991 --- Comment #3 from Jakub Jelinek --- Actually it seems like a glibc bug to me, though what vsftpd is totally weird. Seems glibc clone on all arches always errors when the first or second argument is NULL and that is exactly what vsf_sysutil_for

[Bug middle-end/113991] [14 Regression] LTO miscompilation of vsftpd on s390x

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

[Bug c++/113994] New: Probable C++ code generation bug with -O2 on s390x platform

2024-02-19 Thread thierry at lelegard dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113994 Bug ID: 113994 Summary: Probable C++ code generation bug with -O2 on s390x platform Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/113476] [14 Regression] irange::maybe_resize leaks memory via IPA VRP

2024-02-19 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113476 --- Comment #6 from Martin Jambor --- I have proposed a patch on the mailing list that converts the array of lattices to a vector: https://inbox.sourceware.org/gcc-patches/ri6frxoxzpk@virgil.suse.cz/T/#u

[Bug c++/91911] Strange interaction between CTAD and decltype

2024-02-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91911 Patrick Palka changed: What|Removed |Added CC||omer.rosler at gmail dot com --- Comment

[Bug c++/99387] ICE when mixing CNTTP with deduction guides

2024-02-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99387 Patrick Palka changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug target/113995] New: ICE: in change_address_1, at emit-rtl.cc:2299 with [[arm::streaming_compatible]] and -march=armv9-a+sve -finstrument-functions -fstack-clash-protection

2024-02-19 Thread zsojka at seznam dot cz via Gcc-bugs
pported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240219 (experimental) (GCC)

[Bug ipa/113359] [13 Regression] LTO miscompilation of ceph on aarch64

2024-02-19 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113359 --- Comment #15 from Martin Jambor --- Created attachment 57462 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57462&action=edit Simple testcase (needs disabling early - and only early - SRA) This is a simpler testcase which exhibits the

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 --- Comment #13 from H.J. Lu --- (In reply to Jakub Jelinek from comment #11) > Though, bet that would mean we punt with -mavx -mno-avx2 on 32-byte copies, > because there we support just V8SFmode and not V32QImode. Punt AVX without AVX2 should

[Bug c++/94489] ICE: unexpected expression ‘std::min’ of kind overload

2024-02-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94489 --- Comment #5 from Patrick Palka --- If we change std::plus to std::plus{} in order to make the testcase valid, then we accept ever since the PR94490 fix. The comment #4 testcase can be further reduced to: template struct A; template A<__integ

[Bug c++/113976] [11/12/13/14 Regression] explicit instantiation of const variable template following implicit instantiation is assembled in .rodata instead of .bss since r8-2857-g2ec399d8a6c9c2

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113976 --- Comment #6 from Jakub Jelinek --- Testcase showing that it is just this case of implicit instantiation followed by explicit that is problematic: int foo () { return 42; } template const int a = foo (); const int *b = &a <0>; template const

[Bug ada/113996] New: ICE with LTO and full optimizations

2024-02-19 Thread jcmoyer32 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113996 Bug ID: 113996 Summary: ICE with LTO and full optimizations Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada

[Bug target/112787] Codegen regression of large GCC vector extensions when enabling SVE

2024-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112787 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by Andre Simoes Dias Vieira : https://gcc.gnu.org/g:35486d68fc5b67d1b85c56e3ba149ba71c576550 commit r13-8341-g35486d68fc5b67d1b85c56e3ba149ba71c576550 Author: Andr

[Bug target/79754] ICE in type_natural_mode with vector for DFP type

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79754 Andrew Pinski changed: What|Removed |Added CC||ujszhangc at gmail dot com --- Comment #

[Bug c/113992] in type_natural_mode

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113992 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |DUPLICATE --- Comment #2 from Andrew Pi

[Bug c++/113966] [14 Regression] Internal compiler error in `do_auto_deduction`

2024-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113966 --- Comment #8 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:3a6f3354eaaf38b5e6be41e4ebf521d299593a6e commit r14-9066-g3a6f3354eaaf38b5e6be41e4ebf521d299593a6e Author: Patrick Palka Date: M

[Bug c++/113966] [14 Regression] Internal compiler error in `do_auto_deduction`

2024-02-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113966 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Keywords|needs-reduc

[Bug fortran/113997] New: Bogus 'Warning: Interface mismatch in global procedure' with C binding

2024-02-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113997 Bug ID: 113997 Summary: Bogus 'Warning: Interface mismatch in global procedure' with C binding Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: diagnos

[Bug target/112787] Codegen regression of large GCC vector extensions when enabling SVE

2024-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112787 --- Comment #6 from GCC Commits --- The releases/gcc-12 branch has been updated by Andre Simoes Dias Vieira : https://gcc.gnu.org/g:e84c06f801fbf8376fe43719675a409f588f68bd commit r12-10165-ge84c06f801fbf8376fe43719675a409f588f68bd Author: And

[Bug libstdc++/66416] string::find_last_of 3.5 times slower than memrchr

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

[Bug c++/113976] [11/12/13/14 Regression] explicit instantiation of const variable template following implicit instantiation is assembled in .rodata instead of .bss since r8-2857-g2ec399d8a6c9c2

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113976 Jakub Jelinek changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug target/113989] MinGW generates unaligned vmovdqa64

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

[Bug target/49001] GCC uses VMOVAPS/PD AVX instructions to access stack variables that are not 32-byte aligned

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49001 Andrew Pinski changed: What|Removed |Added CC||xjkp2283572185 at gmail dot com --- Comm

[Bug target/113615] internal compiler error: in extract_insn, at recog.cc:2812

2024-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113615 --- Comment #10 from GCC Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:641b50bffc06123853a1421c0dd5a318c353fd85 commit r14-9068-g641b50bffc06123853a1421c0dd5a318c353fd85 Author: Thomas Schwinge Date

[Bug analyzer/113998] New: [14 Regression] ICE: in get_last_byte_offset, at analyzer/ranges.cc:171 with -fanalyzer and __builtin_strncpy()

2024-02-19 Thread zsojka at seznam dot cz via Gcc-bugs
stdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r14-9062-20240219114159-geb17bdc211a-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240219 (experimental) (GCC)

[Bug analyzer/113999] New: [14 Regression] ICE: in string_cst_has_null_terminator, at analyzer/region-model.cc:3651 with -fanalyzer on gcc.dg/tree-ssa/strncpy-2.c

2024-02-19 Thread zsojka at seznam dot cz via Gcc-bugs
inary-trunk-r14-9062-20240219114159-geb17bdc211a-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240219 (experimental) (GCC)

  1   2   >