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

2021-10-01 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 sec

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

2021-10-01 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++/98930] ICE when using function local static constexpr variable at runtime

2021-10-01 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 Status|UNCONFIRME

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

2021-10-01 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 c++/98288] Accidental equality of classes templated by pointer to local static constant of templated function

2021-10-01 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++/95968] error: 'args#0' is not a constant expression

2021-10-01 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 ipa/95264] Infinite Loop When Compiling Templated C++ code at -O1 and above

2021-10-01 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 tree-optimization/102561] [12 Regression] ICE Segmentation fault during GIMPLE pass: evrp (on -O2 and above)

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

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

2021-10-01 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102561 --- Comment #1 from Haoxin Tu --- Similar case: #include int a; void b(int c) { uint16_t d; uint16_t *e; int16_t f; int64_t g; if ((g || (d = 0)) == c << (0 <= (*e ^= c))) *e - f && (a = d); } Error: during GIMPLE pass: vrp-thre

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

2021-10-01 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102561 Bug ID: 102561 Summary: [12 Regression] ICE Segmentation fault during GIMPLE pass: evrp (on -O2 and above) Product: gcc Version: 12.0 Status: UNCONFIRMED Keywo

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

2021-10-01 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102447 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #5 from TC --

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

2021-10-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102560 Bug ID: 102560 Summary: [12 Regression] g++.dg/Walloca1.C ICE with aggressive GC Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: GC, ice-on-valid-code

[Bug ipa/102557] [12 Regression] ICE: Segmentation fault signal terminated program cc1plus (indefinite recursion in modref_ref_node::insert_access) since r12-3202-gf5ff3a8ed4ca9173

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

[Bug target/97865] libtool needs to be updated for Darwin20.

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

[Bug tree-optimization/102546] [12 Regregression] Missed Dead Code Elimination regression (trunk vs 11.2.0) at -O3

2021-10-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102546 --- Comment #13 from Jakub Jelinek --- Other cases where that is true are operator_mult (both op1 and op2), operator_divide, operator_trunc_mod, operator_abs, operator_absu.

[Bug tree-optimization/102546] [12 Regregression] Missed Dead Code Elimination regression (trunk vs 11.2.0) at -O3

2021-10-01 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102546 --- Comment #12 from Aldy Hernandez --- Absolutely, but I didn't want to pollute the patch for this PR. Consider the patch to do so pre-approved :-). On Sat, Oct 2, 2021, 00:20 jakub at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > http

[Bug tree-optimization/102546] [12 Regregression] Missed Dead Code Elimination regression (trunk vs 11.2.0) at -O3

2021-10-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102546 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug tree-optimization/102546] [12 Regregression] Missed Dead Code Elimination regression (trunk vs 11.2.0) at -O3

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

[Bug tree-optimization/102546] [12 Regregression] Missed Dead Code Elimination regression (trunk vs 11.2.0) at -O3

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102546 --- Comment #9 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:5f9ccf17de7f7581412c6bffd4a37beca9a79836 commit r12-4088-g5f9ccf17de7f7581412c6bffd4a37beca9a79836 Author: Aldy Hernandez Date:

[Bug fortran/99348] ICE in resolve_structure_cons, at fortran/resolve.c:1286

2021-10-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99348 --- Comment #4 from anlauf at gcc dot gnu.org --- This might actually be related to pr102521. The following variant compiles ok: program p type t character(3) :: c end type ! type(t), parameter :: x(1) = t('abc') type(t), parameter ::

[Bug tree-optimization/102540] [12 Regression] Dead Code Elimination Regression at -O3 since r12-476-gd846f225c25c5885

2021-10-01 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102540 --- Comment #4 from Andrew Macleod --- (In reply to Richard Biener from comment #2) > FRE1 has the following difference, simplifying the (unsigned int) truncation. > > : >a.0_1 = a; >_2 = (unsigned int) a.0_1; >b = _2; > - c_

[Bug c++/100611] coroutines: destructor called too many times for coroutine lambda stored object

2021-10-01 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100611 Iain Sandoe changed: What|Removed |Added CC||victor.burckel at gmail dot com --- Comme

[Bug c++/101243] Coroutine lambda capture is destroyed twice

2021-10-01 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101243 Iain Sandoe changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[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-01 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|UNCONFIRMED |NEW Assignee|unassigned at gcc

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

2021-10-01 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|UNCONFIRMED |NEW Ever confirmed|0

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

2021-10-01 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 Last reconfirmed||2021-10-1 CC|

[Bug middle-end/102285] New flag -ftrivial-auto-var-init=zero causes crash in pr82421.c

2021-10-01 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102285 --- Comment #18 from qinzhao at gcc dot gnu.org --- (In reply to Richard Biener from comment #13) > We could try sth like the following which should cover this testcase and > also hopefully doesn't break anything else. > > diff --git a/gcc/expr.

[Bug libfortran/100954] writing to a character opens unit -10

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

[Bug libstdc++/102100] [12 Regression] _GLIBCXX_ASSERTIONS information missing under _GLIBCXX_VERBOSE==1.

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

[Bug libstdc++/101429] __replacement_assert should be marked as noexcept

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101429 --- Comment #5 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:92936be47461b99d624b6a90a745f6cdc60d3e51 commit r12-4084-g92936be47461b99d624b6a90a745f6cdc60d3e51 Author: Jonathan Wakely Date:

[Bug libstdc++/102100] [12 Regression] _GLIBCXX_ASSERTIONS information missing under _GLIBCXX_VERBOSE==1.

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102100 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:92936be47461b99d624b6a90a745f6cdc60d3e51 commit r12-4084-g92936be47461b99d624b6a90a745f6cdc60d3e51 Author: Jonathan Wakely Date:

[Bug c++/100611] coroutines: destructor called too many times for coroutine lambda stored object

2021-10-01 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100611 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/100579] [coroutines] Poor codegen using an optional-like type with co_await

2021-10-01 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100579 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org Severi

[Bug c++/99904] ICE: in tsubst_pack_expansion, at cp/pt.c:13056

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

[Bug middle-end/102285] New flag -ftrivial-auto-var-init=zero causes crash in pr82421.c

2021-10-01 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102285 --- Comment #17 from qinzhao at gcc dot gnu.org --- > > OK, so the issue is likely that we're probing the lhs with EXPAND_WRITE but > > when we expand the memset we end up with using expand_expr_addr_expr_1 > > with EXPAND_NORMAL. > > then can

[Bug target/86968] Unaligned big-endian (scalar_storage_order) access on armv7-a yields 4 ldrb instructions rather than ldr+rev

2021-10-01 Thread robotux at celest dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86968 Thomas Preud'homme changed: What|Removed |Added CC||robotux at celest dot fr --- Commen

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

2021-10-01 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100127 Iain Sandoe changed: What|Removed |Added Keywords||ice-on-valid-code Target Milestone|---

[Bug c++/99576] [coroutines] destructor of a temporary called too early within co_await expression

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

[Bug libstdc++/66792] Document sort template in bits/list.tcc

2021-10-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66792 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug libstdc++/66792] Document sort template in bits/list.tcc

2021-10-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66792 Bug 66792 depends on bug 66742, which changed state. Bug 66742 Summary: abort on sorting list with custom allocator that is not stateless https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66742 What|Removed |Added -

[Bug libstdc++/66742] abort on sorting list with custom allocator that is not stateless

2021-10-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66742 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug libstdc++/100612] std::jthread can't be initialized with a pointer to a member function taking a std::stop_token

2021-10-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100612 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |12.0 --- Comment #11 from Jonathan Wa

[Bug c++/98935] [coroutines] co_await on statement expressions causes ICE

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

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

2021-10-01 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 Target Milestone|--- |12.0

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

2021-10-01 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|NEW |RESOLVED Resolution|---

[Bug libstdc++/78113] std::variant and std::visit's current implementations do not get optimized out (compared to "recursive visitation")

2021-10-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78113 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug libstdc++/90943] Visiting inherited variants no longer works in 9.1

2021-10-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90943 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |11.3 --- Comment #10 from Jonathan Wak

[Bug libstdc++/94418] Please make reverse_iterator nothrow constructible when possible

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

[Bug c++/98691] [coroutines] co_await in a conditional operator evaluates an unreachable code

2021-10-01 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98691 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/100153] Undefined behavior in stl_bvector.h

2021-10-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100153 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |9.5 Keywords|

[Bug libstdc++/96733] std::clamp for floats and doubles produces worse code than a combo of std::min / std::max

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

[Bug libstdc++/92546] Large increase in preprocessed file sizes in C++2a mode

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 --- Comment #24 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:acf3a21cbc26b39b73c0006300f35ff017ddd6cb commit r12-4083-gacf3a21cbc26b39b73c0006300f35ff017ddd6cb Author: Jonathan Wakely Date:

[Bug libstdc++/66742] abort on sorting list with custom allocator that is not stateless

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66742 --- Comment #16 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ff7793bea465019683b3a07d7ffceb6eae22def5 commit r12-4082-gff7793bea465019683b3a07d7ffceb6eae22def5 Author: Jonathan Wakely Date:

[Bug libstdc++/100612] std::jthread can't be initialized with a pointer to a member function taking a std::stop_token

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100612 --- Comment #10 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:34e9407b3b4298bd587e0df2e0047679019b66cf commit r12-4081-g34e9407b3b4298bd587e0df2e0047679019b66cf Author: Jonathan Wakely Date

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

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99327 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:59ffa3e3dba5a7805585c61dd4387c5644249d52 commit r12-4071-g59ffa3e3dba5a7805585c61dd4387c5644249d52 Author: Jonathan Wakely Date:

[Bug libstdc++/78113] std::variant and std::visit's current implementations do not get optimized out (compared to "recursive visitation")

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78113 --- Comment #8 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:cfb582f62791dfadc243d97d37f0b83ef77cf480 commit r12-4068-gcfb582f62791dfadc243d97d37f0b83ef77cf480 Author: Jonathan Wakely Date:

[Bug libstdc++/90943] Visiting inherited variants no longer works in 9.1

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90943 --- Comment #9 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:c46ecb0112e91c80ee111439e79a58a953e4479d commit r12-4067-gc46ecb0112e91c80ee111439e79a58a953e4479d Author: Jonathan Wakely Date:

[Bug libstdc++/94418] Please make reverse_iterator nothrow constructible when possible

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94418 --- Comment #7 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:d335d73889d897d073b987b4323db05317fccad3 commit r12-4063-gd335d73889d897d073b987b4323db05317fccad3 Author: Jonathan Wakely Date:

[Bug libstdc++/100153] Undefined behavior in stl_bvector.h

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100153 --- Comment #4 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:681707ec28d56494fa61a80c62500724d55f8586 commit r12-4062-g681707ec28d56494fa61a80c62500724d55f8586 Author: Jonathan Wakely Date:

[Bug libstdc++/96733] std::clamp for floats and doubles produces worse code than a combo of std::min / std::max

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96733 --- Comment #8 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:741c7350c08b0884689466867b6c9e711c7b109e commit r12-4061-g741c7350c08b0884689466867b6c9e711c7b109e Author: Jonathan Wakely Date:

[Bug c++/101367] [coroutines] destructor for capture in lambda temporary operand to co_yield expression called twice

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

[Bug target/102544] GCN offloading not working for 'amdgcn-amd-amdhsa--gfx906:sramecc+:xnack-'

2021-10-01 Thread caplanr at predsci dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102544 --- Comment #7 from Ron --- That last case was using a fortran version of the test code as follows: program SMALL_TEST_F use openacc implicit none integer :: v v = 0 !$acc parallel copy(v) if (a

[Bug target/102544] GCN offloading not working for 'amdgcn-amd-amdhsa--gfx906:sramecc+:xnack-'

2021-10-01 Thread miko at predsci dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102544 --- Comment #6 from miko at predsci dot com --- Q: /home/mikostul/test_gfortran $ ./Small_test_F GCN debug: HSA run-time initialized for GCN GCN debug: HSA_SYSTEM_INFO_ENDIANNESS: LITTLE GCN debug: HSA_SYSTEM_INFO_EXTENSIONS: IMAGES GCN debug: T

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

2021-10-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102521 --- Comment #3 from anlauf at gcc dot gnu.org --- The code works if we replace the r.h.s. in the initialization by an array: program p type t integer :: n end type ! type(t), parameter :: a(4) = t(1)! ICE

[Bug c++/98432] [coroutine] leaked frame created using await_transform

2021-10-01 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98432 Iain Sandoe changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug ipa/102557] [12 Regression] ICE: Segmentation fault signal terminated program cc1plus (indefinite recursion in modref_ref_node::insert_access) since r12-3202-gf5ff3a8ed4ca9173

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

[Bug c++/100368] Missing guaranteed elision in constexpr evaluation

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

[Bug c++/102553] internal compiler error: Segmentation fault for struct based parameter of template

2021-10-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102553 --- Comment #6 from Martin Liška --- Can you please attach a pre-processed source file generated by clang?

[Bug tree-optimization/56688] static/saved variables prevent loop vectorization.

2021-10-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56688 anlauf at gcc dot gnu.org changed: What|Removed |Added CC|anlauf at gmx dot de |anlauf at gcc dot gnu.

[Bug c++/97050] ICE with segfault in lambda overload resolution

2021-10-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97050 Patrick Palka changed: What|Removed |Added Target Milestone|--- |11.0 Status|NEW

[Bug c++/33925] gcc -Waddress lost some useful warnings

2021-10-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33925 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org

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

2021-10-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102103 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

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

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102103 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:4dc7ce6fb3917958d1a6036d8acf2953b9c1b868 commit r12-4059-g4dc7ce6fb3917958d1a6036d8acf2953b9c1b868 Author: Martin Sebor Date: Fri

[Bug debug/102373] Segmentation fault in dwarf2out.c, line 32744

2021-10-01 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102373 John David Anglin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug debug/102373] Segmentation fault in dwarf2out.c, line 32744

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102373 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by John David Anglin : https://gcc.gnu.org/g:aac3b6a7e3a7b810005343e62e6822338fcb85d4 commit r11-9052-gaac3b6a7e3a7b810005343e62e6822338fcb85d4 Author: John David

[Bug debug/102373] Segmentation fault in dwarf2out.c, line 32744

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102373 --- Comment #6 from CVS Commits --- The master branch has been updated by John David Anglin : https://gcc.gnu.org/g:f1710910087fb1f4a7706e9ce838163ffcbc50b4 commit r12-4058-gf1710910087fb1f4a7706e9ce838163ffcbc50b4 Author: John David Anglin D

[Bug c++/102283] Inconsistent/wrong overload resolution when using an initializer list and a defaulted template parameter

2021-10-01 Thread dangelog at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102283 --- Comment #5 from Giuseppe D'Angelo --- (Sorry for the delay) Thank you for the analysis. I'm now not really sure if GCC is doing something wrong (vs Clang/MSVC). Feel free to close/suspend this task if you strongly believe GCC is right here.

[Bug target/102544] GCN offloading not working for 'amdgcn-amd-amdhsa--gfx906:sramecc+:xnack-'

2021-10-01 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102544 --- Comment #5 from Andrew Stubbs --- Sorry, I should have said to compile with -fopenacc. If you did do that, please post the GCN_DEBUG output.

[Bug target/100734] [12 Regression] /test/gnu/gcc/objdir/gcc/include-fixed/stdlib.h:291:8: internal compiler error: in from_mode_char, at attribs.h:304

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100734 --- Comment #15 from CVS Commits --- The releases/gcc-11 branch has been updated by John David Anglin : https://gcc.gnu.org/g:356390c14aa70a95c15845512f2381b627cf9a96 commit r11-9051-g356390c14aa70a95c15845512f2381b627cf9a96 Author: John David

[Bug target/102544] GCN offloading not working for 'amdgcn-amd-amdhsa--gfx906:sramecc+:xnack-'

2021-10-01 Thread miko at predsci dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102544 --- Comment #4 from miko at predsci dot com --- The result is: v is -1

[Bug c/102559] New: missing warning comparing result of a nonnull function to null

2021-10-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102559 Bug ID: 102559 Summary: missing warning comparing result of a nonnull function to null Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug ipa/102557] [12 Regression] ICE: Segmentation fault signal terminated program cc1plus (indefinite recursion in modref_ref_node::insert_access)

2021-10-01 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102557 --- Comment #1 from Arseny Solokha --- Semi-reduced testcase for the reference: #include void test01 (char *mname) { std::istringstream iss; iss.str (mname); iss.str (mname); } % g++-12.0.0 -std=c++20 -O3 -fopenacc --param max-inline-

[Bug middle-end/102285] New flag -ftrivial-auto-var-init=zero causes crash in pr82421.c

2021-10-01 Thread qing.zhao at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102285 --- Comment #16 from Qing Zhao --- > On Oct 1, 2021, at 1:51 AM, rguenth at gcc dot gnu.org > wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102285 > > --- Comment #13 from Richard Biener --- > Because the variable doesn't need to

[Bug c/102558] New: missing warning comparing T[static N] to null

2021-10-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102558 Bug ID: 102558 Summary: missing warning comparing T[static N] to null Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug ipa/102557] New: [12 Regression] ICE: Segmentation fault signal terminated program cc1plus (indefinite recursion in modref_ref_node::insert_access)

2021-10-01 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102557 Bug ID: 102557 Summary: [12 Regression] ICE: Segmentation fault signal terminated program cc1plus (indefinite recursion in modref_ref_node::insert_access) Product: gcc

[Bug tree-optimization/102556] New: equality comparison of a [static N] parameter to null not folded

2021-10-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102556 Bug ID: 102556 Summary: equality comparison of a [static N] parameter to null not folded Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/102285] New flag -ftrivial-auto-var-init=zero causes crash in pr82421.c

2021-10-01 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102285 --- Comment #15 from qinzhao at gcc dot gnu.org --- (In reply to Richard Biener from comment #13) > Because the variable doesn't need to be addressable. > > OK, so the issue is likely that we're probing the lhs with EXPAND_WRITE but > when we ex

[Bug c/102555] New: missing -Waddress comparing &p[0] to zero

2021-10-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102555 Bug ID: 102555 Summary: missing -Waddress comparing &p[0] to zero Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2021-10-01 Thread mkuvyrkov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 90378, which changed state. Bug 90378 Summary: [9/10/11/12 regression] -Os -flto miscompiles 454.calculix after r266385 on Arm https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90378 What|Removed

[Bug rtl-optimization/90378] [9/10/11/12 regression] -Os -flto miscompiles 454.calculix after r266385 on Arm

2021-10-01 Thread mkuvyrkov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90378 Maxim Kuvyrkov changed: What|Removed |Added Resolution|--- |WORKSFORME Status|NEW

[Bug target/86968] Unaligned big-endian (scalar_storage_order) access on armv7-a yields 4 ldrb instructions rather than ldr+rev

2021-10-01 Thread mkuvyrkov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86968 Maxim Kuvyrkov changed: What|Removed |Added Status|ASSIGNED|UNCONFIRMED Ever confirmed|1

[Bug target/86968] Unaligned big-endian (scalar_storage_order) access on armv7-a yields 4 ldrb instructions rather than ldr+rev

2021-10-01 Thread mkuvyrkov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86968 Maxim Kuvyrkov changed: What|Removed |Added CC||mkuvyrkov at gcc dot gnu.org

[Bug ipa/102554] New: [ 10/11/12 Regresion ] Inlining missed at -O3 with non-default --param=early-inlining-insns and pragma optimize

2021-10-01 Thread jschoen4 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102554 Bug ID: 102554 Summary: [ 10/11/12 Regresion ] Inlining missed at -O3 with non-default --param=early-inlining-insns and pragma optimize Product: gcc Version: 10.

[Bug c++/101783] unnecessary error when top level cv qualifier is dropped

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783 --- Comment #10 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:7c99923f8c544ec07109e8333acb2c2388c38a1b commit r12-4051-g7c99923f8c544ec07109e8333acb2c2388c38a1b Author: qingzhe huang Date:

[Bug c++/102553] internal compiler error: Segmentation fault for struct based parameter of template

2021-10-01 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102553 --- Comment #5 from cqwrteur --- (In reply to Martin Liška from comment #3) > Can you compile it with clang? msvc, clang they all work.

[Bug c++/102553] internal compiler error: Segmentation fault for struct based parameter of template

2021-10-01 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102553 --- Comment #4 from cqwrteur --- (In reply to Martin Liška from comment #3) > Can you compile it with clang? yes I can

[Bug c++/102538] [11/12 Regression] Wrong narrowing conversion checking for initializer with union

2021-10-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102538 --- Comment #5 from Jakub Jelinek --- Yeah, the above mentioned reshape* change results in the r32 index of d->cur being ignored when recursing into the anonymous union.

[Bug c++/102538] [11/12 Regression] Wrong narrowing conversion checking for initializer with union

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

[Bug tree-optimization/102542] [12 Regression] ICE Segmentation fault since r12-3876-g4a960d548b7d7d94

2021-10-01 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102542 --- Comment #7 from Aldy Hernandez --- On Fri, Oct 1, 2021 at 1:46 PM rguenth at gcc dot gnu.org wrote: > > Could I inconvenience you to tweak this function with your insight? It's a > > tiny function, and it seems you're much more qualified

[Bug c++/102553] internal compiler error: Segmentation fault for struct based parameter of template

2021-10-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102553 Martin Liška changed: What|Removed |Added Status|NEW |WAITING --- Comment #3 from Martin Liška

  1   2   >