[Bug fortran/110360] ABI issue with character,value dummy argument

2023-06-23 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110360 --- Comment #8 from Mikael Morin --- (In reply to anlauf from comment #6) > (In reply to Mikael Morin from comment #4) > > > Looks good. > > I would suggest to create an overload that avoids duplicating the > > build_int_cst (integer_type_node,

[Bug target/78904] zero-extracts are not effective

2023-06-23 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78904 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com --- Com

[Bug target/110273] [12/13/14 Regression] i686-w64-mingw32 with -mavx512f generates AVX instructions without stack alignment

2023-06-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.4

[Bug target/109780] [12/13/14 Regression] csmith: runtime crash with -O2 -march=znver1

2023-06-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109780 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.4

[Bug c++/110102] [13 regression] initializer_list ctors of containers skip Allocator_traits::construct, copies move-only type

2023-06-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110102 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.2

[Bug tree-optimization/110280] [13/14 Regression] internal compiler error: in const_unop, at fold-const.cc:1884

2023-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110280 --- Comment #12 from CVS Commits --- The master branch has been updated by Prathamesh Kulkarni : https://gcc.gnu.org/g:85d8e0d8d5342ec8b4e6a54e22741c30b33c6f04 commit r14-2044-g85d8e0d8d5342ec8b4e6a54e22741c30b33c6f04 Author: Prathamesh Kulkar

[Bug c++/96117] Cannot mix c++11-style and GCC-style attributes on struct in one specific location

2023-06-23 Thread steveire at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96117 Stephen changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug ipa/109983] [12/13 regression] Wireshark compilation hangs with -O2 -fipa-pta

2023-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109983 --- Comment #17 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:a737da4885b7038fdd7d6646deaa1644efff2257 commit r13-7466-ga737da4885b7038fdd7d6646deaa1644efff2257 Author: Richard Biene

[Bug middle-end/110055] [13 Regression] Dangling pointer warning inside std::vector on RISC-V

2023-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110055 --- Comment #11 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:b0856bb588c76e16a518b459a8c9a012dc2b4e21 commit r13-7467-gb0856bb588c76e16a518b459a8c9a012dc2b4e21 Author: Richard Biene

[Bug tree-optimization/110298] [10/11/12/13 Regression] ICE at -Os on x86_64-linux-gnu since r10-840

2023-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110298 --- Comment #6 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:9da2ef362fa8dc54df26c704a38dda40baee3ce9 commit r13-7469-g9da2ef362fa8dc54df26c704a38dda40baee3ce9 Author: Richard Biener

[Bug c++/110295] [10/11/12/13 Regression] ICE in dwarf2out_finish with local class with inherited operator delete in a templated function and -g

2023-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110295 --- Comment #6 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:0b69fea6cf12d82f82439f26527ef8721e24411e commit r13-7468-g0b69fea6cf12d82f82439f26527ef8721e24411e Author: Richard Biener

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

2023-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109143 --- Comment #5 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:a737da4885b7038fdd7d6646deaa1644efff2257 commit r13-7466-ga737da4885b7038fdd7d6646deaa1644efff2257 Author: Richard Biener

[Bug middle-end/104077] [meta-bug] bogus/missing -Wdangling-pointer

2023-06-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104077 Bug 104077 depends on bug 110055, which changed state. Bug 110055 Summary: [13 Regression] Dangling pointer warning inside std::vector on RISC-V https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110055 What|Removed

[Bug middle-end/110055] [13 Regression] Dangling pointer warning inside std::vector on RISC-V

2023-06-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110055 Richard Biener changed: What|Removed |Added Known to fail||13.1.0 Known to work|

[Bug ipa/110334] [13/14 Regresssion] unused functions not eliminated before LTO streaming

2023-06-23 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110334 --- Comment #6 from Jan Hubicka --- Comdats are really in conflict with the fact that we have command line options. I blame C++ standard for that and I don't think there is fully satisfactory solution to this problem. I was playing with the ide

[Bug c/110374] New: slightly incorrect warning text "ISO C forbids forward parameter declarations"

2023-06-23 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110374 Bug ID: 110374 Summary: slightly incorrect warning text "ISO C forbids forward parameter declarations" Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug ipa/110334] [13/14 Regresssion] unused functions not eliminated before LTO streaming

2023-06-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110334 --- Comment #7 from Richard Biener --- (In reply to Jan Hubicka from comment #6) > Comdats are really in conflict with the fact that we have command line > options. I blame C++ standard for that and I don't think there is fully > satisfactory so

[Bug tree-optimization/110182] [11/12 Regression] Vector(2) cast from double to float and back and subtraction seems to produce incorrect results

2023-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110182 --- Comment #7 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:f06f1b4102b1c6965ad6b1da0094d6de5c3a2940 commit r12-9722-gf06f1b4102b1c6965ad6b1da0094d6de5c3a2940 Author: Richard Biener

[Bug tree-optimization/110298] [10/11/12 Regression] ICE at -Os on x86_64-linux-gnu since r10-840

2023-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110298 --- Comment #7 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:c409f2a1cc5d5bffe2fb93454924ae402c57f8f6 commit r12-9723-gc409f2a1cc5d5bffe2fb93454924ae402c57f8f6 Author: Richard Biener

[Bug libstdc++/105178] [11 Regression] g++ incorrectly reports invalid use of incomplete type

2023-06-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105178 Jonathan Wakely changed: What|Removed |Added Known to fail||11.3.0 Known to work|

[Bug testsuite/66005] libgomp make check time is excessive

2023-06-23 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66005 --- Comment #21 from Thomas Schwinge --- Jakub, given that 'libgomp is usually the “long tail” of [...] testing' (GCC IRC, 2023-06-05), Iain has asked that I backport to release branches the changes implemented here: - commit r14-854-ge797db5c

[Bug middle-end/110375] New: -ftrivial-auto-var-init=zero issues with pointers to data members

2023-06-23 Thread dangelog at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110375 Bug ID: 110375 Summary: -ftrivial-auto-var-init=zero issues with pointers to data members Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/104242] [12 Regression] Class with constructor from std::any is not copyable

2023-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104242 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5fc6b3a03355e1f77a7c38c0fa7afb0822ad954f commit r11-10870-g5fc6b3a03355e1f77a7c38c0fa7afb0822ad954f Author: Jonathan Wak

[Bug libstdc++/105178] [11 Regression] g++ incorrectly reports invalid use of incomplete type

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

[Bug libstdc++/97841] [C++17] is_invocable handling of incomplete return type is wrong

2023-06-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97841 Jonathan Wakely changed: What|Removed |Added Target Milestone|11.5|---

[Bug ipa/110334] [13/14 Regresssion] unused functions not eliminated before LTO streaming

2023-06-23 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110334 --- Comment #8 from Jan Hubicka --- > > I was playing with the idea of warning when at lto time when comdats have > > different command line options, but this triggers way too often in practice. > > Really? :/ Yep, for example firefox consist o

[Bug ipa/110334] [13/14 Regresssion] unused functions not eliminated before LTO streaming

2023-06-23 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110334 --- Comment #9 from Jan Hubicka --- Just so it is somewhere, here is a testcase that we can't inline leaf functions to always_inlines unless we do some tracking of what calls were formerly indirect calls. We really overloaded always_inline from

Re: [Bug ipa/110334] [13/14 Regresssion] unused functions not eliminated before LTO streaming

2023-06-23 Thread Jan Hubicka via Gcc-bugs
Just so it is somewhere, here is a testcase that we can't inline leaf functions to always_inlines unless we do some tracking of what calls were formerly indirect calls. We really overloaded always_inline from the original semantics "drop inlining heuristics" into "be sure that result is inlined" w

[Bug libstdc++/106067] [11/12/13/14 Regression] Error on implicit conversion to std::function: 'static constexpr bool std::_Function_handler<...>...' used before its definition

2023-06-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106067 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Ever confirmed|0

[Bug c++/68495] Error when expanding nontype variadic argument in trailing return type

2023-06-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68495 Patrick Palka changed: What|Removed |Added CC||vittorio.romeo at outlook dot com --- C

[Bug c++/80242] [C++17+] "Trailing return types" with "non-type template arguments" which could be "constant expressions" produce a parsing error

2023-06-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80242 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug testsuite/66005] libgomp make check time is excessive

2023-06-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66005 --- Comment #22 from Jakub Jelinek --- Ok, but please do it sooner than later, so there is enough time before 13.2rc to note potential issues on the branch.

[Bug target/54089] [SH] Refactor shift patterns

2023-06-23 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54089 --- Comment #94 from Segher Boessenkool --- (In reply to Alexander Klepikov from comment #92) > I remembered why I used two different insns - first to eliminate infinite > loop with help of marking insn with attribute, and second because I could

[Bug target/106971] ICE in aarch64_init_ls64_builtins_types, at config/aarch64/aarch64-builtins.cc:1856

2023-06-23 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106971 Alex Coplan changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug rtl-optimization/109009] Shrink Wrap missed opportunity

2023-06-23 Thread jskumari at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109009 --- Comment #8 from Surya Kumari Jangala --- (In reply to Surya Kumari Jangala from comment #7) > There are a couple of issues in IRA: > > 1. In improve_allocation() routine, we are not considering save/restore cost > of using a callee save reg

[Bug modula2/110284] [14 Regression] Bootstrap failures with m2

2023-06-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110284 --- Comment #12 from Gaius Mulley --- Created attachment 55391 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55391&action=edit Proposed fix (addendum) I wonder whether this modification to Jakub's patch might help? m2/gm2-compiler-boot/

[Bug c/110376] New: Wrong code at -O1 on x86_64-linux-gnu

2023-06-23 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110376 Bug ID: 110376 Summary: Wrong code at -O1 on x86_64-linux-gnu Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/109689] [14 Regression] ICE at -O1 with "-ftree-vectorize": in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:645 since r14-301-gf2d6beb7a4ddf1

2023-06-23 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109689 --- Comment #8 from Jan Hubicka --- An easy way would be to avoid unlooping if tree_ssa_loop_ch is executed in loop closed ssa (which happens from ch_vect pass). I wonder how hard would be however to get this right? I think this means to take t

[Bug target/105325] power10: Error: operand out of range

2023-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105325 --- Comment #17 from CVS Commits --- The master branch has been updated by Michael Meissner : https://gcc.gnu.org/g:370de1488a9a49956c47e5ec8c8f1489b4314a34 commit r14-2049-g370de1488a9a49956c47e5ec8c8f1489b4314a34 Author: Michael Meissner Da

[Bug middle-end/110377] New: Early VRP and IPA-PROP should work out value ranges from __builtin_unreacahble

2023-06-23 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110377 Bug ID: 110377 Summary: Early VRP and IPA-PROP should work out value ranges from __builtin_unreacahble Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severit

[Bug libstdc++/110287] _M_check_len is expensive

2023-06-23 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110287 Bug 110287 depends on bug 110289, which changed state. Bug 110289 Summary: Phiprop may be good idea in early opts https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110289 What|Removed |Added

[Bug tree-optimization/110289] Phiprop may be good idea in early opts

2023-06-23 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110289 Jan Hubicka changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug libstdc++/84110] Null character in regex throws std::regex_error

2023-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84110 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:d877bf3bdf46b5c996505fc247d170e79fbfa4bf commit r10-11461-gd877bf3bdf46b5c996505fc247d170e79fbfa4bf Author: Jonathan Wake

[Bug libstdc++/103664] std::regex_replace bug if the string contains \0

2023-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103664 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:364cb498c472790e14561f7672dc5ab4a987 commit r10-11462-g364cb498c472790e14561f7672dc5ab4a987 Author: Jonathan Wak

[Bug libstdc++/106607] Regex integer overflow on large backreference value

2023-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106607 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:fab3692a2cf961b7364d7f77dd976ba0e4f752b7 commit r10-11467-gfab3692a2cf961b7364d7f77dd976ba0e4f752b7 Author: Jonathan Wak

[Bug libstdc++/102447] std::regex incorrectly accepts invalid bracket expression

2023-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102447 --- Comment #13 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:4c347b8d59958d5aa76c5fdcecd72478e08c5aa3 commit r10-11465-g4c347b8d59958d5aa76c5fdcecd72478e08c5aa3 Author: Jonathan Wa

[Bug libstdc++/94540] stack overflow populating std::vector

2023-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94540 --- Comment #3 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:7dba69b5e9977408921c635681a0daa34b813e16 commit r10-11468-g7dba69b5e9977408921c635681a0daa34b813e16 Author: Jonathan Wake

[Bug libstdc++/108118] std::weak_ptr lacks a self-usurp check on move

2023-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108118 --- Comment #10 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:b272bc0fbf84454cae8c02e7404cfb23641380cd commit r10-11469-gb272bc0fbf84454cae8c02e7404cfb23641380cd Author: Jonathan Wa

[Bug middle-end/110378] New: SRA for destructors

2023-06-23 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110378 Bug ID: 110378 Summary: SRA for destructors Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assig

[Bug middle-end/110378] SRA for destructors

2023-06-23 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110378 Jan Hubicka changed: What|Removed |Added Blocks||109849 --- Comment #1 from Jan Hubicka -

[Bug libstdc++/84110] Null character in regex throws std::regex_error

2023-06-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84110 Jonathan Wakely changed: What|Removed |Added Target Milestone|11.4|10.5 --- Comment #8 from Jonathan Wake

[Bug libstdc++/103664] std::regex_replace bug if the string contains \0

2023-06-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103664 Jonathan Wakely changed: What|Removed |Added Target Milestone|11.4|10.5 --- Comment #9 from Jonathan Wak

[Bug libstdc++/102447] std::regex incorrectly accepts invalid bracket expression

2023-06-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102447 Jonathan Wakely changed: What|Removed |Added Target Milestone|11.4|10.5 --- Comment #14 from Jonathan Wa

[Bug libstdc++/106607] Regex integer overflow on large backreference value

2023-06-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106607 Jonathan Wakely changed: What|Removed |Added Target Milestone|11.4|10.5 --- Comment #6 from Jonathan Wak

[Bug libstdc++/94540] stack overflow populating std::vector

2023-06-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94540 Jonathan Wakely changed: What|Removed |Added Target Milestone|11.0|10.5 --- Comment #4 from Jonathan Wake

[Bug libstdc++/108118] std::weak_ptr lacks a self-usurp check on move

2023-06-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108118 Jonathan Wakely changed: What|Removed |Added Target Milestone|11.4|10.5 --- Comment #11 from Jonathan Wa

[Bug fortran/110360] ABI issue with character,value dummy argument

2023-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110360 --- Comment #9 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:d130ae8499e0c615e1636258d6901372316dfd93 commit r14-2050-gd130ae8499e0c615e1636258d6901372316dfd93 Author: Harald Anlauf Date: T

[Bug c++/109247] [13/14 Regression] optional o; o = {x}; wants to use explicit optional(U) constructor since r13-6765-ga226590fefb35ed6

2023-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109247 --- Comment #18 from CVS Commits --- The releases/gcc-13 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:dc7f1bfbe5999e4639cf3f3afe70043b49352fdf commit r13-7470-gdc7f1bfbe5999e4639cf3f3afe70043b49352fdf Author: Jason Merrill

[Bug c++/110102] [13 regression] initializer_list ctors of containers skip Allocator_traits::construct, copies move-only type

2023-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110102 --- Comment #10 from CVS Commits --- The releases/gcc-13 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:be1e122bd20c17aa0b57fc40cbd64f9e9a889aa2 commit r13-7471-gbe1e122bd20c17aa0b57fc40cbd64f9e9a889aa2 Author: Jason Merrill

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-06-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 Jakub Jelinek changed: What|Removed |Added Attachment #55386|0 |1 is obsolete|

[Bug middle-end/110379] New: Unnecessary copies after early opts

2023-06-23 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110379 Bug ID: 110379 Summary: Unnecessary copies after early opts Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[Bug target/109456] `-ffixed-reg` cannot prevent using `reg` for ABI-mandated roles (argument register etc) and the behavior should be documented more clearly

2023-06-23 Thread gccriscvuser at proton dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109456 --- Comment #12 from gccriscvuser at proton dot me --- Updating the documentation is good, but there should also be an error diagnostic, right?

[Bug c++/110102] [13 regression] initializer_list ctors of containers skip Allocator_traits::construct, copies move-only type

2023-06-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110102 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/78904] zero-extracts are not effective

2023-06-23 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78904 --- Comment #17 from Segher Boessenkool --- (In reply to Roger Sayle from comment #16) > Just to warn people in advance, the test case pr78904-1b.c is expected to > start FAILing with the commit of > https://gcc.gnu.org/pipermail/gcc-patches/2023

[Bug c++/110380] New: [feature request] "-pg-constexpr=coverage-output" emit coverage metrics for constexpr code evaluated at compile time

2023-06-23 Thread gasper.azman at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110380 Bug ID: 110380 Summary: [feature request] "-pg-constexpr=coverage-output" emit coverage metrics for constexpr code evaluated at compile time Product: gcc Version

[Bug c++/110381] New: Incorrect loop unrolling for structs of floating point types

2023-06-23 Thread lennox.ho at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110381 Bug ID: 110381 Summary: Incorrect loop unrolling for structs of floating point types Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/110381] Incorrect loop unrolling for structs of floating point types

2023-06-23 Thread lennox.ho at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110381 --- Comment #1 from Lennox Ho --- This issues does not appear to reproduce with integer types, or if the members are summed in the "natural" order - a => b => c.

[Bug other/110239] [14 regression] std/format/functions/format.cc fails after r14-1648-g628ba410b9265d

2023-06-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110239 --- Comment #1 from Jonathan Wakely --- ==55393==ERROR: AddressSanitizer: global-buffer-overflow on address 0x004c9324 at pc 0x00432970 bp 0x7ffe2c7fcf80 sp 0x7ffe2c7fcf78 READ of size 4 at 0x004c9324 thread T0 #0 0x43296f in std

[Bug tree-optimization/110381] [11/12/13/14 Regression] double counting for sum of structs of floating point types

2023-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110381 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.5 Known to work|

[Bug c++/110380] [feature request] "-pg-constexpr=coverage-output" emit coverage metrics for constexpr code evaluated at compile time

2023-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110380 --- Comment #1 from Andrew Pinski --- pg is not the correct option here as that is about using the Gprof profiling which is different from gcov. More likely the option will be named -fprofile-constexpr

[Bug middle-end/110379] Unnecessary copies after early opts

2023-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110379 --- Comment #1 from Andrew Pinski --- IIRC this is needed for __builtin_object_size still

[Bug rtl-optimization/109009] Shrink Wrap missed opportunity

2023-06-23 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109009 --- Comment #9 from Peter Bergner --- (In reply to Surya Kumari Jangala from comment #8) > However, while computing the save/restore cost, we are considering only the > memory move cost but not the BB frequency. I think it is important to > cons

[Bug middle-end/110379] Unnecessary copies after early opts

2023-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110379 --- Comment #2 from Andrew Pinski --- Plus this is basically the same as the following C code: ``` struct a { int t; }; void foo (struct a *); struct b { struct a f; }; void test(struct b *t) { foo(&t->f); } ```

[Bug tree-optimization/110381] [11/12/13/14 Regression] double counting for sum of structs of floating point types

2023-06-23 Thread lennox.ho at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110381 --- Comment #3 from Lennox Ho --- Thanks. -fno-tree-vectorize appears to fix GCC 12.1 at -O2. Curious, why is -ftree-vectorize enabled at -O2 with GCC 12.1? The documents say it's only turned on by default with -O3 ``` https://gcc.gnu.org/proje

[Bug c++/110340] [C++26] P2621R2 - Remove undefined behavior from lexing

2023-06-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110340 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #2

[Bug rtl-optimization/109009] Shrink Wrap missed opportunity

2023-06-23 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109009 --- Comment #10 from Peter Bergner --- (In reply to Peter Bergner from comment #9) > Yes, you'll need to factor in the BB frequency. Since the save/restore code > will go into (at this point modulo shrink-wrapping later) the prologue and > epil

[Bug tree-optimization/110381] [11/12/13/14 Regression] double counting for sum of structs of floating point types

2023-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110381 --- Comment #4 from Andrew Pinski --- (In reply to Lennox Ho from comment #3) > Thanks. -fno-tree-vectorize appears to fix GCC 12.1 at -O2. > > Curious, why is -ftree-vectorize enabled at -O2 with GCC 12.1? Yes see https://gcc.gnu.org/gcc-12/c

[Bug rtl-optimization/110254] improve_allocation() routine does not update allocated_hardreg_p[] array

2023-06-23 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110254 --- Comment #2 from Peter Bergner --- (In reply to Surya Kumari Jangala from comment #0) > But improve_allocation() can also choose a register that has not been > assigned to a conflicting allocno, and also has not been assigned to any > other a

[Bug fortran/110360] ABI issue with character,value dummy argument

2023-06-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110360 --- Comment #10 from anlauf at gcc dot gnu.org --- Hmm, the testers show failures for the new testcase for the following cases: x86 / -m32 / -O1 and higher, Power9 BE, all optimization levels. I can reproduce the case of x86 / -m32 / -O1 for th

[Bug c++/110340] [C++26] P2621R2 - Remove undefined behavior from lexing

2023-06-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110340 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/69585] [C++ 11] parser errors mixing alignas, C++ 11 and GNU attributes on class declaration

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

[Bug c++/96117] Cannot mix c++11-style and GCC-style attributes on struct in one specific location

2023-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96117 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |DUPLICATE --- Comment #4 from Andrew Pin

[Bug c++/69585] [C++ 11] parser errors mixing alignas, C++ 11 and GNU attributes on class declaration

2023-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69585 Andrew Pinski changed: What|Removed |Added CC||steveire at gmail dot com --- Comment #7

[Bug fortran/110360] ABI issue with character,value dummy argument

2023-06-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110360 --- Comment #11 from anlauf at gcc dot gnu.org --- Created attachment 55393 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55393&action=edit Patch to truncate string argument longer than 1 This truncates the string to length 1 and appears

[Bug c++/110164] Improve diagnostic for incomplete standard library types due to missing include

2023-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110164 --- Comment #5 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:13709b518aa9769ef427e48ce5c9583fbe098777 commit r14-2055-g13709b518aa9769ef427e48ce5c9583fbe098777 Author: David Malcolm Date: F

[Bug fortran/110311] [14 Regression] regression in tree-optimizer

2023-06-23 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 Jürgen Reuter changed: What|Removed |Added Component|tree-optimization |fortran Keywords|wrong-code

[Bug c++/110164] Improve diagnostic for incomplete standard library types due to missing include

2023-06-23 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110164 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/110382] New: [13/14 Regression] internal compiler error: in verify_ctor_sanity

2023-06-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110382 Bug ID: 110382 Summary: [13/14 Regression] internal compiler error: in verify_ctor_sanity Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/110382] [13/14 Regression] internal compiler error: in verify_ctor_sanity

2023-06-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110382 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug tree-optimization/110381] [11/12/13/14 Regression] double counting for sum of structs of floating point types

2023-06-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110381 Marek Polacek changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug c++/110383] New: Missed optimiztion: Default operator== with trivial struct can be replaced with bcmp

2023-06-23 Thread madhur4127 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110383 Bug ID: 110383 Summary: Missed optimiztion: Default operator== with trivial struct can be replaced with bcmp Product: gcc Version: 14.0 Status: UNCONFIRMED Sev

[Bug c++/110383] Missed optimiztion: Default operator== with trivial struct can be replaced with bcmp

2023-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110383 --- Comment #1 from Andrew Pinski --- Note the replacement to memcmp is only valid if there is no padding bytes (or bits) and if there only integer types. Also branchless might not be faster depending on if the structure crosses a cache line bo

[Bug tree-optimization/108953] inefficient codegen for trivial equality

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

[Bug c++/110383] Missed optimiztion: Default operator== with trivial struct can be replaced with bcmp

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

[Bug fortran/110311] [14 Regression] regression in tree-optimizer

2023-06-23 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 --- Comment #12 from Jürgen Reuter --- Any idea which commit could cause such an issue? At least I now understand that in our program the random number object gets undefined and produces NaNs.

[Bug middle-end/110228] [13/14 Regression] llvm-16 miscompiled due to an maybe uninitialized variable

2023-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110228 --- Comment #18 from Andrew Pinski --- *** Bug 110376 has been marked as a duplicate of this bug. ***

[Bug c/110376] Wrong code at -O1 on x86_64-linux-gnu

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

[Bug c++/110384] New: Build of MinGW g++ 13.1.0 fails due to \r in --print-multi-lib output.

2023-06-23 Thread kclifford at tranaptic dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110384 Bug ID: 110384 Summary: Build of MinGW g++ 13.1.0 fails due to \r in --print-multi-lib output. Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: norma

[Bug c++/110385] New: Build of MinGW g++ 13.1.0 fails due to absence of a header file.

2023-06-23 Thread kclifford at tranaptic dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110385 Bug ID: 110385 Summary: Build of MinGW g++ 13.1.0 fails due to absence of a header file. Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/110384] Build of MinGW g++ 13.1.0 fails due to \r in --print-multi-lib output.

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

  1   2   >