[Bug tree-optimization/111070] [14 Regregression] ./gcc.target/tic6x/abi-align-1.c on x86_64 with -O1

2023-08-19 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111070 David Binderman changed: What|Removed |Added Keywords||needs-bisection --- Comment #1 from D

[Bug gcov-profile/111038] The function summary in gcov

2023-08-19 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111038 --- Comment #3 from Gejoe --- Not sure of that..Will have to check.

[Bug c++/102609] [C++23] P0847R7 - Deducing this

2023-08-19 Thread waffl3x at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102609 --- Comment #7 from waffl3x --- struct S { int f(this S*) { return 5; } }; int main() { S s{}; return s.f(); } Here is my current progress, this code works. I have a good feeling that the rest is going to be easy. Excep

[Bug c++/105838] [11/12 Regression] g++ 12.1.0 runs out of memory or time when building const std::vector of std::strings

2023-08-19 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105838 Francois-Xavier Coudert changed: What|Removed |Added CC||fxcoudert at gcc dot gnu.org

[Bug tree-optimization/107876] [13 Regression] ICE in verify_dominators, at dominance.cc:1184 (error: dominator of 4 should be 14, not 16) since r13-3749-g7314b98b1bcd382c

2023-08-19 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107876 Francois-Xavier Coudert changed: What|Removed |Added CC||fxcoudert at gcc dot gnu.org

[Bug c++/102609] [C++23] P0847R7 - Deducing this

2023-08-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102609 --- Comment #8 from Jonathan Wakely --- I don't see anything forbidding that declaration, but I think it can only be called if S& has an implicit conversion to S* because the object parameter is an lvalue of type S, and so it can only match S* v

[Bug c++/102609] [C++23] P0847R7 - Deducing this

2023-08-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102609 --- Comment #9 from Jonathan Wakely --- If we're right about that, then I agree that a warning would be useful for classes that have no such implicit conversion from S to S*. I think the warning would give a false positive in the case below, so

[Bug c++/111069] Mangling of static structured bindings

2023-08-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111069 --- Comment #4 from Jakub Jelinek --- Created attachment 55763 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55763&action=edit gcc14-pr111069-wip.patch WIP patch. Seems to get the basics right, but mangling of guard vars (_ZGV*) and lif

[Bug c/95130] GCC ignoring attribute(format(gnu_printf)) on printf in mingw

2023-08-19 Thread tanksherman27 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95130 --- Comment #19 from Julian Waters --- (In reply to Tomas Kalibera from comment #17) > (In reply to Tomas Kalibera from comment #16) > > (In reply to Julian Waters from comment #15) > > > It seems like the patch also doesn't fix the strftime case

[Bug rtl-optimization/111074] New: RISC-V: segmentation fault during RTL pass: vsetvl

2023-08-19 Thread maksim.shabunin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111074 Bug ID: 111074 Summary: RISC-V: segmentation fault during RTL pass: vsetvl Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug tree-optimization/110932] [14 Regression] Dead Code Elimination Regression since r14-2230-g7e904d6c7f2

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

[Bug tree-optimization/110932] [14 Regression] Dead Code Elimination Regression since r14-2230-g7e904d6c7f2

2023-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110932 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > So the general rule is: > (simplify > (eq:c @0 (convert (cmp @1 @2))) > (if (bitwise_equal_p (@0, @1)) > (with { > bool zeroalwaystrue = ... > bool ze

[Bug c++/111075] New: ICE on g++.dg/torture/tail-padding1.C on darwin

2023-08-19 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111075 Bug ID: 111075 Summary: ICE on g++.dg/torture/tail-padding1.C on darwin Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/111075] ICE on g++.dg/torture/tail-padding1.C on darwin

2023-08-19 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111075 Francois-Xavier Coudert changed: What|Removed |Added Target||x86_64-apple-darwin20 Eve

[Bug c++/102609] [C++23] P0847R7 - Deducing this

2023-08-19 Thread gasper.azman at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102609 --- Comment #10 from Gašper Ažman --- Yes, the explicit object parameter always receives the cv-l/r qualified reference to the object of the call. Implicit conversions are then of course allowed, same as any other parameter. S* is not that usefu

[Bug target/111065] [RISCV] t-linux-multilib specifies incorrect multilib reuse patterns

2023-08-19 Thread tommy_murphy at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111065 --- Comment #6 from Tommy Murphy --- Hi Kito/Palmer - should I maybe close this issue here and take it up in the riscv-gnu-toolchain/riscv-gcc repos instead? * https://github.com/riscv-collab/riscv-gnu-toolchain * https://github.com/riscv-coll

[Bug rtl-optimization/111076] New: RISC-V: segmentation fault during RTL pass: shorten (debug build)

2023-08-19 Thread maksim.shabunin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111076 Bug ID: 111076 Summary: RISC-V: segmentation fault during RTL pass: shorten (debug build) Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/111077] New: atomic_ref compare_exchange_strong doesn't properly ignore padding bits

2023-08-19 Thread comexk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111077 Bug ID: 111077 Summary: atomic_ref compare_exchange_strong doesn't properly ignore padding bits Product: gcc Version: unknown Status: UNCONFIRMED Severity: nor

[Bug c/95130] GCC ignoring attribute(format(gnu_printf)) on printf in mingw

2023-08-19 Thread tomas.kalibera at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95130 --- Comment #20 from Tomas Kalibera --- (In reply to Julian Waters from comment #19) > (In reply to Tomas Kalibera from comment #17) > > (In reply to Tomas Kalibera from comment #16) > > > (In reply to Julian Waters from comment #15) > > > > It s

[Bug c++/111077] atomic_ref compare_exchange_strong doesn't properly ignore padding bits

2023-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111077 Andrew Pinski changed: What|Removed |Added Component|libstdc++ |c++ --- Comment #1 from Andrew Pinski

[Bug c++/111077] atomic_ref compare_exchange_strong doesn't properly ignore padding bits

2023-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111077 --- Comment #2 from Andrew Pinski --- https://lists.llvm.org/pipermail/cfe-dev/2018-December/060537.html

[Bug libstdc++/111077] atomic_ref compare_exchange_strong doesn't properly ignore padding bits

2023-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111077 Andrew Pinski changed: What|Removed |Added Component|c++ |libstdc++ --- Comment #3 from Andrew Pi

[Bug libstdc++/111077] atomic_ref compare_exchange_strong doesn't properly ignore padding bits

2023-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111077 --- Comment #4 from Andrew Pinski --- reading through all of these discussions almost want to say the paper on atomic_ref and padding bits of compare_and_exchange still missed the point of this issue. Maybe this is undefined and maybe this is de

[Bug testsuite/111067] g++.dg/opt/icf{1,2,3}.C tests fail on darwin

2023-08-19 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111067 --- Comment #2 from Francois-Xavier Coudert --- I tried with: diff --git a/gcc/testsuite/g++.dg/opt/icf1.C b/gcc/testsuite/g++.dg/opt/icf1.C index fbb275e635a..d4e4bbf91b9 100644 --- a/gcc/testsuite/g++.dg/opt/icf1.C +++ b/gcc/testsuite/g++.dg/

[Bug other/106899] Snapshots do not contain pre-generated man pages & info pages

2023-08-19 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106899 Mark Wielaard changed: What|Removed |Added CC||mark at gcc dot gnu.org --- Comment #6

[Bug libstdc++/111077] atomic_ref compare_exchange_strong doesn't properly ignore padding bits

2023-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111077 --- Comment #5 from Andrew Pinski --- See https://gcc.gnu.org/pipermail/libstdc++/2022-October/054899.html Also

[Bug testsuite/111066] g++.dg/special/initpri3.C fails on darwin

2023-08-19 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111066 --- Comment #3 from Francois-Xavier Coudert --- Makes sense, patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2023-August/627922.html

[Bug target/111078] New: csneg is not used for (cset) * 2 - 1

2023-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111078 Bug ID: 111078 Summary: csneg is not used for (cset) * 2 - 1 Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Prio

[Bug target/111078] csneg is not used for (cset) * 2 - 1

2023-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111078 --- Comment #1 from Andrew Pinski --- Another form: ``` int f1(int a, int b) { int t = a != b; return (-t)|1; } ```

[Bug c++/102609] [C++23] P0847R7 - Deducing this

2023-08-19 Thread waffl3x at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102609 --- Comment #11 from waffl3x --- (In reply to Jonathan Wakely from comment #9) > If we're right about that, then I agree that a warning would be useful for > classes that have no such implicit conversion from S to S*. > > I think the warning wo

[Bug analyzer/104042] Four memcpy/memset analyzer failures on darwin

2023-08-19 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104042 --- Comment #5 from Francois-Xavier Coudert --- Patch posted for Darwin at https://gcc.gnu.org/pipermail/gcc-patches/2023-August/627923.html

[Bug c++/111079] New: Failing to reject a defaulted/deleted local function definition if it is a friend of a local class

2023-08-19 Thread janschultke at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111079 Bug ID: 111079 Summary: Failing to reject a defaulted/deleted local function definition if it is a friend of a local class Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug tree-optimization/106677] Abstraction overhead with std::views::join

2023-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106677 --- Comment #3 from Andrew Pinski --- On the trunk we now get: _25 = SR.116_117 == 0; _27 = (unsigned char) _25; _32 = _27 | SR.116_117; Rather than: _119 = MAX_EXPR <1, SR.115_117>; But we should instead just get: SR.116_117 | 1 Thou

[Bug c/95130] GCC ignoring attribute(format(gnu_printf)) on printf in mingw

2023-08-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95130 --- Comment #21 from CVS Commits --- The master branch has been updated by Jonathan Yong : https://gcc.gnu.org/g:966f3c134bb4802ac7ba0517de4e8e3f6384cfa3 commit r14-3334-g966f3c134bb4802ac7ba0517de4e8e3f6384cfa3 Author: Tomas Kalibera Date:

[Bug libstdc++/100249] missing forwarding std::__invoke result in ranges::is_permutation and ranges::clamp

2023-08-19 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100249 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #13 from Jia

[Bug target/90835] Incompatibilities with macOS 10.15 headers

2023-08-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90835 --- Comment #35 from CVS Commits --- The master branch has been updated by Eric Gallager : https://gcc.gnu.org/g:9a5d1fceb86a61c9ead380df89ce3c4ba387d2e5 commit r14-3335-g9a5d1fceb86a61c9ead380df89ce3c4ba387d2e5 Author: Eric Gallager Date: W

[Bug target/90835] Incompatibilities with macOS 10.15 headers

2023-08-19 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90835 Eric Gallager changed: What|Removed |Added Assignee|egallager at gcc dot gnu.org |unassigned at gcc dot gnu.org