[Bug target/103842] [12 regression] ICE on ilmbase-2.5.7: during RTL pass: expand

2021-12-27 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103842 --- Comment #6 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #5) > Created attachment 52068 [details] > gcc12-pr103842.patch > > Untested fix. The patch is OK. Thanks, Uros.

[Bug c++/103849] New: std::hash specializations with distinct concepts fails

2021-12-27 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103849 Bug ID: 103849 Summary: std::hash specializations with distinct concepts fails Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/51964] Missed tail merging opportunity

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51964 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/51964] Missed tail merging opportunity

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51964 Andrew Pinski changed: What|Removed |Added Depends on||13563 Status|ASSIGNED

[Bug tree-optimization/51964] Missed tail merging opportunity

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51964 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug tree-optimization/65426] Recognize byte-swaps when writing to buffers

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65426 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug tree-optimization/68694] SLP loads should be permuted until supported if possible

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68694 Andrew Pinski changed: What|Removed |Added Known to work||10.1.0, 9.3.0 Known to fail|

[Bug target/86693] inefficient atomic_fetch_xor

2021-12-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86693 --- Comment #6 from Hongtao.liu --- (In reply to H.J. Lu from comment #5) > (In reply to Hongtao.liu from comment #4) > > Change testcase a little bit, gcc now can generate lock btc > > > > > > void func1(); > > > > void func(unsigned long

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 57169, which changed state. Bug 57169 Summary: fully unrolled matrix multiplication not vectorized https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57169 What|Removed |Added

[Bug tree-optimization/57169] fully unrolled matrix multiplication not vectorized

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57169 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.0 Known to work|

[Bug ipa/86132] Failure to elide condition known to be non-null

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86132 --- Comment #3 from Andrew Pinski --- https://gcc.gnu.org/legacy-ml/gcc/2012-10/msg00024.html

[Bug c++/99968] ICE on remove_const_t in requires-expression

2021-12-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99968 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/53044] completely peel loops that do not run a constant time

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53044 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Complete peeling was done by r0-119587-gb7442c2fe0e28 . So all fixed. Note the testcases for this case were added with r0-119617-gc8379865b38e7 .

[Bug tree-optimization/53044] completely peel loops that do not run a constant time

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53044 Andrew Pinski changed: What|Removed |Added Known to work||4.8.1, 4.9.2, 5.1.0, 6.1.0,

[Bug c++/98401] coroutines: Temporaries passed to co_await sometimes cause an extraneous call to destructor at incorrect address

2021-12-27 Thread brandt.milo2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98401 --- Comment #8 from Milo Brandt --- I was trying to fix this and, from my work, I have a precise diagnosis of the bug and a hack that *mostly* fixes things, but leaves a more subtle bug unfixed. Debugging this is getting over my head, but the

[Bug c++/98401] coroutines: Temporaries passed to co_await sometimes cause an extraneous call to destructor at incorrect address

2021-12-27 Thread brandt.milo2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98401 --- Comment #7 from Milo Brandt --- Created attachment 52075 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52075=edit A proposed testcase for a more subtle variant of the same bug.

[Bug c++/98401] coroutines: Temporaries passed to co_await sometimes cause an extraneous call to destructor at incorrect address

2021-12-27 Thread brandt.milo2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98401 --- Comment #6 from Milo Brandt --- Created attachment 52074 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52074=edit A proposed testcase for the original bug.

[Bug ipa/46228] code produced for STL container is worse in 4.5.1 than in 4.4.5

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46228 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug tree-optimization/59859] [meta-bug] GRAPHITE issues

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59859 Bug 59859 depends on bug 90200, which changed state. Bug 90200 Summary: [graphite] ICE: Segmentation fault (in apply_schedule_on_deps) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90200 What|Removed |Added

[Bug tree-optimization/90200] [graphite] ICE: Segmentation fault (in apply_schedule_on_deps)

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90200 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug libstdc++/103848] [11/12 Regression] std::deque<>::iterator operator- uses "0" for nullptr check, triggers "zero-as-null-pointer-constant" warning

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103848 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-12-28

[Bug tree-optimization/103845] ICE in execute, at gimple-harden-conditionals.cc:552

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

[Bug libstdc++/103848] New: std::deque<>::operator- uses "0" for nullptr check, triggers "zero-as-null-pointer-constant"

2021-12-27 Thread stefan.bruens--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103848 Bug ID: 103848 Summary: std::deque<>::operator- uses "0" for nullptr check, triggers "zero-as-null-pointer-constant" Product: gcc Version: 11.2.1 Status: UNCONFIRMED

[Bug c++/96943] incomplete type for template for self named using an enum value

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96943 Andrew Pinski changed: What|Removed |Added Known to fail||4.1.2 Last reconfirmed|

[Bug go/68931] gccgo fails to build using MUSL libc

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68931 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Status|UNCONFIRMED

[Bug go/103847] gccgo SIGSEGV in libgo standard library on sparc64

2021-12-27 Thread matoro_gcc_bugzilla at matoro dot tk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103847 --- Comment #3 from matoro --- Oh, and just for reference, I did confirm that these crashes do not occur on amd64.

[Bug go/103847] gccgo SIGSEGV in libgo standard library on sparc64

2021-12-27 Thread matoro_gcc_bugzilla at matoro dot tk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103847 --- Comment #2 from matoro --- Created attachment 52073 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52073=edit build-without-network.log

[Bug go/103847] gccgo SIGSEGV in libgo standard library on sparc64

2021-12-27 Thread matoro_gcc_bugzilla at matoro dot tk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103847 matoro changed: What|Removed |Added CC||matoro_gcc_bugzilla@matoro.

[Bug go/103847] New: gccgo SIGSEGV in libgo standard library on sparc64

2021-12-27 Thread matoro_gcc_bugzilla at matoro dot tk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103847 Bug ID: 103847 Summary: gccgo SIGSEGV in libgo standard library on sparc64 Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/102332] ICE in select_type_set_tmp, at fortran/match.c:6366

2021-12-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102332 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot

[Bug tree-optimization/103815] IVCann/IVOPTs changes induction variable so it is an addition but the need for shift is there and the result could have used for the (loop) exit compare

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103815 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug libfortran/98076] Increase speed of integer I/O

2021-12-27 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98076 --- Comment #12 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #11 from Francois-Xavier Coudert > --- > Hi Rainer, > > Apologies for that, apparently I got confused between the keyword and the > macro > form. Can you confirm that

[Bug fortran/102332] ICE in select_type_set_tmp, at fortran/match.c:6366

2021-12-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102332 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug fortran/103418] random_number() does not accept pointer, intent(in) array argument

2021-12-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103418 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug fortran/103418] random_number() does not accept pointer, intent(in) array argument

2021-12-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103418 --- Comment #15 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:f8486c9fd71c08f30273e1a98b86e35a679ca229 commit r10-10364-gf8486c9fd71c08f30273e1a98b86e35a679ca229 Author: Harald

[Bug libfortran/98076] Increase speed of integer I/O

2021-12-27 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98076 --- Comment #11 from Francois-Xavier Coudert --- Hi Rainer, Apologies for that, apparently I got confused between the keyword and the macro form. Can you confirm that bootstrapped is fixed if you change it to

[Bug fortran/103776] ICE in gfc_compare_string, at fortran/arith.c:1118

2021-12-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103776 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:3c830e6d17b12aff2875b6e80e4404f09153 commit r11-9419-g3c830e6d17b12aff2875b6e80e4404f09153 Author: Harald Anlauf

[Bug libfortran/103634] Runtime crash with PACK on zero-sized arrays

2021-12-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103634 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug libfortran/98076] Increase speed of integer I/O

2021-12-27 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98076 Rainer Orth changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #10

[Bug libfortran/103634] Runtime crash with PACK on zero-sized arrays

2021-12-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103634 --- Comment #6 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:5b3587012951655d8e06dcfe683801862d3979de commit r9-9889-g5b3587012951655d8e06dcfe683801862d3979de Author: Harald Anlauf

[Bug libfortran/103634] Runtime crash with PACK on zero-sized arrays

2021-12-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103634 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:39264acd7daaff4659fefa005ec02bccf685447d commit r10-10363-g39264acd7daaff4659fefa005ec02bccf685447d Author: Harald Anlauf

[Bug fortran/103778] [10/11/12 Regression] ICE: Invalid expression in gfc_element_size

2021-12-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103778 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug fortran/103778] [10/11/12 Regression] ICE: Invalid expression in gfc_element_size

2021-12-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103778 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:715842b02f8828f28affdbb5e164013c172a3fb9 commit r10-10362-g715842b02f8828f28affdbb5e164013c172a3fb9 Author: Harald Anlauf

[Bug fortran/101329] ICE: Invalid expression in gfc_element_size

2021-12-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101329 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:93c066f568822680506811d0de9c57c8a7a4e5d2 commit r10-10361-g93c066f568822680506811d0de9c57c8a7a4e5d2 Author: Harald Anlauf

[Bug fortran/103778] [10/11/12 Regression] ICE: Invalid expression in gfc_element_size

2021-12-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103778 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:e6dcc14640105d2daf9c7f279980543470be7866 commit r11-9418-ge6dcc14640105d2daf9c7f279980543470be7866 Author: Harald Anlauf

[Bug fortran/101329] ICE: Invalid expression in gfc_element_size

2021-12-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101329 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:a25bfec3aacc34be624a620b00a72719ac03092f commit r11-9417-ga25bfec3aacc34be624a620b00a72719ac03092f Author: Harald Anlauf

[Bug c++/103832] vectorized code segfaults due to misaligned access

2021-12-27 Thread joakim.rosqvist at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103832 --- Comment #2 from Joakim Rosqvist --- Ok, may I then suggest that the docs at https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attributes.html#Common-Variable-Attributes for the aligned attribute be augmented with a mention that if you

[Bug target/103773] wrong code at -Oz due to sign extension

2021-12-27 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103773 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug middle-end/103813] [11/12 Regression] Crash in decompose, at wide-int.h:984 fold-const since r11-5271-g4866b2f5db117f9e

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

[Bug c++/103843] Direct call to Desctructor is optimized out

2021-12-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103843 --- Comment #8 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #7) > Also, this is an automatic (i.e. stack) variable, so the destructor will run > at the end of the block, meaning it will be settled twice. Sorry,

[Bug c++/103843] Direct call to Desctructor is optimized out

2021-12-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103843 --- Comment #7 from Jonathan Wakely --- Also, this is an automatic (i.e. stack) variable, so the destructor will run at the end of the block, meaning it will be settled twice. So another form of undefined behaviour. The program is just broken,

[Bug target/100985] [9 Regression] Aarch64 acle.h "extern "C" {" mismatch "}" in 9.4.0

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

[Bug target/100985] [9 Regression] Aarch64 acle.h "extern "C" {" mismatch "}" in 9.4.0

2021-12-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100985 --- Comment #3 from CVS Commits --- The releases/gcc-9 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:8c92fcb13a4979232787f0476bf7469ccbb03617 commit r9-9888-g8c92fcb13a4979232787f0476bf7469ccbb03617 Author: Jonathan

[Bug ipa/103830] [12 Regression] null pointer access optimized away by removing function call at -Og

2021-12-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103830 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug target/100985] [9 Regression] Aarch64 acle.h "extern "C" {" mismatch "}" in 9.4.0

2021-12-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100985 Jonathan Wakely changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment

[Bug target/103846] [9 Regression] unmatched extern "C" block in aarch64/arm_acle.h

2021-12-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103846 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/103846] New: [9 Regression] unmatched extern "C" block in aarch64/arm_acle.h

2021-12-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103846 Bug ID: 103846 Summary: [9 Regression] unmatched extern "C" block in aarch64/arm_acle.h Product: gcc Version: 9.4.1 Status: UNCONFIRMED Keywords:

[Bug libstdc++/100415] runtime error: reference binding to null pointer of type 'const struct __forced_unwind'

2021-12-27 Thread marc.mutz at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100415 --- Comment #2 from Marc Mutz --- Confirmed with $ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/d/gcc/11/libexec/gcc/x86_64-pc-linux-gnu/11.2.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc/configure

[Bug tree-optimization/103835] Bogus sprintf warnings

2021-12-27 Thread lavr at ncbi dot nlm.nih.gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103835 --- Comment #2 from lavr at ncbi dot nlm.nih.gov --- Irrespective of whether atoi() is known, printing an "int" (or two) will never produce this many characters... This, however, also seems to have triggered some weird logic that took the

[Bug libstdc++/101236] [12 Regression] bits/unique_ptr.h:658:48: error: invalid use of incomplete type ‘class llvm::APFloat’ since r12-1778-g17bc3848e065c0980523e1a1592f2f03b24b4f1c

2021-12-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101236 Bug 101236 depends on bug 101239, which changed state. Bug 101239 Summary: "Internal compiler error: Error reporting routines re-entered." in size_in_bytes_loc https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101239 What|Removed

[Bug c++/101239] "Internal compiler error: Error reporting routines re-entered." in size_in_bytes_loc

2021-12-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101239 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Target

[Bug c++/101239] "Internal compiler error: Error reporting routines re-entered." in size_in_bytes_loc

2021-12-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101239 --- Comment #6 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:916ec36d0a3ef3fe44c1657746922a5f18b60326 commit r12-6124-g916ec36d0a3ef3fe44c1657746922a5f18b60326 Author: Patrick Palka Date:

[Bug c++/67491] [meta-bug] concepts issues

2021-12-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 103700, which changed state. Bug 103700 Summary: Incomplete type not causing constraints to fail https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103700 What|Removed |Added

[Bug c++/103700] Incomplete type not causing constraints to fail

2021-12-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103700 Patrick Palka changed: What|Removed |Added Target Milestone|11.3|12.0 Resolution|---

[Bug c++/103700] Incomplete type not causing constraints to fail

2021-12-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103700 --- Comment #6 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:88cdcb5c18d73bfc9960d774c678f0e8103b8031 commit r12-6123-g88cdcb5c18d73bfc9960d774c678f0e8103b8031 Author: Patrick Palka Date:

[Bug target/101324] powerpc64le: hashst appears before mflr at -O1 or higher

2021-12-27 Thread raoni at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101324 --- Comment #24 from Raoni Fassina Firmino --- (In reply to Peter Bergner from comment #21) > Fixed on trunk. I tested gcc trunk with glibc master and I confirm that it fix the problem with __memmove_ppc. I tested both running glibc check with

[Bug tree-optimization/57245] Floating-point constant truncation ignores -frounding-math

2021-12-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57245 Bug 57245 depends on bug 103735, which changed state. Bug 103735 Summary: [12 Regression] Extra glibc "make check" failures by r12-4764 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103735 What|Removed |Added

[Bug middle-end/103735] [12 Regression] Extra glibc "make check" failures by r12-4764

2021-12-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103735 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/103762] [12 Regression] glibc master branch is miscompiled by r12-897

2021-12-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103762 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/103762] [12 Regression] glibc master branch is miscompiled by r12-897

2021-12-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103762 --- Comment #12 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:9407058a430316db5299bc7867e4a31f900cd197 commit r12-6122-g9407058a430316db5299bc7867e4a31f900cd197 Author: H.J. Lu Date: Sun Dec 19

[Bug debug/103836] '-fcompare-debug' failure (length) w/ -fopenacc --param openacc-kernels=decompose

2021-12-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103836 Jakub Jelinek changed: What|Removed |Added CC||burnus at gcc dot gnu.org,

[Bug rtl-optimization/103837] [9/10/11/12 Regression] '-fcompare-debug' failure (length) w/ -Og -fmove-loop-invariants -fnon-call-exceptions -fno-tree-dce

2021-12-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103837 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug tree-optimization/103837] [9/10/11/12 Regression] '-fcompare-debug' failure (length) w/ -Og -fmove-loop-invariants -fnon-call-exceptions -fno-tree-dce

2021-12-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103837 --- Comment #4 from Jakub Jelinek --- The loop body is: (code_label 10026 4 10019 3 4 (nil) [0 uses]) (note 10019 10026 5 3 [bb 3] NOTE_INSN_BASIC_BLOCK) (debug_insn 5 10019 6 3 (var_location:DF a (reg/v:DF 84 [ a ])) -1 (nil)) (debug_insn

[Bug c++/103843] Direct call to Desctructor is optimized out

2021-12-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103843 Jakub Jelinek changed: What|Removed |Added Resolution|FIXED |INVALID CC|

[Bug c++/103843] Direct call to Desctructor is optimized out

2021-12-27 Thread georgii.shagov--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103843 Georgii.Shagov changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #5 from

[Bug tree-optimization/103837] [9/10/11/12 Regression] '-fcompare-debug' failure (length) w/ -Og -fmove-loop-invariants -fnon-call-exceptions -fno-tree-dce

2021-12-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103837 --- Comment #3 from Jakub Jelinek --- Yeah, exactly, looking into that now.

[Bug tree-optimization/103837] [9/10/11/12 Regression] '-fcompare-debug' failure (length) w/ -Og -fmove-loop-invariants -fnon-call-exceptions -fno-tree-dce

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103837 --- Comment #2 from Andrew Pinski --- It looks like can_move_invariant_reg is not ignoring debug insns.

[Bug tree-optimization/103837] [9/10/11/12 Regression] '-fcompare-debug' failure (length) w/ -Og -fmove-loop-invariants -fnon-call-exceptions -fno-tree-dce

2021-12-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103837 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2021-12-27 CC|

[Bug middle-end/103839] __builtin_clear_padding doesn't zero alignment holes of unions with fields that overlap padding

2021-12-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103839 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug target/103842] [12 regression] ICE on ilmbase-2.5.7: during RTL pass: expand

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

[Bug tree-optimization/103845] New: ICE in execute, at gimple-harden-conditionals.cc:552

2021-12-27 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103845 Bug ID: 103845 Summary: ICE in execute, at gimple-harden-conditionals.cc:552 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug debug/103838] [11/12 Regression] '-fcompare-debug' failure (length) w/ -O2 --param max-early-inliner-iterations=0 --param max-inline-insns-auto=2

2021-12-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103838 --- Comment #2 from Jakub Jelinek --- Created attachment 52067 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52067=edit gcc12-pr103838.patch Untested fix.

[Bug debug/103838] [11/12 Regression] '-fcompare-debug' failure (length) w/ -O2 --param max-early-inliner-iterations=0 --param max-inline-insns-auto=2

2021-12-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103838 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug c++/103843] Direct call to Desctructor is optimized out

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103843 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |INVALID --- Comment #4 from Andrew

[Bug c++/103843] Direct call to Desctructor is optimized out

2021-12-27 Thread georgii.shagov--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103843 Georgii.Shagov changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #3 from

[Bug c++/103844] New: [modules] ICE when exporting shared_ptr alias

2021-12-27 Thread tim152 at tgf dot pw via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103844 Bug ID: 103844 Summary: [modules] ICE when exporting shared_ptr alias Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/103843] Direct call to Desctructor is optimized out

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

[Bug debug/103838] [11/12 Regression] '-fcompare-debug' failure (length) w/ -O2 --param max-early-inliner-iterations=0 --param max-inline-insns-auto=2

2021-12-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103838 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Priority|P3

[Bug target/103842] [12 regression] ICE on ilmbase-2.5.7: during RTL pass: expand

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103842 --- Comment #4 from Andrew Pinski --- (gdb) n 534 rtx op1 = lowpart_subreg (V4SFmode, operands[1], 1: debug_rtx(operands[1]) = (subreg:V2SF (reg:DI 123) 0) void (gdb) n 536 rtx op2 = gen_rtx_VEC_CONCAT (V4SFmode, operands[2], 1:

[Bug c++/103843] Direct call to Desctructor is optimized out

2021-12-27 Thread georgii.shagov--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103843 --- Comment #1 from Georgii.Shagov --- >From experiments, I would guess that in case of -O3 the call to destructor was substituted by initializer: This works fine: cat ./d.cpp #include class S { public: S() : i{1} {} ~S() { i=0; }

[Bug target/103842] [12 regression] ICE on ilmbase-2.5.7: during RTL pass: expand

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103842 --- Comment #3 from Andrew Pinski --- (insn 56 55 57 (set (subreg:V4SF (reg:V2SF 124 [ vect__35.17 ]) 0) (div:V4SF (nil) (reg:V4SF 126))) "t.c":18:23 -1 (nil)) Yes that nill there is wrong.

[Bug target/103842] [12 regression] ICE on ilmbase-2.5.7: during RTL pass: expand

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

[Bug target/103842] [12 regression] ICE on ilmbase-2.5.7: during RTL pass: expand

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103842 --- Comment #2 from Andrew Pinski --- This was exposed/caused by r12-6113 as far as I can tell. We didn't do SLP of the divide before and now we do and it caused the ICE somehow.

[Bug target/103842] [12 regression] ICE on ilmbase-2.5.7: during RTL pass: expand

2021-12-27 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103842 --- Comment #1 from Sergei Trofimovich --- Created attachment 52065 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52065=edit bug.cpp.cpp.orig.gz bug.cpp.cpp.orig.gz - unreduced file (had to compress to get past 1MB limit)

[Bug c++/103843] New: Direct call to Desctructor is optimized out

2021-12-27 Thread georgii.shagov--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103843 Bug ID: 103843 Summary: Direct call to Desctructor is optimized out Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/103842] New: [12 regression] ICE on ilmbase-2.5.7: during RTL pass: expand

2021-12-27 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103842 Bug ID: 103842 Summary: [12 regression] ICE on ilmbase-2.5.7: during RTL pass: expand Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"

2021-12-27 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103823 --- Comment #10 from Francois-Xavier Coudert --- Posted at https://gcc.gnu.org/pipermail/gcc-patches/2021-December/587376.html

[Bug target/95046] Vectorize V2SFmode operations

2021-12-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95046 --- Comment #16 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:e078de24eae8253fd4f24342f65166b525dd99c6 commit r12-6121-ge078de24eae8253fd4f24342f65166b525dd99c6 Author: Uros Bizjak Date: Mon

[Bug demangler/98886] stack overflow in cxxfilt, demangle_type, rust-demangle.c:854

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98886 Andrew Pinski changed: What|Removed |Added CC||rding at gatech dot edu --- Comment #9

[Bug demangler/100105] stack exhaust by recursion in cxxfilt demangler

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100105 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

  1   2   >