[Bug middle-end/104800] reodering of potentially trapping operations and volatile stores

2022-03-05 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104800 --- Comment #5 from Martin Uecker --- Different context, but also relevant: https://gcc.gnu.org/pipermail/gcc-patches/2022-February/590757.html "The problem is there may be observable side effects on the *0 path between the test and the

[Bug middle-end/104800] reodering of potentially trapping operations and volatile stores

2022-03-05 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104800 --- Comment #4 from Martin Uecker --- Patch (by Martin Sebor) diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index ab24fa98a1f..8f437791d94 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -3971,6 +3971,13 @@ compute_avail

[Bug c++/104803] if consteval error from branch that isn't evaluated anyway

2022-03-05 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104803 --- Comment #4 from Barry Revzin --- For instance, clang accepts this version: consteval int p(int i) { return i > 2; } constexpr auto none_of(int const* f, int const* l) -> bool { for (; f != l; ++f) { int i = *f; if

[Bug c++/104803] if consteval error from branch that isn't evaluated anyway

2022-03-05 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104803 --- Comment #3 from Barry Revzin --- clang is also wrong. p(i) doesn't have to be a constant expression there. The rule (http://eel.is/c++draft/expr.const#13) is "An immediate invocation shall be a constant expression." but an expression is

[Bug c++/104803] if consteval error from branch that isn't evaluated anyway

2022-03-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104803 --- Comment #2 from Andrew Pinski --- clang does a better job of explaining though: :6:17: error: call to consteval function '(anonymous class)::operator()' is not a constant expression if (p(i)) { // <== line 5 ^

[Bug c++/104803] if consteval error from branch that isn't evaluated anyway

2022-03-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104803 --- Comment #1 from Andrew Pinski --- clang fails for the same reason.

[Bug c++/104803] New: if consteval error from branch that isn't evaluated anyway

2022-03-05 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104803 Bug ID: 104803 Summary: if consteval error from branch that isn't evaluated anyway Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/104800] reodering of potentially trapping operations and volatile stores

2022-03-05 Thread paulmckrcu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104800 Paul McKenney changed: What|Removed |Added CC||paulmckrcu at gmail dot com ---

[Bug libstdc++/104801] std::ranges::view_interface::empty is overconstrained

2022-03-05 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104801 康桓瑋 changed: What|Removed |Added CC||hewillk at gmail dot com --- Comment #1 from 康桓瑋

[Bug c++/104798] Regression: [[gnu::always_inline]] ignored on lambda, no warning emitted

2022-03-05 Thread jstein27 at binghamton dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104798 --- Comment #3 from Jonathan Stein --- Last update on this for today from me: If there is a difference between "type of" the operator and the operator itself language wise, then there's a different but related regression that appears to break

[Bug target/104790] [12 Regression] ICE (insn does not satisfy its constraints) with MVE since r12-4374-g5efeaa0d29525fa28e189e6278c1b1651fb0d7bf

2022-03-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104790 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug c++/104798] Regression: [[gnu::always_inline]] ignored on lambda, no warning emitted

2022-03-05 Thread jstein27 at binghamton dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104798 --- Comment #2 from Jonathan Stein --- Further, after some back and forth with a colleague, I don't know if this is an extension or not. I'm not too clear on the language, but from the C++20 published draft n4849: > An attribute-specifier-seq

[Bug c++/104792] Wunused-local-typedefs with typedef/type alias defined in struct that is defined in a function scope

2022-03-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104792 Andrew Pinski changed: What|Removed |Added Keywords|needs-reduction | Summary|[g++ and/or

[Bug c++/104792] [g++ and/or libstdc++] Wunused-local-typedefs + C++20 concepts = annoying

2022-03-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104792 Andrew Pinski changed: What|Removed |Added Keywords||needs-reduction Ever confirmed|0

[Bug target/104253] libgcc missing __floatdiif

2022-03-05 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104253 Michael Meissner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/104253] libgcc missing __floatdiif

2022-03-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104253 --- Comment #15 from CVS Commits --- The releases/gcc-10 branch has been updated by Michael Meissner : https://gcc.gnu.org/g:b3531eb23a23be0219c6ab0ff85110c2648086e6 commit r10-10487-gb3531eb23a23be0219c6ab0ff85110c2648086e6 Author: Michael

[Bug target/99708] __SIZEOF_FLOAT128__ not defined on powerpc64le-linux

2022-03-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99708 --- Comment #29 from CVS Commits --- The releases/gcc-10 branch has been updated by Michael Meissner : https://gcc.gnu.org/g:641b407763ecfee5d4ac86d8ffe9eb1eeea5fd10 commit r10-10486-g641b407763ecfee5d4ac86d8ffe9eb1eeea5fd10 Author: Michael

[Bug c++/104792] [g++ and/or libstdc++] Wunused-local-typedefs + C++20 concepts = annoying

2022-03-05 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104792 --- Comment #2 from Arthur O'Dwyer --- @Andrew Pinski: Sorry, looks like my description ended up not matching the Godbolt (I said "three lines marked X," but there are only two lines marked X, for example.) Here's the Godbolt with one of the

[Bug c++/104802] New: Non-type template parameter of reference type disallowed under certain conditions

2022-03-05 Thread sneves at dei dot uc.pt via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104802 Bug ID: 104802 Summary: Non-type template parameter of reference type disallowed under certain conditions Product: gcc Version: 11.2.1 Status: UNCONFIRMED

[Bug c++/104636] implicit use of explicit constructor

2022-03-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104636 Andrew Pinski changed: What|Removed |Added Ever confirmed|1 |0 Status|WAITING

[Bug c++/104636] implicit use of explicit constructor

2022-03-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104636 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-03-05 Ever confirmed|0

[Bug c++/104636] implicit use of explicit constructor

2022-03-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104636 --- Comment #1 from Andrew Pinski --- #include #include #include //kde-misc/kdeconnect struct foo { uint8_t v_; explicit foo( char const * p = nullptr, uint8_t v = 0 ) : v_{v}{} foo( foo const & ) = default; }; foo get_value()

[Bug rtl-optimization/104777] [9/10/11/12 Regression] gcc crashes while compiling a custom coroutine library sample

2022-03-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104777 Andrew Pinski changed: What|Removed |Added Known to work|8.5.0 |8.1.0, 8.3.0 Known to fail|

[Bug rtl-optimization/104777] [9/10/11/12 Regression] gcc crashes while compiling a custom coroutine library sample

2022-03-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104777 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW

[Bug rtl-optimization/104777] [9/10/11/12 Regression] gcc crashes while compiling a custom coroutine library sample

2022-03-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104777 Andrew Pinski changed: What|Removed |Added Known to fail||9.1.0, 9.4.0

[Bug rtl-optimization/104777] [10/11/12 Regression] gcc crashes while compiling a custom coroutine library sample since r10-5137-g43aae289866f5ea5

2022-03-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104777 Andrew Pinski changed: What|Removed |Added Component|c++ |rtl-optimization --- Comment #4 from

[Bug c++/104777] [10/11/12 Regression] gcc crashes while compiling a custom coroutine library sample since r10-5137-g43aae289866f5ea5

2022-03-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104777 Andrew Pinski changed: What|Removed |Added Summary|gcc crashes while compiling |[10/11/12 Regression] gcc

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-05 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #23 from Roland Illig --- >From c-parser.cc and cp/parser.cc: > %<#pragma omp target%> with modifier other than % or %on > % clause Missing space between "%" and "on".

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-05 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #22 from Roland Illig --- >From v850-c.cc: > %<#pragma%> GHS end found without previous startXXX > %<#pragma%> GHS endXXX does not match previous startXXX > junk at end of %<#pragma%> ghs section > malformed %<#pragma%> ghs

[Bug libstdc++/104801] New: std::ranges::view_interface::empty is overconstrained

2022-03-05 Thread reconnoo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104801 Bug ID: 104801 Summary: std::ranges::view_interface::empty is overconstrained Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/104800] reodering of potentially trapping operations and volatile stores

2022-03-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104800 --- Comment #2 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc/2022-January/238038.html

[Bug tree-optimization/104800] reodering of potentially trapping operations and volatile stores

2022-03-05 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104800 --- Comment #1 from Martin Uecker --- Godbolt link: https://godbolt.org/z/111a7a3Y8

[Bug tree-optimization/104800] New: reodering of potentially trapping operations and volatile stores

2022-03-05 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104800 Bug ID: 104800 Summary: reodering of potentially trapping operations and volatile stores Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal

[Bug libcc1/104799] Header issue with x86_64-linux-musl based cross-compiler

2022-03-05 Thread mose at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104799 --- Comment #2 from Mosè Giordano --- Created attachment 52568 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52568=edit Patch for poisoned calloc on Musl systems Following the example of

[Bug libcc1/104799] Header issue with x86_64-linux-musl based cross-compiler

2022-03-05 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104799 --- Comment #1 from Francois-Xavier Coudert --- Should have added a link to the original report: https://github.com/iains/gcc-darwin-arm64/issues/84

[Bug libcc1/104799] New: Header issue with x86_64-linux-musl based cross-compiler

2022-03-05 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104799 Bug ID: 104799 Summary: Header issue with x86_64-linux-musl based cross-compiler Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/104798] Regression: [[gnu::always_inline]] ignored on lambda, no warning emitted

2022-03-05 Thread jstein27 at binghamton dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104798 --- Comment #1 from Jonathan Stein --- Possibly related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90333

[Bug c++/104798] New: Regression: [[gnu::always_inline]] ignored on lambda, no warning emitted

2022-03-05 Thread jstein27 at binghamton dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104798 Bug ID: 104798 Summary: Regression: [[gnu::always_inline]] ignored on lambda, no warning emitted Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity:

[Bug target/99708] __SIZEOF_FLOAT128__ not defined on powerpc64le-linux

2022-03-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99708 --- Comment #28 from CVS Commits --- The releases/gcc-11 branch has been updated by Michael Meissner : https://gcc.gnu.org/g:fa944e8660e158655beda58e12b69fd18dd49108 commit r11-9639-gfa944e8660e158655beda58e12b69fd18dd49108 Author: Michael

[Bug target/104253] libgcc missing __floatdiif

2022-03-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104253 --- Comment #14 from CVS Commits --- The releases/gcc-11 branch has been updated by Michael Meissner : https://gcc.gnu.org/g:a1984704a7c2b9be8c89b3381e9c453ccbc5e7bf commit r11-9638-ga1984704a7c2b9be8c89b3381e9c453ccbc5e7bf Author: Michael

[Bug target/104781] [12 regression] SEGV in _Unwind_GetGR during i386 Ada bootstrap

2022-03-05 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104781 --- Comment #7 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #6 from H.J. Lu --- > Created attachment 52567 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52567=edit > The v2 patch > > Please test this patch. This version

[Bug target/104780] [nvptx, sm_30] FAIL: gcc.dg/loop-unswitch-4.c execution test

2022-03-05 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104780 --- Comment #4 from Tom de Vries --- (In reply to Andrew Pinski from comment #3) > So if you file a bug there Done: https://sourceware.org/bugzilla/show_bug.cgi?id=28945

[Bug target/70322] STV doesn't optimize andn

2022-03-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70322 --- Comment #11 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:8ea4a34bd0b0a46277b5e077c89cbd86dfb09c48 commit r12-7502-g8ea4a34bd0b0a46277b5e077c89cbd86dfb09c48 Author: Roger Sayle Date: Sat

[Bug target/65105] [i386] XMM registers are not used for 64bit computations on 32bit target

2022-03-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65105 --- Comment #6 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:8ea4a34bd0b0a46277b5e077c89cbd86dfb09c48 commit r12-7502-g8ea4a34bd0b0a46277b5e077c89cbd86dfb09c48 Author: Roger Sayle Date: Sat

[Bug testsuite/104732] gcc.target/i386/pr100711-1.c FAILs

2022-03-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104732 --- Comment #5 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:8ea4a34bd0b0a46277b5e077c89cbd86dfb09c48 commit r12-7502-g8ea4a34bd0b0a46277b5e077c89cbd86dfb09c48 Author: Roger Sayle Date: Sat