[Bug tree-optimization/116460] [14/15 Regression] LTO ICE with -g during GIMPLE pass: forwprop

2024-08-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #23 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:172637cf0d9b7b2798f83b9c5f9598b449675cb0 commit r15-3210-g172637cf0d9b7b2798f83b9c5f9598b449675cb0 Author: Richard Biener Date:

[Bug tree-optimization/116460] [14 Regression] LTO ICE with -g during GIMPLE pass: forwprop

2024-08-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 Richard Biener changed: What|Removed |Added Known to work||15.0 Summary|[14/15 Regress

[Bug c++/116490] ICE in build_contract_condition_function, at cp/contracts.cc:1463 for explicitly instantiated Function Contracts

2024-08-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116490 Richard Biener changed: What|Removed |Added Known to fail||14.2.1, 15.0 Keywords|

[Bug ada/116498] gnat enters busy wait trying to compile for msp430-none-elf with -mlarge flag

2024-08-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116498 Richard Biener changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org --- Comme

[Bug c++/116482] Bogus -Wunused-parameter with C++ coroutines

2024-08-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116482 --- Comment #2 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:8d6d6c864442a1cc987b3e6bcb1d903ceb975e4a commit r15-3211-g8d6d6c864442a1cc987b3e6bcb1d903ceb975e4a Author: Iain Sandoe Date: Mon

[Bug target/116493] widening reduction add could be better

2024-08-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116493 --- Comment #2 from Richard Biener --- Note WIDEN_SUM_EXPR is listed as lane-reducing when applied to vectors (tree.def isn't clear and of course generic.texi doesn't document it). So I don't think the proposed simplification works. It would w

[Bug c++/116482] Bogus -Wunused-parameter with C++ coroutines

2024-08-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116482 Iain Sandoe changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/115908] [coroutines] Wrong behavior of using get_return_object() when creating coroutines

2024-08-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115908 Iain Sandoe changed: What|Removed |Added Status|NEW |WAITING --- Comment #6 from Iain Sandoe

[Bug c++/113773] coroutines: promise deconstructed twice if throwing from return object

2024-08-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113773 Iain Sandoe changed: What|Removed |Added Status|NEW |WAITING --- Comment #4 from Iain Sandoe

[Bug c++/110872] coroutine postcondition is not evaluated

2024-08-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110872 Iain Sandoe changed: What|Removed |Added Status|NEW |WAITING

[Bug c++/110871] coroutine precondition should be evaluated before the initial suspend

2024-08-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110871 Iain Sandoe changed: What|Removed |Added Status|NEW |WAITING

[Bug c++/110635] Segmentation fault when the awaiter's await_resume in initial-suspend returns a class type.

2024-08-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110635 Iain Sandoe changed: What|Removed |Added Status|NEW |WAITING CC|

[Bug c++/109682] coroutines: ICE in morph_fn_to_coro on wrong return type for get_return_object_on_allocation_failure

2024-08-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109682 Iain Sandoe changed: What|Removed |Added Status|NEW |WAITING Assignee|unassigned at

[Bug c++/100476] coroutines: questionable handling of void get_return_object

2024-08-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100476 Iain Sandoe changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #10 from Iain Sandoe

[Bug c++/102051] [coroutines] ICE in gimplify_var_or_parm_decl, at gimplify.c:2848

2024-08-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102051 Iain Sandoe changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |iains at gcc dot gnu.org

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-27 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 Hongtao Liu changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comment #

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 --- Comment #7 from Richard Biener --- Hmm, why would a tail call need to save extra regs over what the callers caller already saved? We're returning to that after all.

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-27 Thread andi at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 --- Comment #8 from andi at firstfloor dot org --- On Tue, Aug 27, 2024 at 07:58:30AM +, liuhongt at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 > > Hongtao Liu changed: > >What|Removed

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-27 Thread andi at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 --- Comment #9 from andi at firstfloor dot org --- On Tue, Aug 27, 2024 at 08:02:53AM +, rguenth at gcc dot gnu.org wrote: > Hmm, why would a tail call need to save extra regs over what the callers > caller > already saved? We're returning

[Bug gcov-profile/115047] Inconsistent MC/DC reported by GCC and LLVM

2024-08-27 Thread j at lambda dot is via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115047 --- Comment #4 from Jørgen Kvalsvik --- > I guess it would be desirable to (1) let LLVM support masking MC/DC and (2) > let gcov support unique-cause MC/DC. The first seems easier and I might try implementing a prototype. There is room for bot

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-27 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #10 f

[Bug rtl-optimization/116321] [lra][avr] internal compiler error: in avr_out_lpm_no_lpmx, at config/avr/avr.cc:4572

2024-08-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116321 --- Comment #6 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:9db997e5ac4a206b9428eb2447fcdc90e37725f4 commit r15-3212-g9db997e5ac4a206b9428eb2447fcdc90e37725f4 Author: Richard Sandiford Da

[Bug target/116413] [LRA] [M68K] ICE: unrecognized insn in lra_set_insn_recog_data, at lra.cc:1036

2024-08-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116413 --- Comment #19 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:708ee71808ea61758e73d0e36274b4194b28576a commit r15-3213-g708ee71808ea61758e73d0e36274b4194b28576a Author: Richard Sandiford D

[Bug target/116103] [15 Regression] GCN vs. "Internal-fn: Only allow modes describe types for internal fn[PR115961]"

2024-08-27 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116103 Thomas Schwinge changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug testsuite/116000] [15 Regression] gcc.dg/vect/vect-reduc-chain-dot-slp-1.c etc. FAIL

2024-08-27 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116000 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Assignee|unassigne

[Bug target/116021] Ada build on Darwin: gen_il-main: Symbol not found: ___builtin_nested_func_ptr_created

2024-08-27 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116021 --- Comment #11 from Eric Gallager --- Update: I finally managed to bootstrap using one of Simon Wright's releases: https://github.com/simonjwright/distributing-gcc/releases I still think there might be a bug in the build system somewhere leadin

[Bug c++/115908] [coroutines] Wrong behavior of using get_return_object() when creating coroutines

2024-08-27 Thread ddvamp007 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115908 --- Comment #7 from Artyom Kolpakov --- (In reply to Iain Sandoe from comment #6) > fixed on trunk, waiting for possible back-port I'm not sure if I should write this here, but now a warning has appeared in the original example: unused paramete

[Bug c++/115908] [coroutines] Wrong behavior of using get_return_object() when creating coroutines

2024-08-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115908 --- Comment #8 from Iain Sandoe --- (In reply to Artyom Kolpakov from comment #7) > (In reply to Iain Sandoe from comment #6) > > fixed on trunk, waiting for possible back-port > > I'm not sure if I should write this here, but now a warning has

[Bug c++/85973] [[nodiscard]] on class shall emit a warning for unused anonymous variable

2024-08-27 Thread leonid.satanovsky at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85973 --- Comment #6 from Leonid Satanovsky --- As you are marking other bugs as duplicates of the current bug, please don't forget to transfer the useful test cases not mentioned in current bug (e.g. GccFailedNoDiscard2 case seen below): struct [[nod

[Bug c++/116499] New: [modules] Replace CMI term with BMI in documentation, commit messages, etc

2024-08-27 Thread boris at kolpackov dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116499 Bug ID: 116499 Summary: [modules] Replace CMI term with BMI in documentation, commit messages, etc Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: nor

[Bug c++/116441] [[nodiscard]] attribute ignored in some cases

2024-08-27 Thread leonid.satanovsky at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116441 --- Comment #7 from Leonid Satanovsky --- (In reply to Andrew Pinski from comment #6) > This is a dup of bug 85973. > > I even make mention of moving the attribute to the constructor makes the > warning/error happen: > > Note if we move the att

[Bug c++/116490] ICE in build_contract_condition_function, at cp/contracts.cc:1463 for explicitly instantiated Function Contracts

2024-08-27 Thread dinka.ranns at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116490 Nina Ranns changed: What|Removed |Added CC||dinka.ranns at gmail dot com --- Comment #

[Bug tree-optimization/116500] New: gcc.dg/vect/vect-switch-ifcvt-1.c FAILs

2024-08-27 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116500 Bug ID: 116500 Summary: gcc.dg/vect/vect-switch-ifcvt-1.c FAILs Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-opt

[Bug tree-optimization/116500] gcc.dg/vect/vect-switch-ifcvt-1.c FAILs

2024-08-27 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116500 --- Comment #1 from Rainer Orth --- Created attachment 59010 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59010&action=edit 32-bit sparc-sun-solaris2.11 vect-switch-ifcvt-1.c.180t.vect

[Bug tree-optimization/116500] gcc.dg/vect/vect-switch-ifcvt-1.c FAILs

2024-08-27 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116500 Rainer Orth changed: What|Removed |Added Target Milestone|--- |15.0

[Bug target/55212] [SH] Switch to LRA

2024-08-27 Thread kkojima at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #203 from Kazumoto Kojima --- (In reply to John Paul Adrian Glaubitz from comment #201) > Created attachment 59006 [details] > Diff for bootstrap comparison failure of gcc/gimple-lower-bitint.c I tried to build the stage3 gcc on qemu

[Bug target/55212] [SH] Switch to LRA

2024-08-27 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #204 from John Paul Adrian Glaubitz --- (In reply to Kazumoto Kojima from comment #203) > (In reply to John Paul Adrian Glaubitz from comment #201) > > Created attachment 59006 [details] > > Diff for bootstrap comparison failure of gc

[Bug libstdc++/103934] std::atomic_flag: multiple C++20 functions missing

2024-08-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103934 --- Comment #9 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:470a27859d8a47a99f389f1dc6edb82c08b16e21 commit r15-3217-g470a27859d8a47a99f389f1dc6edb82c08b16e21 Author: Jonathan Wakely Date:

[Bug driver/110522] `-fdiagnostics-format=sarif-file`: file name conflicts / races

2024-08-27 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110522 David Malcolm changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug driver/111527] COLLECT_GCC_OPTIONS option hits single-variable limits too early

2024-08-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111527 --- Comment #17 from Sam James --- See https://gcc.gnu.org/contribute.html#patches ("Pinging patches, Getting patches applied"). You can ping patches on the ML by just saying "ping" or similar in response to the original message, after 2 weeks o

[Bug driver/110522] `-fdiagnostics-format=sarif-file`: file name conflicts / races

2024-08-27 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110522 --- Comment #4 from David Malcolm --- I wonder if extending -fdiagnostics-format to support extra args would be a way out of this e.g. -fdiagnostics-format=sarif-file=path/to/foo.sarif But it would also be nice to support multiple output str

[Bug libstdc++/116494] std::string::replace uses memcpy incorrectly and warns about it

2024-08-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116494 --- Comment #1 from Jonathan Wakely --- (In reply to Архипов Дмитрий from comment #0) > When compiled with -std=c++20 -O3 -Wall -Werror this code: > > #include > > bool foo(std::string s1) > { > s1.replace(1, 1, s1.data(), s1.size()); > r

[Bug libstdc++/115098] std::vector::iterator::reference is default-constructible

2024-08-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115098 --- Comment #8 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:75ef21665cb924265b818b08babbc7ec3108c876 commit r15-3218-g75ef21665cb924265b818b08babbc7ec3108c876 Author: Jonathan Wakely Date:

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug libstdc++/116494] std::string::replace uses memcpy incorrectly and warns about it

2024-08-27 Thread grisumbras at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116494 --- Comment #2 from Архипов Дмитрий --- Ah, so it warns that if that branch would have been taken, it would cause a problem, but it doesn't actually take the branch. So it's just a false positive warning?

[Bug target/116413] [LRA] [M68K] ICE: unrecognized insn in lra_set_insn_recog_data, at lra.cc:1036

2024-08-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116413 --- Comment #20 from GCC Commits --- The master branch has been updated by Michael Matz : https://gcc.gnu.org/g:359209bdc7245f8768b5044acded8509545e4990 commit r15-3219-g359209bdc7245f8768b5044acded8509545e4990 Author: Michael Matz Date: Th

[Bug target/116429] [LRA] [M86k] Wrong spill offset

2024-08-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116429 --- Comment #2 from GCC Commits --- The master branch has been updated by Michael Matz : https://gcc.gnu.org/g:e223ac9c225352e3aeea7180a3b56a96ecdbe2fd commit r15-3221-ge223ac9c225352e3aeea7180a3b56a96ecdbe2fd Author: Michael Matz Date: Thu

[Bug target/116374] [LRA] [M68K] Wrong %argptr elimination

2024-08-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116374 --- Comment #7 from GCC Commits --- The master branch has been updated by Michael Matz : https://gcc.gnu.org/g:542773888190ef67dca194f4861abab104fa9b5b commit r15-3220-g542773888190ef67dca194f4861abab104fa9b5b Author: Michael Matz Date: Thu

[Bug libstdc++/116494] std::string::replace uses memcpy incorrectly and warns about it

2024-08-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116494 --- Comment #3 from Jonathan Wakely --- Yes. It's a false positive warning about unreachable dead code. We have dozens of these warnings for -Wrestrict, -Wstringop-overflow, and related warnings.

[Bug target/116374] [LRA] [M68K] Wrong %argptr elimination

2024-08-27 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116374 Andreas Schwab changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/116429] [LRA] [M86k] Wrong spill offset

2024-08-27 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116429 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/113939] Switch m68k to LRA

2024-08-27 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113939 Bug 113939 depends on bug 116374, which changed state. Bug 116374 Summary: [LRA] [M68K] Wrong %argptr elimination https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116374 What|Removed |Added

[Bug target/113939] Switch m68k to LRA

2024-08-27 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113939 Bug 113939 depends on bug 116429, which changed state. Bug 116429 Summary: [LRA] [M86k] Wrong spill offset https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116429 What|Removed |Added ---

[Bug target/116174] [14/15 regression] Alignment request is added before endbr with -fcf-protection=branch since r15-888-gb644126237a1aa

2024-08-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116174 --- Comment #13 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:d6bb1e257fc414d21bc31faa7ddecbc93a197e3c commit r15-3222-gd6bb1e257fc414d21bc31faa7ddecbc93a197e3c Author: H.J. Lu Date: Tue Aug 27 0

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-27 Thread andi at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 --- Comment #12 from andi at firstfloor dot org --- > no_call{er,ee}_saved_registers are i386-specific so how do we handle other > ports? Are we going to require implementing them for all ports? It's an optimization, so nothing is required. But

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-27 Thread andi at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 --- Comment #13 from andi at firstfloor dot org --- > --- Comment #11 from H.J. Lu --- > Please provide a small testcase to show the issue. You mean a test case for no_caller_saved_registers failing with SSE? It's just __attribute__((no_call

[Bug tree-optimization/116501] New: wrong code with __builtin_sub_overflow_p() and _BitInt() at -O1

2024-08-27 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116501 Bug ID: 116501 Summary: wrong code with __builtin_sub_overflow_p() and _BitInt() at -O1 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 --- Comment #14 from Andrew Pinski --- (In reply to andi from comment #13) > Or a test case for the intended register allocation benefits? > That's more complicated and won't be small. So what if it won't be small but it will be understanding t

[Bug tree-optimization/116501] wrong code with __builtin_sub_overflow_p() and _BitInt() at -O1

2024-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116501 Andrew Pinski changed: What|Removed |Added Target|x86_64-pc-linux-gnu |x86_64-pc-linux-gnu |

[Bug libstdc++/69600] [5 Regression] Incorrect use of copy-assignment instead of move assignment from function

2024-08-27 Thread sshannin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69600 --- Comment #7 from sshannin at gmail dot com --- Comment on attachment 37541 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37541 preprocessed source > #include > #include > #include >typedef std::unique_ptr inner_value_t; >typedef std

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 --- Comment #15 from H.J. Lu --- (In reply to andi from comment #13) > > --- Comment #11 from H.J. Lu --- > > Please provide a small testcase to show the issue. > > You mean a test case for no_caller_saved_registers failing with SSE? No. We

[Bug c++/116499] [modules] Replace CMI term with BMI in documentation, commit messages, etc

2024-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116499 --- Comment #1 from Andrew Pinski --- Note BMI is used as a x86_64 target instruction set; Bit manipulation instruction set .

[Bug c++/116502] New: [15 Regression] -Wunused-result warning is not supressed if coroutine awaiter returns a reference

2024-08-27 Thread daklishch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116502 Bug ID: 116502 Summary: [15 Regression] -Wunused-result warning is not supressed if coroutine awaiter returns a reference Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug middle-end/116503] New: wrong code with -O -fnon-call-exceptions -finstrument-functions -floop-nest-optimize -fno-tree-scev-cprop

2024-08-27 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116503 Bug ID: 116503 Summary: wrong code with -O -fnon-call-exceptions -finstrument-functions -floop-nest-optimize -fno-tree-scev-cprop Product: gcc Version: 15.0

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-27 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 --- Comment #16 from Andi Kleen --- Created attachment 59013 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59013&action=edit test case This test case using Pinski's clobber trick shows the benefit. If you compile with -O2 -mgeneral-regs

[Bug libstdc++/87614] User related warnings are hidden in system headers

2024-08-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87614 --- Comment #5 from Jonathan Wakely --- We have a concept of "inlining locations" in the compiler, and we only consider a warning location to be in a system header if all call sites along the inlining stack are in system headers. It seems that co

[Bug c++/116502] [15 Regression] -Wunused-result warning cannot be suppressed if coroutine awaiter returns a reference after r15-2318-g2664c1bf83855b

2024-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116502 Andrew Pinski changed: What|Removed |Added Summary|[15 Regression] |[15 Regression] |-Wun

[Bug target/116504] New: wrong code with -mcpu=sifive-x280

2024-08-27 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116504 Bug ID: 116504 Summary: wrong code with -mcpu=sifive-x280 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3

[Bug target/116504] wrong code with -mcpu=sifive-x280

2024-08-27 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116504 --- Comment #1 from Zdenek Sojka --- Created attachment 59015 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59015&action=edit another reduced testcase

[Bug c++/116208] `__ct_base ` is used instead of the ctor name in warning's `inlined from` when using LTO

2024-08-27 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116208 Simon Martin changed: What|Removed |Added CC||simartin at gcc dot gnu.org --- Comment

[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2024-08-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 --- Comment #15 from Jonathan Wakely --- This seems simpler and cleaner: --- a/gcc/cp/init.cc +++ b/gcc/cp/init.cc @@ -5244,6 +5244,10 @@ build_delete (location_t loc, tree otype, tree addr, tree dtor = CLASSTYPE_DESTRUCTOR (type);

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 --- Comment #17 from H.J. Lu --- (In reply to Andi Kleen from comment #16) > Created attachment 59013 [details] > test case > > This test case using Pinski's clobber trick shows the benefit. > > If you compile with -O2 -mgeneral-regs-only the

[Bug c++/110881] Feature request: an attribute for enum members that would skip the -Wswitch-enum warning

2024-08-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110881 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Target Miles

[Bug c++/105497] -Wswitch ignores [[maybe_unused]] for an enumerator

2024-08-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105497 Jason Merrill changed: What|Removed |Added CC||valentyn.pavliuchenko@gmail

[Bug driver/110522] `-fdiagnostics-format=sarif-file`: file name conflicts / races

2024-08-27 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110522 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Commen

[Bug target/116505] New: ICE: in gen_reg_rtx, at emit-rtl.cc:1177 with -O -fprofile-arcs -fprofile-values -flate-combine-instructions on powerpc64le with basic code

2024-08-27 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116505 Bug ID: 116505 Summary: ICE: in gen_reg_rtx, at emit-rtl.cc:1177 with -O -fprofile-arcs -fprofile-values -flate-combine-instructions on powerpc64le with basic code

[Bug c++/115905] [coroutines] Wrong behavior of await_suspend()

2024-08-27 Thread ddvamp007 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115905 Artyom Kolpakov changed: What|Removed |Added See Also||https://github.com/cplusplu

[Bug target/115612] powerpc: define_insn_and_splits calling gen_reg_rtx unconditionally (-flate-combine disabled by default for powerpc port)

2024-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115612 Andrew Pinski changed: What|Removed |Added CC||zsojka at seznam dot cz --- Comment #4

[Bug target/116505] ICE: in gen_reg_rtx, at emit-rtl.cc:1177 with -O -fprofile-arcs -fprofile-values -flate-combine-instructions on powerpc64le with basic code

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

[Bug target/115612] powerpc: define_insn_and_splits calling gen_reg_rtx unconditionally (-flate-combine disabled by default for powerpc port)

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

[Bug c++/112456] Diagnostic for [[nodiscard]] on a constructor could be improved

2024-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112456 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Se

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-27 Thread andi at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 --- Comment #18 from andi at firstfloor dot org --- > > -mgeneral-regs-only works for this case, but breaks SSE. > > Why is __attribute__((no_caller_saved_registers)) needed on start? To maintain the standard ABI to its caller. Otherwise the fi

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 --- Comment #19 from H.J. Lu --- (In reply to andi from comment #18) > > > -mgeneral-regs-only works for this case, but breaks SSE. > > > > Why is __attribute__((no_caller_saved_registers)) needed on start? > > To maintain the standard ABI to

[Bug ipa/116410] -ffat-lto-objects generates different and inefficient code compared with -fno-fat-lto-objects

2024-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116410 --- Comment #5 from H.J. Lu --- Created attachment 59016 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59016&action=edit A patch Please try this.

[Bug rtl-optimization/116488] [15 Regression] wrong code at -O{s,2,3} with "-fno-forward-propagate" on x86_64-linux-gnu

2024-08-27 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116488 Jeffrey A. Law changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |law at gcc dot gnu.org

[Bug ipa/116410] -ffat-lto-objects generates different and inefficient code compared with -fno-fat-lto-objects

2024-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116410 H.J. Lu changed: What|Removed |Added Status|NEW |WAITING

[Bug c++/116502] [15 Regression] -Wunused-result warning cannot be suppressed if coroutine awaiter returns a reference after r15-2318-g2664c1bf83855b

2024-08-27 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116502 Arsen Arsenović changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-27 Thread andi at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 --- Comment #20 from andi at firstfloor dot org --- On Tue, Aug 27, 2024 at 05:12:41PM +, hjl.tools at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 > > --- Comment #19 from H.J. Lu --- > (In reply to andi from

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-27 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 --- Comment #21 from Andi Kleen --- As HJ pointed out the change is not needed, the compiler DTRT with no_callee_saved_registers on the callees.

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-27 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 Andi Kleen changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING

[Bug c++/116502] [15 Regression] -Wunused-result warning cannot be suppressed if coroutine awaiter returns a reference after r15-2318-g2664c1bf83855b

2024-08-27 Thread daklishch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116502 --- Comment #2 from Dan Klishch --- Can confirm that the patch fixes both the minified reproducer from the bug report and also the original reproducer (TestAsyncTestStreams from SerenityOS).

[Bug tree-optimization/116500] gcc.dg/vect/vect-switch-ifcvt-1.c FAILs

2024-08-27 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116500 --- Comment #2 from Andi Kleen --- Do you have the dump file from tree-vect? I guess it just doesn't vectorize something here. The right fix is probably to skip it for sparc, or adjust the vect_int target test.

[Bug fortran/113412] ATAN(Y,X) does not check arguments and generates wrong error message.

2024-08-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113412 --- Comment #12 from anlauf at gcc dot gnu.org --- (In reply to kargls from comment #11) I tried a simpler variation of your patch that aims at a more coherent error message: diff --git a/gcc/fortran/intrinsic.cc b/gcc/fortran/intrinsic.cc inde

[Bug tree-optimization/116500] gcc.dg/vect/vect-switch-ifcvt-1.c FAILs

2024-08-27 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116500 --- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #2 from Andi Kleen --- > Do you have the dump file from tree-vect? Already attached. > I guess it just doesn't vectorize something here. > > The right fix is probably to

[Bug c++/105483] [12/13/14/15 Regression] injected-class-name and constructors diagnostic since r8-1739-g3b5c768c40c78618

2024-08-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105483 --- Comment #6 from GCC Commits --- The master branch has been updated by Simon Martin : https://gcc.gnu.org/g:02dff52c60e5b89d290147f142f655c7817154c2 commit r15-3232-g02dff52c60e5b89d290147f142f655c7817154c2 Author: Simon Martin Date: Mon

[Bug c++/105483] [12/13/14/15 Regression] injected-class-name and constructors diagnostic since r8-1739-g3b5c768c40c78618

2024-08-27 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105483 Simon Martin changed: What|Removed |Added Target Milestone|12.5|15.0 Resolution|---

[Bug ipa/116410] -ffat-lto-objects generates different and inefficient code compared with -fno-fat-lto-objects

2024-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116410 H.J. Lu changed: What|Removed |Added Status|WAITING |NEW --- Comment #6 from H.J. Lu --- A patch

[Bug c++/106294] GCC accepts the undefined behavior operation in a constant expression

2024-08-27 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106294 Carlos Galvez changed: What|Removed |Added CC||carlosgalvezp at gmail dot com --- Comm

[Bug target/116413] [LRA] [M68K] ICE: unrecognized insn in lra_set_insn_recog_data, at lra.cc:1036

2024-08-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116413 --- Comment #21 from GCC Commits --- The master branch has been updated by Andreas Schwab : https://gcc.gnu.org/g:a83e519ab2d4e7df2756411cd9d21c6f1b583429 commit r15-3233-ga83e519ab2d4e7df2756411cd9d21c6f1b583429 Author: Andreas Schwab Date:

[Bug target/113939] Switch m68k to LRA

2024-08-27 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113939 Bug 113939 depends on bug 116413, which changed state. Bug 116413 Summary: [LRA] [M68K] ICE: unrecognized insn in lra_set_insn_recog_data, at lra.cc:1036 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116413 What|Removed

  1   2   >