[Bug c/53871] Please warn about endless loops if they are obvious

2021-10-02 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53871 Eric Gallager changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org,

[Bug c++/99936] [modules] FAIL: g++.dg/modules/xtreme-header* on Darwin

2021-10-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99936 --- Comment #3 from Jonathan Wakely --- See PR 102562

[Bug tree-optimization/102565] New: ICE: in upper_bound, at value-range.h:531 under -O2

2021-10-02 Thread suochenyao at 163 dot com via Gcc-bugs
in/gcc-dev/ --disable-multilib --enable-languages=c,c++ Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20211002 (experimental) (GCC) git ver: 9d116bcc5556c7df32803f7bf8e6e238ea1c13fb *** C

[Bug tree-optimization/102560] [12 Regression] g++.dg/Walloca1.C ICE with aggressive GC

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102560 Andrew Pinski changed: What|Removed |Added CC||aldyh at gcc dot gnu.org,

[Bug c++/100127] [coroutines] internal compiler error compiling promise with custom awaiter

2021-10-02 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100127 --- Comment #4 from Iain Sandoe --- (In reply to Riccardo Brugo from comment #0) > Created attachment 50621 [details] Of course, we should not ICE - but ... > struct promise_type { > std::optional _value = std::nullopt; > >

[Bug c/102563] New: ice during GIMPLE pass: vrp-thread

2021-10-02 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102563 Bug ID: 102563 Summary: ice during GIMPLE pass: vrp-thread Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/102564] Missed loop vectorization with reduction and ptr load/store inside loop

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

[Bug tree-optimization/102563] [12 Regression] ice during GIMPLE pass: vrp-thread

2021-10-02 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102563 Aldy Hernandez changed: What|Removed |Added Attachment #51534|0 |1 is obsolete|

[Bug target/102566] New: [i386] GCC should emit LOCK BTS for simple bit-test-and-set operations with std::atomic

2021-10-02 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102566 Bug ID: 102566 Summary: [i386] GCC should emit LOCK BTS for simple bit-test-and-set operations with std::atomic Product: gcc Version: unknown Status: UNCONFIRMED

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

2021-10-02 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102447 --- Comment #7 from TC --- (In reply to Jonathan Wakely from comment #6) > I have looked in detail (I have the 3rd, 4th and 5th editions here) but my > brain started oozing out of my ears. > > 15.10.2.15 NonemptyClassRanges and 15.10.2.16

[Bug c++/84898] Fix-it hints for '.' vs '->'

2021-10-02 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84898 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug tree-optimization/102563] [12 Regression] ice during GIMPLE pass: vrp-thread

2021-10-02 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102563 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/102562] New: [12 Regression][modules] Failing g++.dg/modules/xtreme-header tests since r12-4067-gc46ecb0112e91c8

2021-10-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102562 Bug ID: 102562 Summary: [12 Regression][modules] Failing g++.dg/modules/xtreme-header tests since r12-4067-gc46ecb0112e91c8 Product: gcc Version: 12.0

[Bug c++/102562] [12 Regression][modules] Failing g++.dg/modules/xtreme-header tests since r12-4067-gc46ecb0112e91c8

2021-10-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102562 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/102562] [12 Regression][modules] Failing g++.dg/modules/xtreme-header tests since r12-4067-gc46ecb0112e91c8

2021-10-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102562 --- Comment #2 from Jonathan Wakely --- Oh,I saw these failures but thought they were already happening. I guess I made it worse. I think the library code is correct but I'll check it

[Bug libstdc++/99327] ENOTSUP macro does not exist on djgpp crt

2021-10-02 Thread m.cencora at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99327 m.cencora at gmail dot com changed: What|Removed |Added CC||m.cencora at gmail dot com

[Bug c++/101765] ICE when using a VLA inside of a coroutine

2021-10-02 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101765 Iain Sandoe changed: What|Removed |Added Last reconfirmed||2021-10-02

[Bug c++/101765] ICE when using a VLA inside of a coroutine

2021-10-02 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101765 Iain Sandoe changed: What|Removed |Added Target Milestone|--- |10.4

[Bug c/102103] missing warning comparing array address to null

2021-10-02 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102103 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug tree-optimization/102564] New: Missed loop vectorization with reduction and ptr load/store inside loop

2021-10-02 Thread david.bolvansky at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102564 Bug ID: 102564 Summary: Missed loop vectorization with reduction and ptr load/store inside loop Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug c++/99936] [modules] FAIL: g++.dg/modules/xtreme-header* on Darwin

2021-10-02 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99936 --- Comment #2 from Dominique d'Humieres --- New failures between r12-4031 and r12-4090: FAIL: g++.dg/modules/xtreme-header-3_a.H -std=c++17 (internal compiler error) FAIL: g++.dg/modules/xtreme-header-3_a.H -std=c++17 (test for excess errors)

[Bug tree-optimization/102563] [12 Regression] ice during GIMPLE pass: vrp-thread

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102563 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Keywords|

[Bug libstdc++/99327] ENOTSUP macro does not exist on djgpp crt

2021-10-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99327 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug tree-optimization/102561] [12 Regression] ICE Segmentation fault during GIMPLE pass: evrp (on -O2 and above)

2021-10-02 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102561 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/102563] [12 Regression] ice during GIMPLE pass: vrp-thread

2021-10-02 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102563 Aldy Hernandez changed: What|Removed |Added CC||haoxintu at gmail dot com --- Comment

[Bug tree-optimization/102563] [12 Regression] ice during GIMPLE pass: vrp-thread

2021-10-02 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102563 --- Comment #1 from Aldy Hernandez --- Created attachment 51534 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51534=edit untested patch

[Bug tree-optimization/102560] [12 Regression] g++.dg/Walloca1.C ICE with aggressive GC

2021-10-02 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102560 Aldy Hernandez changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/102560] [12 Regression] g++.dg/Walloca1.C ICE with aggressive GC

2021-10-02 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102560 --- Comment #2 from Aldy Hernandez --- Going up the backtrace we see: (gdb) #3 0x01b43aff in irange::intersect (this=0x7fffc8e0, other=0x3c7aa40 ) at /home/aldyh/src/gcc/gcc/value-range.cc:1514 (gdb) #4

[Bug c++/98930] ICE with static variable in template function used as template argument

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98930 Andrew Pinski changed: What|Removed |Added Summary|ICE when using function |ICE with static variable in

[Bug c++/91867] Internal compiler error in simple for(auto) loop when using -std=c++11 with -fconcepts

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

[Bug c++/101099] [9/10/11/12 Regression] ICE in type_unification_real, at cp/pt.c:22173

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101099 Andrew Pinski changed: What|Removed |Added CC||nwentzell@flatironinstitute

[Bug bootstrap/72848] profiledbootstrap: internal compiler error: in streamer_write_gcov_count_stream, at data-streamer-out.c:366

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

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

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95968 --- Comment #1 from Andrew Pinski --- Hmm, clang also rejects this (even with libc++).

[Bug c++/101595] ICE: in tsubst_pack_expansion, at cp/pt.c:13124

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101595 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection See Also|

[Bug gcov-profile/64636] LTO PGO bootstrap fails on linux-sparc64 in stream_out_histogram_value

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64636 Andrew Pinski changed: What|Removed |Added CC||mikulas at artax dot karlin.mff.cu

[Bug gcov-profile/64636] LTO PGO bootstrap fails on linux-sparc64 in stream_out_histogram_value

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

[Bug c++/98930] ICE when using function local static constexpr variable at runtime

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

[Bug c++/98288] Accidental equality of classes templated by pointer to local static constant of templated function

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

[Bug c++/98930] ICE when using function local static constexpr variable at runtime

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98930 --- Comment #1 from Andrew Pinski --- *** Bug 98288 has been marked as a duplicate of this bug. ***

[Bug bootstrap/57683] Parallel build failure: generated prerequisite header not built in time (insn-opinit.h)

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57683 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.8.3 Resolution|---

[Bug ipa/95264] Infinite Loop When Compiling Templated C++ code at -O1 and above

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95264 Andrew Pinski changed: What|Removed |Added Keywords||compile-time-hog, |

[Bug c++/101071] [9/10/11/12 Regression] ICE in gimplify_init_constructor, at gimplify.c:5228

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101071 Andrew Pinski changed: What|Removed |Added Target Milestone|10.4|9.5 Summary|[10/11/12

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

2021-10-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102447 --- Comment #6 from Jonathan Wakely --- I have looked in detail (I have the 3rd, 4th and 5th editions here) but my brain started oozing out of my ears. 15.10.2.15 NonemptyClassRanges and 15.10.2.16 NonemptyClassRangesNoDash are the relevant

[Bug c++/95292] ICE in expand_expr_real_2, at expr.c:8538

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

[Bug c++/99790] [8/9 Regression] internal compiler error: in expand_expr_real_2 since r7-3811

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99790 Andrew Pinski changed: What|Removed |Added CC||tilin97 at yandex dot ru --- Comment

[Bug c++/101073] [9/10/11/12 Regression] ICE in cxx_eval_constant_expression, at cp/constexpr.c:6941

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101073 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/101765] ICE when using a VLA inside of a coroutine

2021-10-02 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101765 Iain Sandoe changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/99710] coroutines: co_yield and co_await should only be allowed in suspension context

2021-10-02 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99710 Iain Sandoe changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |iains at gcc dot gnu.org

[Bug c++/100673] [coroutines] Non-template, UDT await_suspend return-type results in ICE.

2021-10-02 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100673 Iain Sandoe changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/86145] Inefficient homogeneous struct return

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

[Bug c++/94264] Array-to-pointer conversion not performed on array prvalues

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94264 Andrew Pinski changed: What|Removed |Added CC||kamkaz at windowslive dot com ---

[Bug c++/102568] "taking address of temporary array" error when passing temporary array

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

[Bug target/102566] [i386] GCC should emit LOCK BTS for simple bit-test-and-set operations with std::atomic

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102566 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug c++/102562] [12 Regression][modules] Failing g++.dg/modules/xtreme-header tests since r12-4067-gc46ecb0112e91c8

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102562 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Keywords|

[Bug middle-end/98649] Trivial jump table not eliminated

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

[Bug testsuite/93216] [10 regression] gcc.dg/optimize-bswaphi-1.c fails starting with r280034

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93216 Bug 93216 depends on bug 92979, which changed state. Bug 92979 Summary: bswap not finding a bswap with a memory load at the beginging of the instruction stream https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92979 What|Removed

[Bug tree-optimization/92949] bswap/store merging does not handle BIT_INSERT_EXPR/BIT_FIELD_REF

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92949 Bug 92949 depends on bug 92979, which changed state. Bug 92979 Summary: bswap not finding a bswap with a memory load at the beginging of the instruction stream https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92979 What|Removed

[Bug c++/101595] ICE: in tsubst_pack_expansion, at cp/pt.c:13124

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

[Bug c++/101764] ICE for constexpr if within fold expression within lambda expression within a template

2021-10-02 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101764 Patrick Palka changed: What|Removed |Added CC||hewillk at gmail dot com --- Comment

[Bug tree-optimization/102563] [12 Regression] ice during GIMPLE pass: vrp-thread

2021-10-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102563 --- Comment #5 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:6c0dd02964a624c65859808f9a40721c3796319a commit r12-4095-g6c0dd02964a624c65859808f9a40721c3796319a Author: Aldy Hernandez Date:

[Bug tree-optimization/102560] [12 Regression] g++.dg/Walloca1.C ICE with aggressive GC

2021-10-02 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102560 --- Comment #3 from Aldy Hernandez --- Probably needs GTY markers, and possibly putting it invalid_range in file scope.

[Bug tree-optimization/102563] [12 Regression] ice during GIMPLE pass: vrp-thread

2021-10-02 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102563 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/99327] ENOTSUP macro does not exist on djgpp crt

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

[Bug libstdc++/102573] New: optimized code removes the underlying elements of the std::initializer_list being copied

2021-10-02 Thread 13508417 at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102573 Bug ID: 102573 Summary: optimized code removes the underlying elements of the std::initializer_list being copied Product: gcc Version: 4.8.5 Status: UNCONFIRMED

[Bug libstdc++/102573] optimized code removes the underlying elements of the std::initializer_list being copied

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

[Bug target/94174] Missed ccmp optimizations

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94174 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/102567] Missing noexcept specialization of std::function

2021-10-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102567 --- Comment #4 from Jonathan Wakely --- (In reply to Florian Weimer from comment #3) > (In reply to Jonathan Wakely from comment #1) > > This is not a libstdc++ bug, we implement what the standard says. > > > > Maybe it used to compile, but it

[Bug libstdc++/102567] Missing noexcept specialization of std::function

2021-10-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102567 --- Comment #5 from Jonathan Wakely --- (In reply to Florian Weimer from comment #3) > Neither paper seems to cover a polymorphic function type that takes > ownership, though, so I don't quite see how these replace std::function. To be clear,

[Bug tree-optimization/102569] New: Missed redudant add with add_overflow on the tree level

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102569 Bug ID: 102569 Summary: Missed redudant add with add_overflow on the tree level Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization,

[Bug target/101716] lea does not have a zero_extend version of it

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101716 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug middle-end/44690] -fzero-initialized-in-bss does not work

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

[Bug libstdc++/102573] optimized code removes the underlying elements of the std::initializer_list being copied

2021-10-02 Thread 13508417 at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102573 --- Comment #2 from wjf <13508417 at qq dot com> --- (In reply to Andrew Pinski from comment #1) > GCC warns: > : In function 'int main()': > :9:19: warning: assignment from temporary 'initializer_list' does > not extend the lifetime of the

[Bug rtl-optimization/93455] aarch64: Q constraint address is recomputed

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93455 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/92061] build of gencondmd fails with clang-9.0 (trunk, gcc 9.2.1, probably other older versions of gcc as yet untested) with undefined symbols for ix86_binary_operator_ok and related.

2021-10-02 Thread fink at snaggledworks dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92061 fink at snaggledworks dot com changed: What|Removed |Added CC||fink at snaggledworks dot

[Bug tree-optimization/96397] GCC Fails to exploit ranges from overflow tests

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96397 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/100340] Bootstrap fails with Clang 12.0.5 (XCode 12.5)

2021-10-02 Thread fink at snaggledworks dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100340 fink at snaggledworks dot com changed: What|Removed |Added CC||fink at snaggledworks

[Bug middle-end/43476] -ffixed-xxx etc processed too early

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43476 --- Comment #2 from Andrew Pinski --- Code has changed slightly but it still seems to apply today: /* After switches have been processed, which perhaps alter `fixed_regs' and `call_used_regs', convert them to HARD_REG_SETs. */ static void

[Bug tree-optimization/102572] New: ICE for skx in vect_build_gather_load_calls, at tree-vect-stmts.c:2835

2021-10-02 Thread vsevolod.livinskij at frtk dot ru via Gcc-bugs
wrapper Target: x86_64-pc-linux-gnu Configured with: /testing/gcc/gcc_src/configure --enable-multilib --prefix=/testing/gcc/bin --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20211002 (d7705b0ada9e9852b580ca25a45570c82152f287) (GCC)

[Bug c++/101133] [coroutines] co_await doesn't accept a valid awaitable object if await_resume()'s return type is not a built-in type.

2021-10-02 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101133 Iain Sandoe changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/99575] [coroutines] unexpected move when co_awaiting a nonmoveable object

2021-10-02 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99575 Iain Sandoe changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug libstdc++/102567] New: Missing noexcept specialization of std::function

2021-10-02 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102567 Bug ID: 102567 Summary: Missing noexcept specialization of std::function Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libstdc++/102567] Missing noexcept specialization of std::function

2021-10-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102567 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID

[Bug libstdc++/102567] Missing noexcept specialization of std::function

2021-10-02 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102567 --- Comment #3 from Florian Weimer --- (In reply to Jonathan Wakely from comment #1) > This is not a libstdc++ bug, we implement what the standard says. > > Maybe it used to compile, but it was meaningless. You could say it was a > function of

[Bug tree-optimization/102570] New: missed fully redudant with internal function of add_overflow in FRE

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102570 Bug ID: 102570 Summary: missed fully redudant with internal function of add_overflow in FRE Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug c++/102562] [12 Regression][modules] Failing g++.dg/modules/xtreme-header tests since r12-4067-gc46ecb0112e91c8

2021-10-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102562 --- Comment #4 from H.J. Lu --- spawn -ignore SIGHUP /export/users/hjl/build/gnu/tools-build/gcc-32bit-gitlab-native/build-i686-linux/gcc/testsuite/g++8/../../xg++

[Bug tree-optimization/92979] bswap not finding a bswap with a memory load at the beginging of the instruction stream

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92979 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.0 Resolution|---

[Bug tree-optimization/93040] gcc doesn't optimize unaligned accesses to a 16-bit value on the x86 as well as it does a 32-bit value (or clang)

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93040 --- Comment #7 from Andrew Pinski --- *** Bug 92979 has been marked as a duplicate of this bug. ***

[Bug middle-end/65410] "Short local string array" optimization doesn't happen if string has NULs

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65410 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug fortran/102521] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6240

2021-10-02 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102521 --- Comment #4 from anlauf at gcc dot gnu.org --- Tentative patch: diff --git a/gcc/fortran/decl.c b/gcc/fortran/decl.c index b3c65b7175b..cebc59e4ab5 100644 --- a/gcc/fortran/decl.c +++ b/gcc/fortran/decl.c @@ -2228,12 +2228,15 @@

[Bug c++/102568] New: "taking address of temporary array" error when passing temporary array

2021-10-02 Thread kamkaz at windowslive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102568 Bug ID: 102568 Summary: "taking address of temporary array" error when passing temporary array Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/102567] Missing noexcept specialization of std::function

2021-10-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102567 --- Comment #2 from Jonathan Wakely --- (In reply to Florian Weimer from comment #0) > In earlier language versions, code like this used to compile because > noexcept was not part of the type system. This also used to compile: void f()

[Bug tree-optimization/98703] Failure to optimize out non-zero check after multiplication overflow check

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98703 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Ever confirmed|0

[Bug libgomp/102571] New: FAIL: libgomp.c/../libgomp.c-c++-common/atomic-21.c execution test

2021-10-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102571 Bug ID: 102571 Summary: FAIL: libgomp.c/../libgomp.c-c++-common/atomic-21.c execution test Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal