[Bug target/116043] [15 regression] TLS relocation issue when building glibc with -O3 -march=znver4

2024-07-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116043 --- Comment #2 from Sam James --- 'gcc argp-help.i -O3 -mavx512bf16' is enough.

[Bug target/116043] [15 regression] TLS relocation issue when building glibc with -O3 -march=znver4

2024-07-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116043 --- Comment #3 from Sam James --- (In reply to Sam James from comment #2) > 'gcc argp-help.i -O3 -mavx512bf16' is enough. gcc argp-help.i -O2 -mavx512bf16 --param=max-inline-insns-auto=30

[Bug target/116043] [15 regression] TLS relocation issue when building glibc with -O3 -mavx512bf16

2024-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116043 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0 Ever confirmed|0

[Bug rtl-optimization/116037] [15 Regression] wrong code at -O2 with vector masking and add

2024-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116037 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0

[Bug target/116043] [15 regression] TLS relocation issue when building glibc with -O3 -mavx512bf16

2024-07-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116043 --- Comment #5 from H.J. Lu --- [hjl@gnu-tgl-3 pr116043]$ cat foo.s .text leaq__libc_tsd_CTYPE_B@gottpoff(%rip), %rax vmovq (%rax), %xmm0 [hjl@gnu-tgl-3 pr116043]$ gcc -c foo.s [hjl@gnu-tgl-3 pr116043]$ ld foo.o ld:

[Bug libstdc++/115939] Cannot unambiguously compare iterators in std::unordered_map with mapped type std::expected>

2024-07-23 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115939 --- Comment #6 from Jiang An --- I found that we may also need to add some operator- overloads (https://godbolt.org/z/jTTcYhxMc). All standard library implementations are currently broken. ``` #include #include #include #include struct a

[Bug target/116043] [15 regression] TLS relocation issue when building glibc with -O3 -mavx512bf16

2024-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116043 --- Comment #6 from Richard Biener --- (In reply to Richard Biener from comment #4) > -mavx512bw is enough, the "bad" assembly has > > leaq__libc_tsd_CTYPE_B@gottpoff(%rip), %rsi > > the "good" has only movq with gottpoff(%rip) rel

[Bug target/116043] [15 regression] TLS relocation issue when building glibc with -O3 -mavx512bf16

2024-07-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116043 --- Comment #7 from H.J. Lu --- Linker only allows mov and add for @gottpoff(%rip).

[Bug target/116043] [15 regression] TLS relocation issue when building glibc with -O3 -mavx512bf16

2024-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116043 --- Comment #8 from Richard Biener --- (In reply to H.J. Lu from comment #7) > Linker only allows mov and add for @gottpoff(%rip). Though LEA might indeed be a reasonable additional opcode?

[Bug tree-optimization/115843] [14 Regression] 531.deepsjeng_r fails to verify with -O3 -march=znver4 --param vect-partial-vector-usage=2

2024-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115843 --- Comment #21 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:b35276655e6767a6e037e58edfa4738317498337 commit r13-8936-gb35276655e6767a6e037e58edfa4738317498337 Author: Richard Biene

[Bug tree-optimization/115843] [14 Regression] 531.deepsjeng_r fails to verify with -O3 -march=znver4 --param vect-partial-vector-usage=2

2024-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115843 --- Comment #22 from GCC Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:f78eb9524bd97679c8baa47a62e82147272719ae commit r12-10636-gf78eb9524bd97679c8baa47a62e82147272719ae Author: Richard Bien

[Bug rtl-optimization/116002] GCC Compiler time-hog with large basic block in Function

2024-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116002 --- Comment #4 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:44e065a52fa6069d6c8cacebc8f876840d278dd0 commit r15-2218-g44e065a52fa6069d6c8cacebc8f876840d278dd0 Author: Richard Biener Date:

[Bug target/116032] [12/13/14/15 Regression] gcc.target/arm/pr40457-2.c produces larger code for armv7ve+neon

2024-07-23 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116032 Torbjorn SVENSSON changed: What|Removed |Added CC||richard.earnshaw at arm dot com ---

[Bug target/116044] New: [15 Regression] GCN vs. rtl-ssa: Avoid using a stale splay tree root [PR116009]

2024-07-23 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116044 Bug ID: 116044 Summary: [15 Regression] GCN vs. rtl-ssa: Avoid using a stale splay tree root [PR116009] Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords

[Bug target/116044] [15 Regression] GCN vs. rtl-ssa: Avoid using a stale splay tree root [PR116009]

2024-07-23 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116044 --- Comment #1 from Thomas Schwinge --- Recent commit r15-2199-g34f33ea801563e2eabb348e8d3e9344a91abfd48 "rtl-ssa: Avoid using a stale splay tree root [PR116009]" is causing one regression for '--target=amdgcn-amdhsa' (tested '-march=gfx908'):

[Bug target/116043] [15 regression] TLS relocation issue when building glibc with -O3 -mavx512bf16

2024-07-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116043 --- Comment #9 from H.J. Lu --- (In reply to Richard Biener from comment #8) > (In reply to H.J. Lu from comment #7) > > Linker only allows mov and add for @gottpoff(%rip). > > Though LEA might indeed be a reasonable additional opcode? x86-64

[Bug rtl-optimization/116002] GCC Compiler time-hog with large basic block in Function

2024-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116002 Richard Biener changed: What|Removed |Added Known to work||15.0 --- Comment #5 from Richard Biene

[Bug target/116029] Linux kernel doesn't build with gcc 11.5.0

2024-07-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116029 --- Comment #5 from Jakub Jelinek --- Good idea.

[Bug target/115995] RISC-V: Can't generate portable RVV code for rv64gcv_zvl512b

2024-07-23 Thread sh.chiang04 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115995 --- Comment #1 from Monk Chiang --- Another test, the compile option is "g++ -march=rv64gcv_zvl128b -mabi=lp64d -O3" #include #include #include using namespace std; int main () { std::vector data = {2, 2, 2, 2, 2, 2}; std::vector result

[Bug fortran/59104] Wrong result with SIZE specification expression

2024-07-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59104 --- Comment #23 from anlauf at gcc dot gnu.org --- (In reply to Paul Thomas from comment #22) > (In reply to anlauf from comment #21) > > (In reply to Paul Thomas from comment #20) > > > OK the regression is fixed - thanks for the green light, Har

[Bug target/116043] [15 regression] TLS relocation issue when building glibc with -O3 -mavx512bf16

2024-07-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116043 H.J. Lu changed: What|Removed |Added Keywords|link-failure|wrong-code --- Comment #10 from H.J. Lu ---

[Bug rtl-optimization/116002] GCC Compiler time-hog with large basic block in Function

2024-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116002 --- Comment #6 from Richard Biener --- (In reply to Richard Biener from comment #5) > With -O2 we have PTA showing up > > tree PTA : 12.21 ( 77%) > > PTA solving should be pretty quick, but it seems we take a lot of

[Bug target/116045] New: -march=znver4 does not enable SHSTK but -march=native does

2024-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116045 Bug ID: 116045 Summary: -march=znver4 does not enable SHSTK but -march=native does Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Pr

[Bug fortran/113363] ICE on ASSOCIATE and unlimited polymorphic function

2024-07-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113363 --- Comment #15 from anlauf at gcc dot gnu.org --- Paul, the fix was fine for 15-mainline and 14-branch. There seems to be testsuite fallout on 13-branch (pr116040), because this fix apparently depends on the fix for pr89645, which is quite lar

[Bug tree-optimization/116034] [12/13/14/15 Regression] wrong code with memcpy() from _Complex unsigned short at -fno-strict-aliasing -O1 and above

2024-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116034 --- Comment #9 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:b9cefd67a2a464a3c9413e6b3f28e7dc7a9ef162 commit r15-2220-gb9cefd67a2a464a3c9413e6b3f28e7dc7a9ef162 Author: Jakub Jelinek Date: T

[Bug tree-optimization/116034] [12/13/14/15 Regression] wrong code with memcpy() from _Complex unsigned short at -fno-strict-aliasing -O1 and above

2024-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116034 --- Comment #10 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:084768c865cd50a6f7ff177db2dbdbb7aadaeee0 commit r14-10501-g084768c865cd50a6f7ff177db2dbdbb7aadaeee0 Author: Jakub Jelinek

[Bug tree-optimization/116034] [12/13 Regression] wrong code with memcpy() from _Complex unsigned short at -fno-strict-aliasing -O1 and above

2024-07-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116034 Jakub Jelinek changed: What|Removed |Added Known to fail|14.1.1, 15.0|14.1.0 Known to work|

[Bug target/116046] New: vmovdqa64 is used when unaligned memory caused by unaligned %rsp/%rbp

2024-07-23 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116046 Bug ID: 116046 Summary: vmovdqa64 is used when unaligned memory caused by unaligned %rsp/%rbp Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug target/115086] bic is not used when the non-not part is a constant

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115086 Andrew Pinski changed: What|Removed |Added Depends on||115961 --- Comment #13 from Andrew Pins

[Bug libstdc++/115482] [14/15 Regression] print.cc fails with avrlibc

2024-07-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115482 --- Comment #3 from Jonathan Wakely --- In the second affected block, the dup call is also missing for avr: if (auto fb = dynamic_cast(sb)) if (int fd = fb->native_handle(); fd >= 0 && ::isatty(fd)) return ::fdopen(::dup(fd),

[Bug c++/115897] [14/15 Regression] vector_size attribute on alias template has no effect when used in a dependent variable template-id

2024-07-23 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115897 --- Comment #10 from Matthias Kretz (Vir) --- I applied your patch on recent trunk and the original code compiles as expected. 👍 I can also test your second patch in that thread if you think that would help.

[Bug target/116043] [15 regression] TLS relocation issue when building glibc with -O3 -mavx512bf16

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

[Bug libstdc++/115481] HAVE_* for long double math functions wrong for avrlibc (target AVR)

2024-07-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115481 --- Comment #5 from Jonathan Wakely --- (In reply to Georg-Johann Lay from comment #4) > (In reply to dv from comment #0) > > New versions of avrlibc provide long double math functions, > > In the case it matters: > > 1) avr-libc has long doub

[Bug target/116043] [15 regression] TLS relocation issue when building glibc with -O3 -mavx512bf16

2024-07-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116043 Sam James changed: What|Removed |Added Attachment #58732|0 |1 is obsolete|

[Bug libstdc++/115481] HAVE_* for long double math functions wrong for avrlibc (target AVR)

2024-07-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115481 --- Comment #6 from Jonathan Wakely --- Oh it looks like 2.2.0 is *very* new (but 2.1.0 is quite old so Fedora is quite outdated).

[Bug libstdc++/115482] [14/15 Regression] print.cc fails with avrlibc

2024-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115482 --- Comment #4 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:8439405e38c56b774cf3c65bdafae5f9e11d470a commit r15-2221-g8439405e38c56b774cf3c65bdafae5f9e11d470a Author: Detlef Vollmann Date:

[Bug libstdc++/115482] [14/15 Regression] print.cc fails with avrlibc

2024-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115482 --- Comment #5 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5fad8874300ef67c577cc204e339dca6bca15467 commit r14-10502-g5fad8874300ef67c577cc204e339dca6bca15467 Author: Detlef Vollm

[Bug libstdc++/115482] [14/15 Regression] print.cc fails with avrlibc

2024-07-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115482 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/116002] GCC Compiler time-hog with large basic block in Function

2024-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116002 --- Comment #7 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:15d3b2dab9182eff036a604169b5e6f4ab3b2a40 commit r15-2223-g15d3b2dab9182eff036a604169b5e6f4ab3b2a40 Author: Richard Biener Date:

[Bug rtl-optimization/116028] [15 regression] gcc.dg/pr10474.c test failure since r15-1619-g3b9b8d6cfdf593

2024-07-23 Thread jskumari at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116028 Surya Kumari Jangala changed: What|Removed |Added Target||aarch64-*-* --- Comment #2 from

[Bug tree-optimization/116024] [14/15 Regression] unnecessary integer comparison(s) for a simple loop since r14-5628-g53ba8d669550d3

2024-07-23 Thread artemiy at synopsys dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116024 --- Comment #7 from Artemiy Volkov --- (In reply to Richard Biener from comment #6) > (In reply to Artemiy Volkov from comment #5) > > Hi Andrew, thank you for the breakdown. For i1() (the case applicable to > > the initial bug report) somethin

[Bug testsuite/115826] vect-tsvc-s1281.c fails on arm-*-* due to -ffast-math being required for vectorization tests

2024-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115826 --- Comment #3 from GCC Commits --- The master branch has been updated by Torbjorn Svensson : https://gcc.gnu.org/g:7793f5b4194253acaac0b53d8a1c95d9b5c8f4bb commit r15-2224-g7793f5b4194253acaac0b53d8a1c95d9b5c8f4bb Author: Torbjörn SVENSSON D

[Bug testsuite/115826] vect-tsvc-s1281.c fails on arm-*-* due to -ffast-math being required for vectorization tests

2024-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115826 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Torbjorn Svensson : https://gcc.gnu.org/g:a544898f6dd6a1689bb25abfdc20d577c93b1162 commit r14-10504-ga544898f6dd6a1689bb25abfdc20d577c93b1162 Author: Torbjörn S

[Bug testsuite/115826] vect-tsvc-s1281.c fails on arm-*-* due to -ffast-math being required for vectorization tests

2024-07-23 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115826 Torbjorn SVENSSON changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/116028] [15 regression] gcc.dg/pr10474.c test failure since r15-1619-g3b9b8d6cfdf593

2024-07-23 Thread jskumari at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116028 Surya Kumari Jangala changed: What|Removed |Added Target|aarch64-*-* |aarch64-*-* powerpc*-*-* --- Com

[Bug target/96866] ICE in print_operand_address, at config/rs6000/rs6000.c:13560

2024-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96866 --- Comment #4 from GCC Commits --- The master branch has been updated by Jiu Fu Guo : https://gcc.gnu.org/g:472eab9ab1fdfd0ba3a555ea9eb50e20307c7052 commit r15-2225-g472eab9ab1fdfd0ba3a555ea9eb50e20307c7052 Author: Jiufu Guo Date: Tue Jul 2

[Bug target/116044] [15 Regression] GCN vs. rtl-ssa: Avoid using a stale splay tree root [PR116009]

2024-07-23 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116044 Richard Sandiford changed: What|Removed |Added Last reconfirmed||2024-07-23 Assignee|unass

[Bug target/116032] [12/13/14/15 Regression] gcc.target/arm/pr40457-2.c produces larger code for armv7ve+neon

2024-07-23 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116032 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #3 from Wi

[Bug preprocessor/116047] New: C preprocessor bug

2024-07-23 Thread ovidiu.panait at windriver dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116047 Bug ID: 116047 Summary: C preprocessor bug Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor Assign

[Bug preprocessor/116047] C preprocessor bug

2024-07-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116047 Jakub Jelinek changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org,

[Bug modula2/116048] New: cc1gm2 ICE when encountering qualident of the wrong kind

2024-07-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116048 Bug ID: 116048 Summary: cc1gm2 ICE when encountering qualident of the wrong kind Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Prio

[Bug modula2/116048] cc1gm2 ICE when encountering qualident of the wrong kind

2024-07-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116048 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2024-07-23 Ever confirmed|0

[Bug c++/116049] New: friend function with explicit object parameter

2024-07-23 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116049 Bug ID: 116049 Summary: friend function with explicit object parameter Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug modula2/116048] cc1gm2 ICE when encountering qualident of the wrong kind

2024-07-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116048 --- Comment #2 from Gaius Mulley --- Created attachment 58734 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58734&action=edit Proposed fix Here is the proposed fix which implements qualident state tracking and checks qualidents when cons

[Bug target/58416] Incorrect x87-based union copying code

2024-07-23 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58416 --- Comment #19 from Martin Jambor --- (In reply to Richard Biener from comment #18) > (In reply to Martin Jambor from comment #15) > > Created attachment 58724 [details] > > simple (wip) fix > > > > I'm wondering whether just simply something l

[Bug driver/116050] New: Passing invalid option to gcc with --version results in exit status of 0

2024-07-23 Thread prathamesh3492 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116050 Bug ID: 116050 Summary: Passing invalid option to gcc with --version results in exit status of 0 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: minor

[Bug target/116035] [14/15] RISC-V: -march=rv64g_xtheadmemidx_zba generates illegal lwu insn

2024-07-23 Thread cmuellner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116035 Christoph Müllner changed: What|Removed |Added Last reconfirmed||2024-07-23 Status|UNCON

[Bug c++/116051] New: inconsistent handling of void typedefs in otherwise empty parameter lists

2024-07-23 Thread ted at lyncon dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116051 Bug ID: 116051 Summary: inconsistent handling of void typedefs in otherwise empty parameter lists Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: norm

[Bug tree-optimization/115824] [12 Regression] Strange -Warray-bounds warning when assigning an initializer list to a vector of pointers

2024-07-23 Thread deepeshvrajan7614 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115824 Deepesh V changed: What|Removed |Added CC||deepeshvrajan7614 at gmail dot com --- Com

[Bug c++/116051] inconsistent handling of void typedefs in otherwise empty parameter lists

2024-07-23 Thread ted at lyncon dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116051 --- Comment #1 from Ted Lyngmo --- I realized that T in the working usages is non-dependent. I think we can close this right away.

[Bug target/116044] [15 Regression] GCN vs. rtl-ssa: Avoid using a stale splay tree root [PR116009]

2024-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116044 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0

[Bug rtl-optimization/115877] [15 Regression] wrong code at -Os (missing zero extension)

2024-07-23 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115877 --- Comment #14 from Xi Ruoyao --- When I'm testing a LoongArch patch, ext_dce seems removing a zero extension in libcpp/expr.cc, causing stage 2 GCC miscompiled. Before ext_dce: (insn 110 108 115 14 (set (reg:DI 91 [ num$17 ]) (zero_e

[Bug c++/116052] New: [15 Regression] ICE in diagnostic_context::diagnostic_impl

2024-07-23 Thread curdeius at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116052 Bug ID: 116052 Summary: [15 Regression] ICE in diagnostic_context::diagnostic_impl Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Pr

[Bug rtl-optimization/116053] New: [14/15 Regression] during RTL pass: cprop_hardreg ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 2 with -O1 -finstrument-functions -fno-fo

2024-07-23 Thread zsojka at seznam dot cz via Gcc-bugs
obootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20240723 (experimental) (GCC)

[Bug c++/116052] [15 Regression] ICE in diagnostic_context::diagnostic_impl

2024-07-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116052 Marek Polacek changed: What|Removed |Added Last reconfirmed||2024-07-23 CC|

[Bug c++/115783] GCC accepts invalid program involving calling explicit object member function from static member function

2024-07-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115783 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/115995] RISC-V: Can't generate portable RVV code for rv64gcv_zvl512b

2024-07-23 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115995 --- Comment #2 from Robin Dapp --- Hmm I can't reproduce either. riscv64-unknown-linux-gnu-gcc -march=rv64gcv_zvl512b1p0 -mabi=lp64d -O2 990128-1.c QEMU_CPU=rv64,v=true,xventanacondops=true,x-zvfh=true,zfh=true,zba=true,zbb=true,zbc=true,zicond

[Bug target/115995] RISC-V: Can't generate portable RVV code for rv64gcv_zvl512b

2024-07-23 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115995 --- Comment #3 from Kito Cheng --- We have an internal qemu patch for adding an option to trigger this damm behavior by default, and plan to upstream soon...let me ask our Qemu folk if I can get the patch out first.

[Bug c++/103953] Leak of coroutine return object

2024-07-23 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103953 Arsen Arsenović changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/103953] Leak of coroutine return object

2024-07-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103953 Patrick Palka changed: What|Removed |Added Target Milestone|--- |11.4 CC|

[Bug modula2/116048] cc1gm2 ICE when encountering qualident of the wrong kind

2024-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116048 --- Comment #3 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:7f8064ff0e2ac90c5bb6c30cc61acc5a28ebbe4c commit r15-2228-g7f8064ff0e2ac90c5bb6c30cc61acc5a28ebbe4c Author: Gaius Mulley Date: Tue

[Bug modula2/116048] cc1gm2 ICE when encountering qualident of the wrong kind

2024-07-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116048 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/115481] HAVE_* for long double math functions wrong for avrlibc (target AVR)

2024-07-23 Thread dv at vollmann dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115481 --- Comment #7 from dv at vollmann dot ch --- On 7/23/24 11:19, redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115481 > > --- Comment #6 from Jonathan Wakely --- > Oh it looks like 2.2.0 is *very* new (but 2.1.0 i

[Bug c++/116052] [15 Regression] ICE in diagnostic_context::diagnostic_impl

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116052 --- Comment #2 from Andrew Pinski --- Created attachment 58736 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58736&action=edit preprocessed testcase from godbolt

[Bug c++/116052] [15 Regression] ICE in diagnostic_context::diagnostic_impl

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

[Bug c++/116052] [15 Regression] ICE in diagnostic_context::diagnostic_impl

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116052 Andrew Pinski changed: What|Removed |Added URL|https://godbolt.org/z/rq67M | |nsrr

[Bug c/116054] New: RISCV: RV32: prologue/epilogue degradation

2024-07-23 Thread alexey.lapshin at espressif dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116054 Bug ID: 116054 Summary: RISCV: RV32: prologue/epilogue degradation Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/116054] RISCV: RV32: prologue/epilogue degradation

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116054 --- Comment #1 from Andrew Pinski --- Created attachment 58737 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58737&action=edit testcase from godbolt Please next time attach or put the testcase inline instead of just linking to godbolt .

[Bug c++/115296] CTAD fails

2024-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115296 --- Comment #2 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:f70281222df432a7bec1271904c5ebefd7f2c934 commit r15-2229-gf70281222df432a7bec1271904c5ebefd7f2c934 Author: Patrick Palka Date: T

[Bug target/116054] RISCV: RV32: prologue/epilogue degradation

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116054 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization, ra --- Comment #2

[Bug target/116054] RISCV: RV32: prologue/epilogue degradation

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116054 Andrew Pinski changed: What|Removed |Added Attachment #58737|0 |1 is obsolete|

[Bug target/116036] [14/15] RISCV: internal compiler error: in riscv_expand_mult_with_const_int with -march=rv64idv

2024-07-23 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116036 --- Comment #2 from Robin Dapp --- Begrudgingly confirming :) Still need to figure out where to best error out for that combination. If we do it at the assertion spot the message will be output as many times as we try vector modes (like 8 or s

[Bug c++/115660] internal compiler error: in build_special_member_call, at cp/call.cc:11085

2024-07-23 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115660 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org,

[Bug c++/115660] internal compiler error: in build_special_member_call, at cp/call.cc:11085

2024-07-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115660 --- Comment #5 from Iain Sandoe --- (In reply to Arsen Arsenović from comment #4) > this PR was fixed by r14-8437-g44868e7298de50 (fix for PR c++/109227). > > iain, jason, should we backport that patch? (and resolve that PR?) seems reasonable

[Bug ipa/116055] New: [14 regression] ICE from gcc.c-torture/unsorted/dump-noaddr.c after r14-10495-g9ddd5f88e60972

2024-07-23 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116055 Bug ID: 116055 Summary: [14 regression] ICE from gcc.c-torture/unsorted/dump-noaddr.c after r14-10495-g9ddd5f88e60972 Product: gcc Version: 14.1.1 St

[Bug rtl-optimization/86901] [AArch64] Suboptimal register allocation for int/float reinterpret

2024-07-23 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86901 --- Comment #4 from Richard Earnshaw --- But why not: f2: fmovw1, s0 ubfxw1, w1, 20, 11 cmp w1, 1015 bhi .L7 fmuls0, s0, s0 str s0, [x0] ret .L7: b g

[Bug target/116056] New: [avr] Add support for __attribute__((signal(n)))

2024-07-23 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116056 Bug ID: 116056 Summary: [avr] Add support for __attribute__((signal(n))) Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug target/116056] [avr] Add support for __attribute__((signal(n)))

2024-07-23 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116056 Georg-Johann Lay changed: What|Removed |Added Severity|normal |enhancement Target|

[Bug ipa/116055] [14 regression] ICE from gcc.c-torture/unsorted/dump-noaddr.c after r14-10495-g9ddd5f88e60972

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116055 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug ipa/106783] [12/13/14/15 Regression] ICE in ipa-modref.cc:analyze_function since r12-5247-ga34edf9a3e907de2

2024-07-23 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106783 --- Comment #6 from Jan Hubicka --- The problem is that n/=0 is undefined behavior (so we can optimize out call to function doing divide by zero), while __builtin_trap is observable and we do not optimize out code paths that may trip to it. so

[Bug ipa/106783] [12/13/14/15 Regression] ICE in ipa-modref.cc:analyze_function since r12-5247-ga34edf9a3e907de2

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106783 --- Comment #7 from Andrew Pinski --- (In reply to Jan Hubicka from comment #6) > The problem is that n/=0 is undefined behavior (so we can optimize out call > to function doing divide by zero), while __builtin_trap is observable and we > do not

[Bug c++/115656] [12/13/14/15 Regression] Templated ctor use rejected in non-deduced context if class template has template template parameter

2024-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115656 --- Comment #8 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:2861eb34e30973cb991a7964af7cfeae014a98b0 commit r15-2230-g2861eb34e30973cb991a7964af7cfeae014a98b0 Author: Patrick Palka Date: T

[Bug c++/115656] [12/13/14 Regression] Templated ctor use rejected in non-deduced context if class template has template template parameter

2024-07-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115656 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/115656] [12/13/14 Regression] Templated ctor use rejected in non-deduced context if class template has template template parameter

2024-07-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115656 --- Comment #9 from Patrick Palka --- *** Bug 115778 has been marked as a duplicate of this bug. ***

[Bug c++/115778] Internal compiler error: in keep_template_parm, at cp/pt.cc:10960

2024-07-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115778 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/115672] [12/13/14/15 Regression] Incorrect template type parameter deduced in non-deduced context if class template has template template parameter

2024-07-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115672 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/115656] [12/13/14 Regression] Templated ctor use rejected in non-deduced context if class template has template template parameter

2024-07-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115656 --- Comment #10 from Patrick Palka --- *** Bug 115672 has been marked as a duplicate of this bug. ***

[Bug c++/115656] [12/13/14 Regression] Templated ctor use rejected in non-deduced context if class template has template template parameter

2024-07-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115656 --- Comment #11 from Patrick Palka --- Should be fixed on trunk so far.

[Bug driver/116050] Passing invalid option to gcc with --version results in exit status of 0

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116050 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-07-23 Status|UNCONFIRM

[Bug preprocessor/116047] C preprocessor bug

2024-07-23 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116047 Andi Kleen changed: What|Removed |Added CC||andi-gcc at firstfloor dot org --- Comment

  1   2   >