[Bug c++/117370] std::nothrow variants of operator new are not optimized away when block is unused

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117370 --- Comment #3 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c1bbad07c8686c858ea58ffdb9db8f964bf485c6 commit r15-4953-gc1bbad07c8686c858ea58ffdb9db8f964bf485c6 Author: Jakub Jelinek Date: T

[Bug c/117445] ICE: in gimple_build_assign_1, at gimple.cc:480

2024-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117445 --- Comment #3 from Andrew Pinski --- Created attachment 59539 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59539&action=edit Patch which I am testing which removes the comparison support for `?:`

[Bug target/117416] [15 Regression] ICE: in gen_prefetch, at config/i386/i386.md:28541 with __builtin_ia32_prefetch() by r15-4833-ge9ab41b79933d4

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117416 --- Comment #5 from GCC Commits --- The master branch has been updated by Hu : https://gcc.gnu.org/g:ea46a216d48597b220ae69e79f6513c763f953be commit r15-4952-gea46a216d48597b220ae69e79f6513c763f953be Author: Hu, Lin1 Date: Mon Nov 4 14:52:5

[Bug c/117445] ICE: in gimple_build_assign_1, at gimple.cc:480

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

[Bug target/117444] [15 regression] Assembler output changes after r15-4756-g06bc3a734e8890

2024-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117444 Sam James changed: What|Removed |Added Keywords||testsuite-fail --- Comment #2 from Sam Jame

[Bug c/117445] New: ICE: in gimple_build_assign_1, at gimple.cc:480

2024-11-04 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117445 Bug ID: 117445 Summary: ICE: in gimple_build_assign_1, at gimple.cc:480 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/117433] [14/15 Regression] ICE: in emit_move_insn, at expr.cc:4633 with __builtin_assoc_barrier(vector types)

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117433 --- Comment #7 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:2fc25a21820001c67258d30f0960ac9cd0f268cf commit r15-4951-g2fc25a21820001c67258d30f0960ac9cd0f268cf Author: Richard Biener Date:

[Bug middle-end/117433] [14 Regression] ICE: in emit_move_insn, at expr.cc:4633 with __builtin_assoc_barrier(vector types)

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

[Bug target/117438] x86's pass_align_tight_loops may cause performance regression in nested loops

2024-11-04 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117438 --- Comment #4 from Hongtao Liu --- (In reply to Mayshao-oc from comment #0) > Created attachment 59530 [details] > gcc -O1 loop.c > > Pass_align_tight_loops align the inner loop aggressively, this may cause > significant performance regression

[Bug target/56513] Wrong code generation with -O3 on ARM

2024-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56513 Sam James changed: What|Removed |Added Last reconfirmed||2024-11-05 Ever confirmed|0

[Bug target/56513] Wrong code generation with -O3 on ARM

2024-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56513 Sam James changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug tree-optimization/117398] [12 Regression] ICE: in invert, at value-range.cc:2165 at -O3 with "-fno-thread-jumps"

2024-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117398 Sam James changed: What|Removed |Added Known to fail|12.4.1, 13.3.1, 14.2.1, |12.2.0, 12.4.0, 13.3.0 |1

[Bug middle-end/110281] wrong code with '-O3'

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

[Bug target/117443] lo.c:1462:1: ICE: in change_address_1, at emit-rtl.cc:2299

2024-11-04 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117443 --- Comment #1 from John David Anglin --- It looks like pa_legitimate_address_p should accept any reloading pseudo.

[Bug target/113243] mips: Wrong code for pr91323.c

2024-11-04 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113243 --- Comment #1 from YunQiang Su --- Thanks for your report. For R2, this problem has been fixed by commit e3e5fd0c24c9b82d824da27bf8455bb3654e8eff Author: YunQiang Su Date: Sat Jun 8 11:31:19 2024 +0800 MIPS: Use signaling fcmp instruc

[Bug target/117304] ICE: in emit_move_insn, at expr.cc:4633 with -mavx10.1 and __builtin_ia32_cvtudq2ps512_mask()

2024-11-04 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117304 --- Comment #4 from Hongtao Liu --- $: grep AVX512F i386-builtin.def | grep -v EVEX512 | grep -e V8DI -e V8DF -e V16SI -e V16SF -e V32HI -e V32HF -e V32BF -e V64QI BDESC (OPTION_MASK_ISA_AVX512F, 0, CODE_FOR_unspec_fix_truncv8dfv8si2_mask_roun

[Bug middle-end/110281] wrong code with '-O3'

2024-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110281 --- Comment #9 from Sam James --- Created attachment 59538 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59538&action=edit pr110281-attempted-reduction.c Here's an attempted reduction. It needs to be checked for aliasing violations.

[Bug target/117304] ICE: in emit_move_insn, at expr.cc:4633 with -mavx10.1 and __builtin_ia32_cvtudq2ps512_mask()

2024-11-04 Thread lin1.hu at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117304 --- Comment #3 from Hu Lin --- Confirmed, thanks. We should disallow the use of the avx512f builtin without evex512, throwing an error instead of ICE. After testing, the fixed patch will be merged and backported to GCC-14.

[Bug target/117438] x86's pass_align_tight_loops may cause performance regression in nested loops

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

[Bug c++/103524] [meta-bug] modules issue

2024-11-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 103701, which changed state. Bug 103701 Summary: C++20 modules create internal compiler error at import_export_decl https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103701 What|Removed |A

[Bug c++/103701] C++20 modules create internal compiler error at import_export_decl

2024-11-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103701 Nathaniel Shead changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug target/80881] Implement Windows native TLS

2024-11-04 Thread tanksherman27 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #73 from Julian Waters --- Thanks for the reminder, I did choose to leave that out since I was under the impression that regenerating configure should be done in a separate commit. I chose a different approach for the configure check

[Bug testsuite/117300] guality tests always complain about debuginfod on Fedora 41 due to DEBUGINFOD_URLS being set

2024-11-04 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117300 H.J. Lu changed: What|Removed |Added Target Milestone|--- |15.0 Status|NEW

[Bug c++/103524] [meta-bug] modules issue

2024-11-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 99274, which changed state. Bug 99274 Summary: [modules] Error compiling some system headers: "wrong number of template arguments (1, should be 2)" https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99274 What

[Bug c++/99227] [meta-bug] [modules] Bugs relating to header-units of STL header files

2024-11-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug 99227 depends on bug 99274, which changed state. Bug 99274 Summary: [modules] Error compiling some system headers: "wrong number of template arguments (1, should be 2)" https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99274 What|R

[Bug c++/99274] [modules] Error compiling some system headers: "wrong number of template arguments (1, should be 2)"

2024-11-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99274 Nathaniel Shead changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/99274] [modules] Error compiling some system headers: "wrong number of template arguments (1, should be 2)"

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99274 --- Comment #4 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:a96c774f7bb99729ab9e7e2a57cd970469ccbc08 commit r15-4944-ga96c774f7bb99729ab9e7e2a57cd970469ccbc08 Author: Nathaniel Shead Date:

[Bug c++/103524] [meta-bug] modules issue

2024-11-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 105443, which changed state. Bug 105443 Summary: [modules] Internal compiler error in write_location https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105443 What|Removed |Added ---

[Bug c++/105443] [modules] Internal compiler error in write_location

2024-11-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105443 Nathaniel Shead changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/105443] [modules] Internal compiler error in write_location

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105443 --- Comment #2 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:48ef485eabc8fd3e16d184860ce693816f3919eb commit r15-4943-g48ef485eabc8fd3e16d184860ce693816f3919eb Author: Nathaniel Shead Date:

[Bug tree-optimization/117398] [12/13/14/15 Regression] ICE: in invert, at value-range.cc:2165 at -O3 with "-fno-thread-jumps"

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117398 --- Comment #8 from GCC Commits --- The releases/gcc-13 branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:84b713589646c63b38ec55352fb87c1e80b69b66 commit r13-9169-g84b713589646c63b38ec55352fb87c1e80b69b66 Author: Andrew MacLeod

[Bug tree-optimization/117398] [12/13/14/15 Regression] ICE: in invert, at value-range.cc:2165 at -O3 with "-fno-thread-jumps"

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117398 --- Comment #7 from GCC Commits --- The releases/gcc-12 branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:78d3156d53567cb2794c3df21dc0d914abe43543 commit r12-10802-g78d3156d53567cb2794c3df21dc0d914abe43543 Author: Andrew MacLeo

[Bug tree-optimization/117398] [12/13/14/15 Regression] ICE: in invert, at value-range.cc:2165 at -O3 with "-fno-thread-jumps"

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117398 --- Comment #6 from GCC Commits --- The releases/gcc-14 branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:e1154e294b3d8f7267612afb2113b2572cb39e33 commit r14-10884-ge1154e294b3d8f7267612afb2113b2572cb39e33 Author: Andrew MacLeo

[Bug c++/113814] [modules] canonical types ICE with imported partial specialization matching existing template-id

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113814 --- Comment #5 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:35425d025b46a384fa89c4d06bd7c128d09e3009 commit r15-4940-g35425d025b46a384fa89c4d06bd7c128d09e3009 Author: Nathaniel Shead Date:

[Bug testsuite/117300] guality tests always complain about debuginfod on Fedora 41 due to DEBUGINFOD_URLS being set

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117300 --- Comment #12 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:8ae4a838bc0f5796369d982330acacf7a8fa7eab commit r15-4941-g8ae4a838bc0f5796369d982330acacf7a8fa7eab Author: H.J. Lu Date: Tue Nov 5 06

[Bug target/117444] [15 regression] Assembler output changes after r15-4756-g06bc3a734e8890

2024-11-04 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117444 --- Comment #1 from Peter Bergner --- Well that patch disables jump tables for -O0 and the test case assumes they'll be generated. The test case is not compiled with any optimization levels, so we could either explicitly add -O1 or -fjump-table

[Bug c++/103524] [meta-bug] modules issue

2024-11-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 113814, which changed state. Bug 113814 Summary: [modules] canonical types ICE with imported partial specialization matching existing template-id https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113814 What|

[Bug c++/113814] [modules] canonical types ICE with imported partial specialization matching existing template-id

2024-11-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113814 Nathaniel Shead changed: What|Removed |Added Target Milestone|--- |15.0 Resolution|---

[Bug testsuite/113710] [14 Regression] g++.dg/modules/hello-1 ICE: canonical types differ for identical types since r14-8710-g65b4cba9d6a9ff

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113710 --- Comment #8 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:35425d025b46a384fa89c4d06bd7c128d09e3009 commit r15-4940-g35425d025b46a384fa89c4d06bd7c128d09e3009 Author: Nathaniel Shead Date:

[Bug target/117444] New: [15 regression] Assembler output changes after r15-4756-g06bc3a734e8890

2024-11-04 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117444 Bug ID: 117444 Summary: [15 regression] Assembler output changes after r15-4756-g06bc3a734e8890 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug testsuite/117300] guality tests always complain about debuginfod on Fedora 41 due to DEBUGINFOD_URLS being set

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117300 --- Comment #11 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:c1d91adb572ca0c5f5e788b070e97c4fe744505a commit r15-4939-gc1d91adb572ca0c5f5e788b070e97c4fe744505a Author: H.J. Lu Date: Sun Oct 27 0

[Bug target/117443] New: lo.c:1462:1: ICE: in change_address_1, at emit-rtl.cc:2299

2024-11-04 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117443 Bug ID: 117443 Summary: lo.c:1462:1: ICE: in change_address_1, at emit-rtl.cc:2299 Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/117442] [15 Regression] Cannot build libgfortran with enable-gather-detailed-mem-stats after r15-4760-g0b73e9382ab51c

2024-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117442 Andrew Pinski changed: What|Removed |Added Summary|Cannot build libgfortran|[15 Regression] Cannot

[Bug other/117442] New: Cannot build libgfortran with enable-gather-detailed-mem-stats after r15-4760-g0b73e9382ab51c

2024-11-04 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117442 Bug ID: 117442 Summary: Cannot build libgfortran with enable-gather-detailed-mem-stats after r15-4760-g0b73e9382ab51c Product: gcc Version: 15.0 Stat

[Bug target/117438] x86's pass_align_tight_loops may cause performance regression in nested loops

2024-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117438 --- Comment #2 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc-patches/2024-May/651699.html

[Bug target/117438] x86's pass_align_tight_loops may cause performance regression in nested loops

2024-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117438 --- Comment #1 from Andrew Pinski --- >this may cause significant performance regression of some nested loops. I suspect it depends on the micro-arch for the x86 target. What are you running the test on? .p2align 6 .L3: I notice GCC

[Bug debug/117437] ICE: in mem_loc_descriptor, at dwarf2out.cc:17079 at -O1 with "-fno-tree-dce" and -g and sanitizer

2024-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117437 --- Comment #3 from Andrew Pinski --- Note the lambda is required for the value-expr. Though maybe you can get a similar thing with nested functions but I have not tried.

[Bug debug/117437] ICE: in mem_loc_descriptor, at dwarf2out.cc:17079 at -O1 with "-fno-tree-dce" and -g and sanitizer

2024-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117437 Andrew Pinski changed: What|Removed |Added Keywords||c++-lambda --- Comment #2 from Andrew P

[Bug c/117065] [15 regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in type_has_padding_at_level_p, at gimple-fold.cc:4820

2024-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117065 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-11-04 Keywords|

[Bug c/117065] [15 regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in type_has_padding_at_level_p, at gimple-fold.cc:4820

2024-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117065 --- Comment #2 from Andrew Pinski --- 0x35b9ae9 internal_error(char const*, ...) /home/apinski/src/upstream-gcc-match/gcc/gcc/diagnostic-global-context.cc:518 0x1b966b9 tree_class_check_failed(tree_node const*, tree_code_class, char cons

[Bug tree-optimization/117439] [12/13/14/15 Regression] ICE in encode_tree_to_bitpos

2024-11-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117439 --- Comment #4 from Jakub Jelinek --- And the last issue is that we don't optimize the dynamic initialization to static initialization, details in PR102876.

[Bug c++/102876] GCC fails to use constant initialization even when it knows the value to initialize

2024-11-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102876 --- Comment #18 from Jakub Jelinek --- I think Richi didn't like it much, but my memory is fuzzy on it. The latest version of the patch was https://gcc.gnu.org/pipermail/gcc-patches/2022-January/588539.html I'll need to look at IRC logs if somet

[Bug tree-optimization/117439] [12/13/14/15 Regression] ICE in encode_tree_to_bitpos

2024-11-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117439 --- Comment #3 from Jakub Jelinek --- There are multiple issues. One is that we uselessly use the sub_byte_op_p case for empty_ctor_p even if it starts and ends on byte boundary. The need for int_mode_for_size (bitlen, 0) check is native_encod

[Bug c/117289] gcc.dg/debug/ctf/ctf-function-pointers-2.c failure with -std=gnu23

2024-11-04 Thread ibhagat at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117289 --- Comment #4 from Indu Bhagat --- On the BTF side, we will see an additional BTF type too with -std=gnu23 (as expected because BTF generation is based off CTF internally in GCC): $ bpftool btf dump file ctf-function-pointers-2.o [1] STRUCT 'c

[Bug c/117289] gcc.dg/debug/ctf/ctf-function-pointers-2.c failure with -std=gnu23

2024-11-04 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117289 --- Comment #3 from Joseph S. Myers --- If deduplication is mainly meant to happen at link time, should we then add -std=gnu17 to this test and leave this issue for a potential future optimization of the CTF output in a single object in -std=gnu

[Bug fortran/117381] -fmax-identifier-length= is completely ignored

2024-11-04 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117381 --- Comment #21 from Jerry DeLisle --- (In reply to Richard Biener from comment #20) --- snip --- > > so you can instead do > > gfc_symbol_buffer the_buf; > > and have it behave like a char the_buf[GFC_MAX_SYMBOL_LEN] declaration. > > The au

[Bug ada/117441] ICE in RTL pass

2024-11-04 Thread simon at pushface dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117441 --- Comment #4 from simon at pushface dot org --- (In reply to Iain Sandoe from comment #3) > (In reply to Eric Botcazou from comment #2) > > https://gcc.gnu.org/pipermail/gcc-patches/2024-November/667365.html > > @Simon .. if it's a show-stoppe

[Bug ada/117441] ICE in RTL pass

2024-11-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117441 Eric Botcazou changed: What|Removed |Added Target Milestone|14.3|12.5

[Bug ada/117441] ICE in RTL pass

2024-11-04 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117441 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #3 f

[Bug ada/117441] ICE in RTL pass

2024-11-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117441 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug ipa/117440] ICE: in merge, at ipa-modref.cc:2138 at -Os

2024-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117440 Andrew Pinski changed: What|Removed |Added Summary|ICE: in merge, at |ICE: in merge, at |ip

[Bug ada/113036] crash on default value with nested iterated component associations

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113036 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:eb929c391fe1e6c2e343abbf9464210554da415b commit r14-10879-geb929c391fe1e6c2e343abbf9464210554da415b Author: Eric Botcazou

[Bug middle-end/117441] ICE in RTL pass

2024-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117441 Andrew Pinski changed: What|Removed |Added Target||aarch64-apple-darwin23 Keywor

[Bug ada/117441] New: ICE in RTL pass

2024-11-04 Thread simon at pushface dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117441 Bug ID: 117441 Summary: ICE in RTL pass Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassi

[Bug ada/113036] crash on default value with nested iterated component associations

2024-11-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113036 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug ada/117051] internal error on alignment clause for type declared in generic unit

2024-11-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117051 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/117439] [12/13/14/15 Regression] ICE in encode_tree_to_bitpos

2024-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117439 --- Comment #2 from Andrew Pinski --- Created attachment 59535 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59535&action=edit Slightly more reduced Remove templates. Note There is a missed loop to memset optimization too.

[Bug c++/105443] [modules] Internal compiler error

2024-11-04 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105443 Nathaniel Shead changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug ada/113036] crash on default value with nested iterated component associations

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113036 --- Comment #3 from GCC Commits --- The master branch has been updated by Marc Poulhi?s : https://gcc.gnu.org/g:7bcfdac0ef763587efd014310b779e192b143c62 commit r15-4918-g7bcfdac0ef763587efd014310b779e192b143c62 Author: Eric Botcazou Date: W

[Bug ada/117051] internal error on alignment clause for type declared in generic unit

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117051 --- Comment #3 from GCC Commits --- The master branch has been updated by Marc Poulhi?s : https://gcc.gnu.org/g:f6afd361c53c319f5151ddd6c0700eea8b0125c9 commit r15-4900-gf6afd361c53c319f5151ddd6c0700eea8b0125c9 Author: Eric Botcazou Date: T

[Bug middle-end/109996] csmith: -O2 -fno-strict-aliasing causing run time trouble

2024-11-04 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109996 --- Comment #4 from David Binderman --- (In reply to Sam James from comment #3) > Which commit did you hit this with? I only know sometime before 20220515. Someone with more git knowledge than me might be able to make progress in bisection.

[Bug target/117048] Failure to combine into XAR instruction

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117048 --- Comment #10 from GCC Commits --- The master branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:1c46a541c6957e8b0eee339d4cff46e951a5ad4e commit r15-4889-g1c46a541c6957e8b0eee339d4cff46e951a5ad4e Author: Kyrylo Tkachov Date:

[Bug libstdc++/117276] std::sort(par_unseq ,...) leaks memory when called repeatedly

2024-11-04 Thread oschonrock at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117276 --- Comment #3 from Oliver Schönrock --- Realised the link to my repo with demo code was incorrect. Here is the correct one: https://github.com/oschonrock/tbbleak

[Bug ipa/117440] New: ICE: in merge, at ipa-modref.cc:2138 at -Os with "-fno-tree-pta"

2024-11-04 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117440 Bug ID: 117440 Summary: ICE: in merge, at ipa-modref.cc:2138 at -Os with "-fno-tree-pta" Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/107294] Missed optimization: multiplying real with complex number in Fortran (only)

2024-11-04 Thread mjr19 at cam dot ac.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107294 --- Comment #7 from mjr19 at cam dot ac.uk --- I was sufficiently confused having read the Standard to persuade Dr John Reid to submit a request for clarification to J3, the Fortran Standards Committee. The request is at https://j3-fortran.org/d

[Bug target/116725] operand size mismatch for vfpclasssd and vfpclassss when using -masm=intel for AVX512 builtins

2024-11-04 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116725 Antoni changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/116725] operand size mismatch for vfpclasssd and vfpclassss when using -masm=intel for AVX512 builtins

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116725 --- Comment #8 from GCC Commits --- The master branch has been updated by Antoni Boucher : https://gcc.gnu.org/g:9141bfdd483e2838f5dce767f1c1657710ef2daf commit r15-4888-g9141bfdd483e2838f5dce767f1c1657710ef2daf Author: Antoni Boucher Date:

[Bug tree-optimization/117398] [12/13/14/15 Regression] ICE: in invert, at value-range.cc:2165 at -O3 with "-fno-thread-jumps"

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117398 --- Comment #5 from GCC Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:766075c47db5cc9d04463bfb2219b593bb4263ee commit r15-4887-g766075c47db5cc9d04463bfb2219b593bb4263ee Author: Andrew MacLeod Date:

[Bug c++/117439] [12/13/14/15 Regression] ICE in encode_tree_to_bitpos

2024-11-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117439 Jakub Jelinek changed: What|Removed |Added Summary|[11/12/13/14/15] ICE in |[12/13/14/15 Regression]

[Bug tree-optimization/117287] [13/14/15 Regression] assume attribute related miscompilation

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117287 --- Comment #8 from GCC Commits --- The releases/gcc-14 branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:393ee6b64579ea5ae5ae88079d271d3a237c7d9f commit r14-10876-g393ee6b64579ea5ae5ae88079d271d3a237c7d9f Author: Andrew MacLeo

[Bug c++/117439] New: [11/12/13/14/15] ICE in encode_tree_to_bitpos

2024-11-04 Thread lixinyang411 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117439 Bug ID: 117439 Summary: [11/12/13/14/15] ICE in encode_tree_to_bitpos Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c+

[Bug target/102296] ELF symbol sizes for variable-length objects are broken (solaris)

2024-11-04 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102296 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE --- Please Cc me on Solaris bugs from the beginning, otherwise I'm almost guaranteed to miss them. That said, where do you see this? (The PR refers to GCC 12.0). As far as I could find, b

[Bug target/114801] [14/15 Regression] arm: ICE in find_cached_value, at rtx-vector-builder.cc:100 with MVE intrinsics

2024-11-04 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114801 Richard Earnshaw changed: What|Removed |Added Keywords|ice-on-valid-code |ice-on-invalid-code --- Comment #40

[Bug fortran/117434] [F08] gfortran rejects actual argument corresponding to procedure pointer dummy argument

2024-11-04 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117434 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org

[Bug target/114801] [14/15 Regression] arm: ICE in find_cached_value, at rtx-vector-builder.cc:100 with MVE intrinsics

2024-11-04 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114801 --- Comment #39 from Christophe Lyon --- A bit more context: https://developer.arm.com/documentation/101028/0012/14--M-profile-Vector-Extension--MVE--intrinsics The section about predicates uses the word 'lanes' and says 'When calling a predica

[Bug libstdc++/117406] std::ilogb should return INT_MAX when argument is infinite also for 16-bit floats

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117406 --- Comment #9 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:72b7bbf9d4482fac6bac81508833e407201e0733 commit r14-10874-g72b7bbf9d4482fac6bac81508833e407201e0733 Author: Jakub Jelinek

[Bug target/117296] [12/13/14 Regression] ICE: in expand_gimple_basic_block, at cfgexpand.cc:5896 with -mtune=k6 -mstringop-strategy=libcall -ffloat-store

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117296 --- Comment #5 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:82285392ab5cd1d83b8f4a92f521d3323c5996e7 commit r14-10871-g82285392ab5cd1d83b8f4a92f521d3323c5996e7 Author: Jakub Jelinek

[Bug libstdc++/117406] std::ilogb should return INT_MAX when argument is infinite also for 16-bit floats

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117406 --- Comment #8 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:377f81a60ba78dde6c59bc40af46ef8ad3569693 commit r14-10873-g377f81a60ba78dde6c59bc40af46ef8ad3569693 Author: Jakub Jelinek

[Bug libstdc++/117321] std::float16_t: undefined reference to `nextafterf16'

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117321 --- Comment #8 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ec43369c7e2c4b930a501252fa048df51c141970 commit r14-10870-gec43369c7e2c4b930a501252fa048df51c141970 Author: Jakub Jelinek

[Bug middle-end/117354] ICE: in extract_bit_field_1, at expmed.cc:1838 with _BitInt (and asan in some cases)

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117354 --- Comment #13 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:1553e4094207cfe87e98980752a88a49e1b6626d commit r14-10872-g1553e4094207cfe87e98980752a88a49e1b6626d Author: Jakub Jelinek

[Bug libstdc++/117406] std::ilogb should return INT_MAX when argument is infinite also for 16-bit floats

2024-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117406 --- Comment #7 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:afcbf4dd27c147eb7d8f84e1a41c021eddec777e commit r15-4883-gafcbf4dd27c147eb7d8f84e1a41c021eddec777e Author: Jakub Jelinek Date: M

[Bug testsuite/117419] test failures for enum-alias-{1,2,3} on arm-eabi

2024-11-04 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117419 --- Comment #4 from Richard Earnshaw --- enum size is ABI (affects data layout). So you can't use -f[no-]short-enums for executable tests. The best way to deal with this is to ensure that the size of the enum defaults to int (eg by adding a du

[Bug target/56513] Wrong code generation with -O3 on ARM

2024-11-04 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56513 --- Comment #8 from Richard Earnshaw --- For something this old, we should probably just close it as fixed as of Richi's patch.

[Bug c++/117410] [CWG2949] Ambiguous overload with variadic arguments

2024-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117410 Jonathan Wakely changed: What|Removed |Added Blocks||94404 Status|NEW

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

2024-11-04 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #420 from John Paul Adrian Glaubitz --- Created attachment 59532 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59532&action=edit Preprocessed source from from comment #419

[Bug middle-end/117433] [14/15 Regression] ICE: in emit_move_insn, at expr.cc:4633 with __builtin_assoc_barrier(vector types)

2024-11-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117433 --- Comment #6 from Richard Biener --- I suspect a plain SSA assignment would also ICE this way. Testing a patch.

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

2024-11-04 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #419 from John Paul Adrian Glaubitz --- In the meantime, I found another regression when building ffmpeg: gcc -I. -Isrc/ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -U_FORTIFY_SOURCE -D_

[Bug libstdc++/117406] std::ilogb should return INT_MAX when argument is infinite also for 16-bit floats

2024-11-04 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117406 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug bootstrap/117407] [15 regression] bootstrap fails after r15-4847-g79a75b1f551821

2024-11-04 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117407 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug fortran/117434] [F08] gfortran rejects actual argument corresponding to procedure pointer dummy argument

2024-11-04 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117434 --- Comment #5 from Iain Sandoe --- (In reply to Richard Biener from comment #4) > The executable stack thing happens when a trampoline is required to handle > the nested function. Optimization will sometimes elide the nested function > call vi

  1   2   >