[Bug target/118320] [14/15 Regression] internal compiler error: Segmentation fault in aarch64-ldp-fusion.cc

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118320 --- Comment #6 from Andrew Pinski --- Created attachment 60062 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60062&action=edit Slightly more reduced Only needs `-O1 -fno-tree-sra ` .

[Bug target/118320] [14/15 Regression] internal compiler error: Segmentation fault in aarch64-ldp-fusion.cc

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118320 --- Comment #5 from Andrew Pinski --- The IR at the time which is causing the crash: ``` (insn 5 2 15 2 (clobber (reg:DI 0 x0 [orig:103 aD.4508 ] [103])) "/app/example.cpp":3:23 -1 (nil)) (insn 15 5 18 2 (set (mem/c:DI (plus:DI (reg/f:DI 31

[Bug c++/118319] [12/13/14/15 Regression] ICE Segmentation fault in friend declaration with default argument assigned to an empty lambda expression

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

[Bug c++/118319] [12/13/14/15 Regression] ICE Segmentation fault in friend declaration with default argument assigned to an empty lambda expression

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118319 Andrew Pinski changed: What|Removed |Added Known to fail||12.4.0, 13.1.0 Known to work|

[Bug tree-optimization/118186] [15 regression] FAIL: gcc.dg/field-merge-16.c scan-tree-dump-times ifcombine "optimizing" 6

2025-01-06 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118186 Alexandre Oliva changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigne

[Bug tree-optimization/118206] [15 regression] libdeflate miscompiled by ifcombine since r15-6360-g6d5df5133c5dd8

2025-01-06 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118206 Alexandre Oliva changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #11 from Alexand

[Bug target/118320] [14/15 Regression] internal compiler error: Segmentation fault in aarch64-ldp-fusion.cc

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118320 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.3 Status|UNCONFIRMED

[Bug target/118320] [aarch64] internal compiler error: Segmentation fault in aarch64-ldp-fusion.cc

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118320 Andrew Pinski changed: What|Removed |Added Attachment #60060|0 |1 is obsolete|

[Bug target/118320] [aarch64] internal compiler error: Segmentation fault in aarch64-ldp-fusion.cc

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118320 Andrew Pinski changed: What|Removed |Added Attachment #60059|0 |1 is obsolete|

[Bug target/118320] [aarch64] internal compiler error: Segmentation fault in aarch64-ldp-fusion.cc

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118320 --- Comment #1 from Andrew Pinski --- Created attachment 60059 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60059&action=edit First step at reducing and cleaning this up

[Bug middle-end/65374] [SH] Tail call optimization not done for libcalls

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65374 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/118320] New: [aarch64] internal compiler error: Segmentation fault in aarch64-ldp-fusion.cc

2025-01-06 Thread kugan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118320 Bug ID: 118320 Summary: [aarch64] internal compiler error: Segmentation fault in aarch64-ldp-fusion.cc Product: gcc Version: 15.0 Status: UNCONFIRMED Severity:

[Bug target/65214] [SH] Optimize sign/zero extensions across basic blocks

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65214 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug rtl-optimization/66248] subreg truncation not hoisted from loop

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66248 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Target|arm, mips, sparc

[Bug ipa/60674] missed devirtualization in function called by destructor (g++.dg/ipa/devirt-23.C)

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

[Bug tree-optimization/65511] transform_to_exit_first_loop looses edge probabilities

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

[Bug tree-optimization/66288] parallelized loop vectorized with runtime alias check even though it is known the two arrays will never alias

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66288 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-01-07 Severity|minor

[Bug c++/118319] New: ICE Segmentation fault in friend declaration with default argument assigned to an empty lambda expression

2025-01-06 Thread wangbopku15 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118319 Bug ID: 118319 Summary: ICE Segmentation fault in friend declaration with default argument assigned to an empty lambda expression Product: gcc Version: 15.0

[Bug ipa/67024] IPA SRA removes sibling-call opportunities

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

[Bug target/56338] register spill caused by loading constant

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56338 --- Comment #3 from Andrew Pinski --- This one is interesting because the versions which rbp and rbx are saved vs not happens a few times.

[Bug target/44958] Poor register choice on x86

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44958 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Last reconfirmed|

[Bug tree-optimization/33113] Failing to represent the stride (with array) of a dataref when it is not a constant

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33113 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-01-07 Ever confirmed|0

[Bug ipa/118318] ICE when building firefox-134.0 with PGO and LTO

2025-01-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118318 --- Comment #5 from Sam James --- Without -fprofile-correction, I get: ``` /var/tmp/portage/www-client/firefox-134.0/work/firefox-134.0/media/ffvpx/libavutil/tx.c:939:1: error: corrupted profile info: profile data is not flow-consistent 939 |

[Bug ipa/118318] ICE when building firefox-134.0 with PGO and LTO

2025-01-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118318 --- Comment #4 from Sam James --- Created attachment 60057 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60057&action=edit tx.gcda $ gcc -std=gnu99 -O1 -o tx.o -c -fprofile-use -fprofile-correction -Wno-coverage-mismatch tx.i -O1 /var/tm

[Bug ipa/118318] ICE when building firefox-134.0 with PGO and LTO

2025-01-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118318 --- Comment #3 from Sam James --- Created attachment 60056 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60056&action=edit tx.i

[Bug ipa/117546] [14 regression] Different (and incorrect) behavior when compiling C code with -O2

2025-01-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117546 Sam James changed: What|Removed |Added Keywords|needs-testcase | Status|ASSIGNED

[Bug ipa/98000] [12/13/14/15 Regression] ICE verify_cgraph_node failed since r10-7306-g72b3bc895f023bf4

2025-01-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98000 Sam James changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ipa/117546] [14 regression] Different (and incorrect) behavior when compiling C code with -O2

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117546 --- Comment #12 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:f9ff478446a2cac8f73c906fb3dbeade5aa46909 commit r15-6612-gf9ff478446a2cac8f73c906fb3dbeade5aa46909 Author: Sam James Date: Fri Jan

[Bug ipa/98000] [12/13/14/15 Regression] ICE verify_cgraph_node failed since r10-7306-g72b3bc895f023bf4

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98000 --- Comment #13 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:e53277d849a13a8a36f488f6725700311c74080e commit r15-6613-ge53277d849a13a8a36f488f6725700311c74080e Author: Sam James Date: Fri Jan 3

[Bug ipa/118303] Various behaviours exposed by the testsuite result dependent on TARGET_CALLEE_COPIES

2025-01-06 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118303 --- Comment #7 from Hans-Peter Nilsson --- (In reply to Hans-Peter Nilsson from comment #6) > BTW, why component ipa? Takling to myself again: the two linked PR:s have component ipa. That may be correct for those PR:s, but rather than designati

[Bug fortran/109066] Segfault when using defined assignment

2025-01-06 Thread mkrupcale at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109066 Matthew Krupcale changed: What|Removed |Added CC||mkrupcale at gmail dot com --- Comme

[Bug ipa/118318] ICE when building firefox-134.0 with PGO

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118318 Andrew Pinski changed: What|Removed |Added Keywords||ice-checking --- Comment #2 from Andrew

[Bug ipa/118318] ICE when building firefox-134.0 with PGO

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118318 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code, lto Compone

[Bug gcov-profile/118318] New: ICE when building firefox-134.0 with PGO

2025-01-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
isable-vtable-verify --disable-libvtv --with-zstd --with-isl --disable-isl-version-check --enable-default-pie --enable-host-pie --enable-host-bind-now --enable-default-ssp --disable-fixincludes --with-build-config='bootstrap-O3 bootstrap-lto' Thread model: posix Supported LTO compres

[Bug tree-optimization/118317] `len - (len != 0) + 1` should optimize to `len == 0 ? 1 : len`

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118317 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org La

[Bug tree-optimization/118316] Missed optimization: while (len > 1) len -= 2;

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118316 --- Comment #4 from Andrew Pinski --- Oh this is just a special case of PR 98304 really.

[Bug tree-optimization/118316] Missed optimization: while (len > 1) len -= 2;

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118316 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Interesting clang is able to optimize the above but not the loop. clang produces: ``` unsigned bar1(char* buf, unsigned len) { unsigned t = len - (len != 0)

[Bug tree-optimization/118317] New: `len - (len != 0) + 1` should optimize to `len == 0 ? 1 : len`

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118317 Bug ID: 118317 Summary: `len - (len != 0) + 1` should optimize to `len == 0 ? 1 : len` Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimiza

[Bug tree-optimization/118316] Missed optimization: while (len > 1) len -= 2;

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118316 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > It comes down to optimizing: > ``` > unsigned f(unsigned len) > { > if (len > 1) > len &= 1; > return len; > } > ``` Interesting clang is able to optimi

[Bug tree-optimization/118316] Missed optimization: while (len > 1) len -= 2;

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

[Bug tree-optimization/118316] New: Missed optimization: while (len > 1) len -= 2;

2025-01-06 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118316 Bug ID: 118316 Summary: Missed optimization: while (len > 1) len -= 2; Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug modula2/118010] -Wlto-type-mismatch warning/error during m2 bootstrap on arm (gm2-libs-boot/Glibc.h:206:16: warning: type of ‘libc_lseek’ does not match original declaration [-Wlto-type-mismatch]

2025-01-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118010 --- Comment #6 from Sam James --- (In reply to Gaius Mulley from comment #2) > Created attachment 59912 [details] > Proposed fix > > Many thanks for the bug report. > > Here is a proposed patch, (although I've not built it with --Wtype-mismatc

[Bug modula2/118010] -Wlto-type-mismatch warning/error during m2 bootstrap on arm (gm2-libs-boot/Glibc.h:206:16: warning: type of ‘libc_lseek’ does not match original declaration [-Wlto-type-mismatch]

2025-01-06 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118010 Gaius Mulley changed: What|Removed |Added Attachment #59912|0 |1 is obsolete|

[Bug modula2/118010] -Wlto-type-mismatch warning/error during m2 bootstrap on arm (gm2-libs-boot/Glibc.h:206:16: warning: type of ‘libc_lseek’ does not match original declaration [-Wlto-type-mismatch]

2025-01-06 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118010 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/118006] ICE when building rr-5.8.0 with -fstrub=all (RTL check: expected elt 2 type 'B', have '0' (rtx barrier) in BLOCK_FOR_INSN, at rtl.h:1499)

2025-01-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118006 Sam James changed: What|Removed |Added Target Milestone|--- |15.0

[Bug middle-end/118006] ICE when building rr-5.8.0 with -fstrub=all (RTL check: expected elt 2 type 'B', have '0' (rtx barrier) in BLOCK_FOR_INSN, at rtl.h:1499)

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118006 --- Comment #5 from GCC Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:1b1a33f76879dae3e6c2c1e8fb3656b0adb52ad5 commit r15-6610-g1b1a33f76879dae3e6c2c1e8fb3656b0adb52ad5 Author: Alexandre Oliva Date:

[Bug middle-end/118006] ICE when building rr-5.8.0 with -fstrub=all (RTL check: expected elt 2 type 'B', have '0' (rtx barrier) in BLOCK_FOR_INSN, at rtl.h:1499)

2025-01-06 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118006 Alexandre Oliva changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/103391] [12/13/14/15 Regression] ICE: gimplification failed since r7-4021-g574284e9c49687d8

2025-01-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103391 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org --

[Bug c++/118169] [15 regression] ICE error: non-trivial conversion in ‘integer_cst’ with std::variant and -O1 since r15-6369-gfa99002538bc91

2025-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118169 --- Comment #20 from Marek Polacek --- Looks like this fixes it: --- a/gcc/cp/typeck2.cc +++ b/gcc/cp/typeck2.cc @@ -757,7 +757,7 @@ split_nonconstant_init (tree dest, tree init) init = NULL_TREE; for (tree f : flags) - add_stmt (

[Bug c++/118315] fmt library export module for -g, -Og or -O0 crashes compiler; -O1 and -O2 works

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118315 --- Comment #5 from Andrew Pinski --- # 301 "../include/fmt/base.h" #pragma GCC push_options # 303 "../include/fmt/base.h" #pragma GCC optimize("Og") # 303 "../include/fmt/base.h"

[Bug c++/108080] ICE: in core_vals, at cp/module.cc:6262 with -fmodule-header

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108080 Andrew Pinski changed: What|Removed |Added CC||ladislav.dobrovsky at gmail dot co

[Bug c++/118315] fmt library export module for -g, -Og or -O0 crashes compiler; -O1 and -O2 works

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118315 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

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

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 118315, which changed state. Bug 118315 Summary: fmt library export module for -g, -Og or -O0 crashes compiler; -O1 and -O2 works https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118315 What|Removed

[Bug c++/118315] fmt library export module for -g, -Og or -O0 crashes compiler; -O1 and -O2 works

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118315 --- Comment #3 from Andrew Pinski --- // fmt.cc:90:8: internal compiler error: in core_vals, at cp/module.cc:6334 //90 | export module fmt;

[Bug c++/118315] fmt library export module for -g, -Og or -O0 crashes compiler; -O1 and -O2 works

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118315 Andrew Pinski changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever confirmed|1

[Bug ipa/118303] Various behaviours exposed by the testsuite result dependent on TARGET_CALLEE_COPIES

2025-01-06 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118303 --- Comment #6 from Hans-Peter Nilsson --- BTW, why component ipa? Before I change it back to middle-end, I'd like to know a reason for that. IIUC, it's most likely similar (not *inter*- but) *intra*-procedure bugs not handling a certain type

[Bug c++/118315] fmt library export module for -g, -Og or -O0 crashes compiler; -O1 and -O2 works

2025-01-06 Thread ladislav.dobrovsky at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118315 --- Comment #2 from Ladislav Dobrovský --- Created attachment 60054 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60054&action=edit gcc 14 -freport-bug file

[Bug c++/118315] fmt library export module for -g, -Og or -O0 crashes compiler; -O1 and -O2 works

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118315 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug c++/118315] New: fmt library export module for -g, -Og or -O0 crashes compiler; -O1 and -O2 works

2025-01-06 Thread ladislav.dobrovsky at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118315 Bug ID: 118315 Summary: fmt library export module for -g, -Og or -O0 crashes compiler; -O1 and -O2 works Product: gcc Version: 14.2.0 Status: UNCONFIRMED Sever

[Bug analyzer/118300] [12/13/14/15 Regression] False malloc leak warning from static analyzer with -fsanitize=address,undefined

2025-01-06 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118300 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug target/118280] [14/15 Regression] __atomic_test_and_set in Microblaze are broken (exposed by r14-4286)

2025-01-06 Thread thomas.petazzoni--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118280 --- Comment #7 from Thomas Petazzoni --- (In reply to Joseph S. Myers from comment #6) > Are you *actually using the code built by recent GCC versions on Microblaze > hardware running the Linux kernel* (as opposed to simply building software > f

[Bug d/118314] [15 regression] libphobos.phobos/std/bitmanip.d FAILs

2025-01-06 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118314 Iain Buclaw changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org --- Comment #1

[Bug analyzer/118300] [12/13/14/15 Regression] False malloc leak warning from static analyzer with -fsanitize=address,undefined

2025-01-06 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118300 --- Comment #3 from David Malcolm --- FWIW it seems to be just "-fsanitize=undefined" that's needed, not "address": https://gcc.godbolt.org/z/bbcoa4oWK Adding -fdump-ipa-analyzer=stderr shows: V

[Bug target/118276] memset 88 uses rep stosq while 80 uses SSE

2025-01-06 Thread benfrantzdale at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118276 --- Comment #12 from Ben FrantzDale --- Thanks for clarifying. To be 100% clear, you are saying that with no c'tor, or `= default;`, `S{}` will zero just the non-padding bytes, but adding `S() noexcept {}` drops that requirement? Yes, the middl

[Bug c++/118304] [15 regression] ICE on invalid constructor with an asterisk since r15-3721-ga2746e4347076e

2025-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118304 Marek Polacek changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug c++/118296] ICE with invalid deduction of template arguments for operator[] with constexpr

2025-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118296 Marek Polacek changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug fortran/115788] [F2018] Implement OUT_OF_RANGE

2025-01-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115788 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot gnu

[Bug fortran/108434] [12/13/14/15 Regression] ICE in class_allocatable, at fortran/expr.cc:5000

2025-01-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108434 --- Comment #14 from anlauf at gcc dot gnu.org --- (In reply to Paul Thomas from comment #13) > BTW The attached patch regression tests OK :-) Simple and effective. Nice! Regarding the treatment of the error message: do we need to help the tra

[Bug target/110812] Missing TARGET_OPTION_SAVE/RESTORE on riscv

2025-01-06 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 --- Comment #3 from Andreas Schwab --- This also breaks openblas.

[Bug go/118286] go crypto/tls test fails because of expired certificate? (TestVerifyConnection, bad certificate)

2025-01-06 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118286 Ian Lance Taylor changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/118240] ICE Segmentation fault with default non-type template parameter(on PR103943)

2025-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118240 --- Comment #2 from Marek Polacek --- Seems that the ICE started with r11-2748-gb871301f09be70: commit b871301f09be7061904dc87880919d30e6afef8f Author: Jason Merrill Date: Fri Aug 14 18:01:27 2020 -0400 c++: Rewrite members for all dedu

[Bug target/111600] [14/15 Regression] RISC-V bootstrap time regression

2025-01-06 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111600 Bug 111600 depends on bug 116166, which changed state. Bug 116166 Summary: [13 Regression] risc-v (last) insn-emit-nn.c build takes hours https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116166 What|Removed |Added

[Bug tree-optimization/116166] [13 Regression] risc-v (last) insn-emit-nn.c build takes hours

2025-01-06 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116166 Mark Wielaard changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/118280] [14/15 Regression] __atomic_test_and_set in Microblaze are broken (exposed by r14-4286)

2025-01-06 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118280 --- Comment #6 from Joseph S. Myers --- Are you *actually using the code built by recent GCC versions on Microblaze hardware running the Linux kernel* (as opposed to simply building software for lots of different targets that GCC claims to suppo

[Bug tree-optimization/118032] [15 regression] Bootstrap slowdown for risc-v

2025-01-06 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118032 --- Comment #35 from Mark Wielaard --- Shall we close this bug or keep it open for implementing greedy switch clustering for jump tables as suggested in comment #29 ?

[Bug tree-optimization/118032] [15 regression] Bootstrap slowdown for risc-v

2025-01-06 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118032 --- Comment #34 from Mark Wielaard --- After r15-6598-g668cad04b16fc044142474232ac072fcc5f94433 ("tree-switch-conversion: don't apply switch size limit on jump tables") the build speeds up considerably: https://builder.sourceware.org/buildbot/#/

[Bug sanitizer/117725] [15 Regression] s390 -m31 bootstrap failure in interception.h since r15-5164-gfa321004f3f628

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117725 --- Comment #15 from GCC Commits --- The master branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:f0b8256224ec082ecffddcb5624a4b5032c09113 commit r15-6607-gf0b8256224ec082ecffddcb5624a4b5032c09113 Author: Vitaly Bu

[Bug sanitizer/117725] [15 Regression] s390 -m31 bootstrap failure in interception.h since r15-5164-gfa321004f3f628

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117725 --- Comment #16 from GCC Commits --- The master branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:7a7903dec533e02c58e634b6ddd680f36c4cd933 commit r15-6608-g7a7903dec533e02c58e634b6ddd680f36c4cd933 Author: Stefan Sc

[Bug sanitizer/117725] [15 Regression] s390 -m31 bootstrap failure in interception.h since r15-5164-gfa321004f3f628

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117725 --- Comment #14 from GCC Commits --- The master branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:1bd03564f29dc31e67e67efd93137d50fa7bb8a4 commit r15-6606-g1bd03564f29dc31e67e67efd93137d50fa7bb8a4 Author: Stefan Sc

[Bug sanitizer/117725] [15 Regression] s390 -m31 bootstrap failure in interception.h since r15-5164-gfa321004f3f628

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117725 --- Comment #13 from GCC Commits --- The master branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:0bb38b2786a097f97664afbcf6577b77dd305d44 commit r15-6605-g0bb38b2786a097f97664afbcf6577b77dd305d44 Author: Stefan Sc

[Bug c++/118240] ICE Segmentation fault with default non-type template parameter(on PR103943)

2025-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118240 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/118226] packed index out of range error message could be improved

2025-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118226 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug c++/118193] [12/13/14/15 regression] [C++17+] ICE: in verify_ctor_sanity, at cp/constexpr.cc:5362

2025-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118193 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org K

[Bug c++/118192] ICE: in build_data_member_initialization, at cp/constexpr.cc:453

2025-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118192 --- Comment #6 from Marek Polacek --- Started with r0-113757-g238e471cadfb1c: commit 238e471cadfb1c2995e6bc4c995328eacc39d0da Author: Ville Voutilainen AuthorDate: Mon Dec 5 17:49:25 2011 +0200 Commit: Jason Merrill CommitDate: Mon De

[Bug c++/118192] ICE: in build_data_member_initialization, at cp/constexpr.cc:453

2025-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118192 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/118180] internal compiler error: tree check: expected tree_vec, have identifier_node in tsubst_decl, at cp/pt.cc:15617

2025-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118180 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/118206] [15 regression] libdeflate miscompiled by ifcombine since r15-6360-g6d5df5133c5dd8

2025-01-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118206 --- Comment #10 from Jakub Jelinek --- And for the comparison against constant(s), there is a question whether those don't need to be adjusted (or punted if they have bits that can't be ever set). I mean say that (something >> 4) != someconst an

[Bug go/118286] go crypto/tls test fails because of expired certificate? (TestVerifyConnection, bad certificate)

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118286 --- Comment #1 from GCC Commits --- The master branch has been updated by Ian Lance Taylor : https://gcc.gnu.org/g:ed1493e12ed75e837e9b9aa794ed24daf397df7c commit r15-6604-ged1493e12ed75e837e9b9aa794ed24daf397df7c Author: Ian Lance Taylor Dat

[Bug tree-optimization/118206] [15 regression] libdeflate miscompiled by ifcombine since r15-6360-g6d5df5133c5dd8

2025-01-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118206 --- Comment #9 from Jakub Jelinek --- Ah, I wonder if the problem isn't with ll_and_mask -> ll_mask, which is 15 and maybe picks the right top part, but with rl_and_mask. That is -8 and xrl_bitpos is 4 and as lnprec is 16 and rl_and_mask.get_pre

[Bug gcov-profile/96092] Should --coverage respect -ffile-prefix-map?

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96092 --- Comment #10 from GCC Commits --- The master branch has been updated by Fangrui Song : https://gcc.gnu.org/g:fa778ba7d04497bdf32751488c8efd82db3b5e65 commit r15-6602-gfa778ba7d04497bdf32751488c8efd82db3b5e65 Author: Fangrui Song Date: Tue

[Bug d/118309] d: Forward referenced enums missing type names in debug info

2025-01-06 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118309 --- Comment #1 from Iain Buclaw --- It looks like the cause is early debug hooks being called before types are complete. My sense is that almost all calls to rest_of_{type,decl}_compilation during the codegen pass in the D frontend are too earl

[Bug tree-optimization/118206] [15 regression] libdeflate miscompiled by ifcombine since r15-6360-g6d5df5133c5dd8

2025-01-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118206 --- Comment #8 from Jakub Jelinek --- It is in fold_truth_andor_for_ifcombine. I'll note that the first_bit/end_bit determination code seems to ignore the [lr]r_and_mask. We have 16-bit access with lr_and_mask 15, and 8-bit access with rr_and_m

[Bug c++/118190] [12/13/14/15 Regression] ICE: in tsubst_expr, at cp/pt.cc:22244

2025-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118190 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug target/117759] Alpha: Data races with 8-bit/16-bit stores

2025-01-06 Thread macro at orcam dot me.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117759 Maciej W. Rozycki changed: What|Removed |Added Summary|Alpha: `_Atomic' keyword|Alpha: Data races with

[Bug fortran/103391] [12/13/14/15 Regression] ICE: gimplification failed since r7-4021-g574284e9c49687d8

2025-01-06 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103391 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #7 f

gcc-bugs@gcc.gnu.org

2025-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118307 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug fortran/104130] [12/13 Regression] ICE in gfc_add_class_array_ref, at fortran/class.c:274 since r12-4467-g64f9623765da3306

2025-01-06 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104130 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #9 f

[Bug fortran/105152] [10/11/12/13/14 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.cc:5647 since r9-5372-gbbf18dc5d248a79a

2025-01-06 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105152 --- Comment #8 from Paul Thomas --- Well, "a few weeks" turned into rather longer than that. Apologies. Now fixed on 13-branch. This also fixes pr104130 by the way. Thanks Paul

[Bug fortran/82774] [10/11/12/13/14 Regression] Structure constructor and deferred type parameter character component

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82774 --- Comment #13 from GCC Commits --- The releases/gcc-13 branch has been updated by Paul Thomas : https://gcc.gnu.org/g:fc062c12ff59b22061bea98a3539da857968bccb commit r13-9282-gfc062c12ff59b22061bea98a3539da857968bccb Author: Paul Thomas Date

[Bug fortran/87946] [10/11/12/13/14 Regression] ICE in gfc_walk_array_ref, at fortran/trans-array.c:10506

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87946 --- Comment #11 from GCC Commits --- The releases/gcc-13 branch has been updated by Paul Thomas : https://gcc.gnu.org/g:fc062c12ff59b22061bea98a3539da857968bccb commit r13-9282-gfc062c12ff59b22061bea98a3539da857968bccb Author: Paul Thomas Date

  1   2   >