[Bug libstdc++/109941] [feat req] Add an option to mark STL types as nodiscard

2023-05-23 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109941 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #1 from

[Bug target/49263] SH Target: underutilized "TST #imm, R0" instruction

2023-05-23 Thread klepikov.alex+bugs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49263 --- Comment #33 from Alexander Klepikov --- Created attachment 55142 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55142=edit Disable dynamic shift instructions patch

[Bug target/49263] SH Target: underutilized "TST #imm, R0" instruction

2023-05-23 Thread klepikov.alex+bugs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49263 --- Comment #32 from Alexander Klepikov --- I'm not sure whether I should write here or open new discussion, but these topics are related very closely. I've been writing a patch to eliminate the generation of dynamic shift instructions 'shad'

[Bug libstdc++/109941] New: [feat req] Add an option to mark STL types as nodiscard

2023-05-23 Thread roi.jacobson1 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109941 Bug ID: 109941 Summary: [feat req] Add an option to mark STL types as nodiscard Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug libstdc++/60441] Incorrect textual representation for std::mersenne_twister_engine

2023-05-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60441 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2018-08-07 00:00:00 |2023-5-23 --- Comment #1 from

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-05-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 Jakub Jelinek changed: What|Removed |Added Attachment #55094|0 |1 is obsolete|

[Bug tree-optimization/109934] [14 Regression] Wrong code at -O3 on x86_64-linux-gnu

2023-05-23 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109934 --- Comment #3 from Aldy Hernandez --- Created attachment 55140 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55140=edit untested patch in testing

[Bug tree-optimization/109934] [14 Regression] Wrong code at -O3 on x86_64-linux-gnu

2023-05-23 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109934 Aldy Hernandez changed: What|Removed |Added CC||amacleod at redhat dot com

[Bug target/109632] Inefficient codegen when complex numbers are emulated with structs

2023-05-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109632 --- Comment #11 from CVS Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:b096a6ebe9d9f9fed4c105f6555f724eb32af95c commit r14-1131-gb096a6ebe9d9f9fed4c105f6555f724eb32af95c Author: Richard Sandiford

[Bug c++/109935] CTAD for an aggregate with a dependent base class doesn't work

2023-05-23 Thread oleksandr.koval.dev at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109935 --- Comment #5 from Oleksandr Koval --- Right, my understanding is that it should generate hypothetical constructor like: ```cpp template struct C : public B { C(B); }; ``` and it doesn't work with braced-initializer list like in this

[Bug libstdc++/86880] Incorrect mersenne_twister_engine equality comparison between rotated states

2023-05-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86880 --- Comment #1 from Jonathan Wakely --- (In reply to Hubert Tong from comment #0) > Note: libstdc++ does not produce "2 1 2" as the textual representation > (as reported by PR 60441). But even with that fixed, this still fails. We print "2 0 2

[Bug target/109855] [14 Regression] ICE: in curr_insn_transform, at lra-constraints.cc:4231 unable to generate reloads for {aarch64_mlav4hi_vec_concatz_le} at -O1

2023-05-23 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109855 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug middle-end/109849] suboptimal code for vector walking loop

2023-05-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109849 --- Comment #12 from Richard Biener --- So this fixed the missing code hoisting - partial PRE is done with -O3 only.

[Bug target/109855] [14 Regression] ICE: in curr_insn_transform, at lra-constraints.cc:4231 unable to generate reloads for {aarch64_mlav4hi_vec_concatz_le} at -O1

2023-05-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109855 --- Comment #8 from CVS Commits --- The master branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:75d1eff5933fc0d853af730627218f182612b561 commit r14-1128-g75d1eff5933fc0d853af730627218f182612b561 Author: Kyrylo Tkachov Date:

[Bug libstdc++/109261] std::experimental::simd is not usable in several constant expressions

2023-05-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109261 --- Comment #3 from CVS Commits --- The releases/gcc-12 branch has been updated by Matthias Kretz : https://gcc.gnu.org/g:3acbaf1b25321508d780a8220b772fc9cd871b13 commit r12-9647-g3acbaf1b25321508d780a8220b772fc9cd871b13 Author: Matthias

[Bug libstdc++/108030] `std::experimental::simd` not inlined

2023-05-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108030 --- Comment #18 from CVS Commits --- The releases/gcc-12 branch has been updated by Matthias Kretz : https://gcc.gnu.org/g:c989c9196f6900c2ab6f0665751ca0320d2f3cdc commit r12-9641-gc989c9196f6900c2ab6f0665751ca0320d2f3cdc Author: Matthias

[Bug libstdc++/108030] `std::experimental::simd` not inlined

2023-05-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108030 --- Comment #17 from CVS Commits --- The releases/gcc-12 branch has been updated by Matthias Kretz : https://gcc.gnu.org/g:41f75cfea48d97ea5cadd220d932163a1e17cf9a commit r12-9638-g41f75cfea48d97ea5cadd220d932163a1e17cf9a Author: Matthias

[Bug libstdc++/108856] Increment and decrement on std::experimental::where_expression should optimize better

2023-05-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108856 --- Comment #3 from CVS Commits --- The releases/gcc-12 branch has been updated by Matthias Kretz : https://gcc.gnu.org/g:4452077962d0c327dcb08670ab73f7197be53e91 commit r12-9640-g4452077962d0c327dcb08670ab73f7197be53e91 Author: Matthias

[Bug libstdc++/108030] `std::experimental::simd` not inlined

2023-05-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108030 --- Comment #16 from CVS Commits --- The releases/gcc-12 branch has been updated by Matthias Kretz : https://gcc.gnu.org/g:d3217028725f06f4eb67a4c80b12e1a3219d3502 commit r12-9637-gd3217028725f06f4eb67a4c80b12e1a3219d3502 Author: Matthias

[Bug middle-end/109907] Missed optimization for bit extraction (uses shift instead of single bit-test)

2023-05-23 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109907 --- Comment #19 from Georg-Johann Lay --- Created attachment 55139 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55139=edit C test case, insert bits in place This testcase is from PR82931. It transfers one bit to the same bit-position

[Bug middle-end/109849] suboptimal code for vector walking loop

2023-05-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109849 --- Comment #11 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:9e2017ae6ac788d3e36999bb0f0d20ea0f62c20e commit r14-1127-g9e2017ae6ac788d3e36999bb0f0d20ea0f62c20e Author: Richard Biener Date:

[Bug c++/109936] error: extended character ≠ is not valid in an identifier

2023-05-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109936 --- Comment #19 from Jonathan Wakely --- (In reply to Andreas Schwab from comment #10) > It is a valid preprocessing token ("non-whitespace character that cannot be > one of the above"). Ah right, yes. It's a preprocessing token, but is never

[Bug target/109939] Invalid return type for __builtin_arm_ssat: Unsigned instead of signed

2023-05-23 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109939 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug rtl-optimization/109940] [13 Regression] ICE in decide_candidate_validity since g:53dddbfeb213ac4ec39f550aa81eaa4264375d2c

2023-05-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109940 Tamar Christina changed: What|Removed |Added Known to work|13.1.0 | CC|

[Bug c/109940] [14 Regression] ICE in decide_candidate_validity, bisected

2023-05-23 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109940 ktkachov at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1

[Bug c/109940] New: ICE in decide_candidate_validity, bisected to

2023-05-23 Thread peter.waller at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109940 Bug ID: 109940 Summary: ICE in decide_candidate_validity, bisected to Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/109938] ((a^c) & b) | a is not opimized to (b & c) | a

2023-05-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109938 Richard Biener changed: What|Removed |Added Last reconfirmed||2023-05-23 Ever confirmed|0

[Bug target/109939] Invalid return type for __builtin_arm_ssat: Unsigned instead of signed

2023-05-23 Thread dev at benjarobin dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109939 --- Comment #2 from Benjamin Robin --- New test case with exactly same problem since __ssat() calls __builtin_arm_ssat(): ``` #include int dbg_ssat_out; int dbg_ssat_in; void test_arm_ssat(void) { dbg_ssat_out = __ssat(dbg_ssat_in, 16);

[Bug libffi/108682] libffi needs to merge upstream to get LoongArch support

2023-05-23 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108682 --- Comment #8 from Xi Ruoyao --- (In reply to Ian Lance Taylor from comment #6) > libgo is running behind right now, but in any case I personally don't have > plans to add LoongARCH support. I would be happy to review any patches, > which

[Bug target/109939] Invalid return type for __builtin_arm_ssat: Unsigned instead of signed

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

[Bug target/109933] __atomic_test_and_set is broken for BIG ENDIAN riscv targets

2023-05-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109933 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/109939] New: Invalid return type for __builtin_arm_ssat: Unsigned instead of signed

2023-05-23 Thread dev at benjarobin dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109939 Bug ID: 109939 Summary: Invalid return type for __builtin_arm_ssat: Unsigned instead of signed Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity:

[Bug c++/109936] error: extended character ≠ is not valid in an identifier

2023-05-23 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109936 Andreas Schwab changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libstdc++/109261] std::experimental::simd is not usable in several constant expressions

2023-05-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109261 --- Comment #2 from CVS Commits --- The master branch has been updated by Matthias Kretz : https://gcc.gnu.org/g:da579188807ede4ee9466d0b5bf51559c96a0b51 commit r14-1084-gda579188807ede4ee9466d0b5bf51559c96a0b51 Author: Matthias Kretz Date:

[Bug tree-optimization/109938] New: ((a^c) & b) | a is not opimized to (b & c) | a

2023-05-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109938 Bug ID: 109938 Summary: ((a^c) & b) | a is not opimized to (b & c) | a Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: enhancement Priority: P3

[Bug tree-optimization/109920] [14 Regression] value-range.h: Mismatched new [] and delete

2023-05-23 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109920 Aldy Hernandez changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug tree-optimization/109920] [14 Regression] value-range.h: Mismatched new [] and delete

2023-05-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109920 --- Comment #4 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:493a63af6cbab094c36a76435c12b1886328dab8 commit r14-1083-g493a63af6cbab094c36a76435c12b1886328dab8 Author: Aldy Hernandez Date:

<    1   2