[Bug tree-optimization/114872] [13/14/15 Regression] Miscompilation with -O2 after commit r13-8037

2024-04-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114872 --- Comment #5 from Sam James --- Some ideas: * Could you maybe give a reproducer for the runtime crash? * Any chance you'd be willing to try bisect element.i with pragmas to disable/enable optimisation for chunks of it, to find the miscompiled

[Bug ipa/114790] [11/12/13/14 regression] ICE when building intel-compute-runtime (error: direct call to ... speculative call sequence has no speculative flag)

2024-04-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114790 --- Comment #13 from Sam James --- Created attachment 58018 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58018=edit tracing_copy_imp.cpp.ii-reduced Attached another attempt...

[Bug ipa/114790] [11/12/13/14 regression] ICE when building intel-compute-runtime (error: direct call to ... speculative call sequence has no speculative flag)

2024-04-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114790 --- Comment #12 from Sam James --- Created attachment 58017 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58017=edit tracing_imp.cpp.ii-reduced

[Bug ipa/114790] [11/12/13/14 regression] ICE when building intel-compute-runtime (error: direct call to ... speculative call sequence has no speculative flag)

2024-04-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114790 Sam James changed: What|Removed |Added Summary|ICE when building |[11/12/13/14 regression]

[Bug ipa/114790] ICE when building intel-compute-runtime (error: direct call to ... speculative call sequence has no speculative flag)

2024-04-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114790 --- Comment #7 from Sam James --- `g++-14 -fPIC -O2 -flto -flto-partition=1to1 -shared -Wl,--version-script=ze.exports reduced-a.ii reduced-b.ii` it violates ODR though: ```

[Bug ipa/114790] ICE when building intel-compute-runtime (error: direct call to ... speculative call sequence has no speculative flag)

2024-04-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114790 --- Comment #6 from Sam James --- Created attachment 58001 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58001=edit reduced-b.ii

[Bug ipa/114790] ICE when building intel-compute-runtime (error: direct call to ... speculative call sequence has no speculative flag)

2024-04-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114790 --- Comment #5 from Sam James --- Created attachment 58000 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58000=edit reduced-a.b

[Bug ipa/114790] ICE when building intel-compute-runtime (error: direct call to ... speculative call sequence has no speculative flag)

2024-04-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114790 --- Comment #4 from Sam James --- I'm going to kick off a reduction but don't count on me either, as I hate doing LTO ones.

[Bug lto/114790] ICE when building intel-compute-runtime (error: direct call to ... speculative call sequence has no speculative flag)

2024-04-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114790 --- Comment #3 from Sam James --- Created attachment 57997 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57997=edit tracing_copy_imp.cpp.ii.xz

[Bug lto/114790] ICE when building intel-compute-runtime (error: direct call to ... speculative call sequence has no speculative flag)

2024-04-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114790 --- Comment #2 from Sam James --- Created attachment 57996 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57996=edit tracing_device_imp.cpp.ii.xz

[Bug lto/114790] ICE when building intel-compute-runtime (error: direct call to ... speculative call sequence has no speculative flag)

2024-04-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114790 --- Comment #1 from Sam James --- Created attachment 57995 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57995=edit tracing_imp.cpp.ii.xz

[Bug lto/114790] New: ICE when building intel-compute-runtime (error: direct call to ... speculative call sequence has no speculative flag)

2024-04-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114790 Bug ID: 114790 Summary: ICE when building intel-compute-runtime (error: direct call to ... speculative call sequence has no speculative flag) Product: gcc

[Bug c/114731] -Wincompatible-pointer-types false positive in combination with _Generic(3)

2024-04-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114731 --- Comment #4 from Sam James --- I think this sort of thing is somewhat common when it comes to something the frontend can't even parse. But we'll see what others say.

[Bug libstdc++/114724] [Regression] libstdc++prettyprinters/debug.[cc|cxx11.cc] failing to build

2024-04-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114724 --- Comment #3 from Sam James --- For future reference, I recommend including the link to the other report, and also CCing the author/committer of bisect results. Thanks!

[Bug libstdc++/114724] [Regression] libstdc++prettyprinters/debug.[cc|cxx11.cc] failing to build

2024-04-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114724 Sam James changed: What|Removed |Added Resolution|INVALID |MOVED CC|

[Bug c/114731] -Wincompatible-pointer-types false positive in combination with _Generic(3)

2024-04-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114731 Sam James changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug target/114676] [12/13/14 Regression] DSE removes assignment that is used later

2024-04-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114676 Sam James changed: What|Removed |Added Priority|P1 |P2 --- Comment #12 from Sam James ---

[Bug ipa/114501] [11/12/13/14 Regression] ICE during modref with LTO

2024-04-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114501 Sam James changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment #8

[Bug ipa/113907] [11/12/13/14 regression] ICU miscompiled on x86 since r14-5109-ga291237b628f41

2024-04-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113907 --- Comment #72 from Sam James --- It's up to RMs of course but FWIW, the critical part of this for me is fixed now and it could be a P2 now if desired.

[Bug target/112868] GCC passes -many to the assembler for --enable-checking=release builds

2024-04-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112868 --- Comment #10 from Sam James --- No problems reported yet and we have several people testing on ppc w/ gcc 14.

[Bug lto/114574] [14 regression] ICE when building curl with LTO (fld_incomplete_type_of, at ipa-free-lang-data.cc:257)

2024-04-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114574 --- Comment #2 from Sam James --- Reduced: ``` struct X509_algor_st sk_X509_ALGOR_copyfunc(const struct X509_algor_st *); struct X509_algor_st { } PKCS8_pkey_get0(const struct X509_algor_st **) { } ```

[Bug lto/114574] [14 regression] ICE when building curl with LTO (fld_incomplete_type_of, at ipa-free-lang-data.cc:257)

2024-04-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114574 --- Comment #1 from Sam James --- reducing

[Bug lto/114574] New: [14 regression] ICE when building curl with LTO (internal compiler error: in fld_incomplete_type_of, at ipa-free-lang-data.cc:257)

2024-04-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114574 Bug ID: 114574 Summary: [14 regression] ICE when building curl with LTO (internal compiler error: in fld_incomplete_type_of, at ipa-free-lang-data.cc:257) Product: gcc

[Bug gcov-profile/114115] xz-utils segfaults when built with -fprofile-generate (bad interaction between IFUNC and binding?)

2024-04-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114115 --- Comment #11 from Sam James --- (In reply to Sam James from comment #10) > I'm aware, but there's a minimised test case attached here which shows this > is still somewhat of a problem by itself. > > Either a better diagnostic is needed or

[Bug gcov-profile/114115] xz-utils segfaults when built with -fprofile-generate (bad interaction between IFUNC and binding?)

2024-04-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114115 --- Comment #10 from Sam James --- I'm aware, but there's a minimised test case attached here which shows this is still somewhat of a problem by itself. Either a better diagnostic is needed or to not instrument the resolver.

[Bug c/114507] FR: Randomize order of evluation of function of arguments

2024-03-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114507 --- Comment #2 from Sam James --- That said, I feel as if it's more likely this is better for the analyser.

[Bug c/114507] FR: Randomize order of evluation of function of arguments

2024-03-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114507 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #1

[Bug target/114487] ICE when building libsdl2 on -mfpmath=sse x86 with LTO

2024-03-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114487 --- Comment #12 from Sam James --- Ah, wait, no point with andrew's nicer testcase ;)

[Bug target/114487] ICE when building libsdl2 on -mfpmath=sse x86 with LTO

2024-03-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114487 --- Comment #11 from Sam James --- I'm going to upload the originals in case it offers more insight because the return type isn't mismatched there.

[Bug ipa/108250] [12/13 regression] llvm-tblgen miscompiled on powerpc-unknown-linux-gnu since r12-5383-g22c242342e38eb

2024-03-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108250 --- Comment #15 from Sam James --- (The workaround flags could be reduced but at this point I just wanted a quick workaround.)

[Bug ipa/108250] [12/13 regression] llvm-tblgen miscompiled on powerpc-unknown-linux-gnu since r12-5383-g22c242342e38eb

2024-03-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108250 Sam James changed: What|Removed |Added Summary|[12/13/14 regression] |[12/13 regression]

[Bug lto/114505] static archives built with gcc --without-zstd cause ICE when read by gcc with zstd support

2024-03-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114505 --- Comment #6 from Sam James --- I'm confident I've seen this happen before but I haven't got a quick testcase (it should be easy to make one, but I don't have a gcc w/ zstd right this second.)

[Bug target/114487] ICE when building libsdl2 on -mfpmath=sse x86 with LTO

2024-03-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114487 --- Comment #7 from Sam James --- (You're right, by the way. The original fails with older GCC too. Sorry!)

[Bug ipa/94485] Inter-dependency between { tree-sra, ABI, inlining, loop-unrolling } leads to mis-optimization

2024-03-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94485 --- Comment #10 from Sam James --- ok, on godbolt, 8.5 fails. I think we're fine here then?

[Bug ipa/94485] Inter-dependency between { tree-sra, ABI, inlining, loop-unrolling } leads to mis-optimization

2024-03-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94485 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #9

[Bug ipa/114493] internal compiler error: in fld_incomplete_type_of, at ipa-free-lang-data.cc:257

2024-03-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114493 --- Comment #2 from Sam James --- Pfff. ``` typedef struct git_midx_writer git_midx_writer; int git_futils_rmdir_flags; int __attribute__git_midx_writer_new(git_midx_writer **); struct __attribute__((__may_alias__)) git_midx_writer {}; ```

[Bug ipa/114493] New: internal compiler error: in fld_incomplete_type_of, at ipa-free-lang-data.cc:257

2024-03-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114493 Bug ID: 114493 Summary: internal compiler error: in fld_incomplete_type_of, at ipa-free-lang-data.cc:257 Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/114487] New: [14 regression] ICE when building libsdl2 on -mfpmath=sse x86 with LTO

2024-03-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114487 Bug ID: 114487 Summary: [14 regression] ICE when building libsdl2 on -mfpmath=sse x86 with LTO Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/114464] [14 regression] ICE when building tdscpp-20240212

2024-03-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114464 --- Comment #3 from Sam James --- Reduced: ``` template void double_to_int(double, unsigned char *scratch, bool carry) { for (int i = 0; i < N; i++) { bool b = scratch[i] <<= 1; if (carry) scratch[i] |= 1; carry = b; } }

[Bug tree-optimization/114471] [14 regression] ICE when building liblc3-1.0.4 with -fno-vect-cost-model -march=x86-64-v4

2024-03-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114471 --- Comment #3 from Sam James --- float quantize_x_1, quantize_x_0; short *quantize_xq; short quantize_x0; void quantize() { short x1 = quantize_xq[0] = quantize_x0 + ((quantize_x0 > 0) & (quantize_x_0 < 0)); quantize_xq[1] = 1 + ((x1

[Bug tree-optimization/114471] [14 regression] ICE when building liblc3-1.0.4 with -fno-vect-cost-model -march=x86-64-v4

2024-03-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114471 --- Comment #2 from Sam James --- Created attachment 57812 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57812=edit spec.i.orig.xz

[Bug tree-optimization/114471] [14 regression] ICE when building liblc3-1.0.4 with -fno-vect-cost-model -march=x86-64-v4

2024-03-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114471 --- Comment #1 from Sam James --- The original failed with: ``` ../liblc3-1.0.4/src/spec.c: In function ‘quantize’: ../liblc3-1.0.4/src/spec.c:210:21: error: type mismatch in binary expression 210 | LC3_HOT static void quantize(enum lc3_dt

[Bug tree-optimization/114471] New: [14 regression] ICE when building liblc3-1.0.4

2024-03-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114471 Bug ID: 114471 Summary: [14 regression] ICE when building liblc3-1.0.4 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/114466] mips: ICE during RTL pass: zero_call_used_regs

2024-03-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114466 Sam James changed: What|Removed |Added Resolution|DUPLICATE |--- Status|RESOLVED

[Bug target/114466] mips: ICE during RTL pass: zero_call_used_regs

2024-03-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114466 --- Comment #2 from Sam James --- Also: >Please submit a full bug report, with preprocessed source (by using >-freport-bug). But no need here.

[Bug target/110934] m68k: ICE with -fzero-call-used-regs=all compiling openssh 9.3p2

2024-03-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110934 Sam James changed: What|Removed |Added CC||rene at exactcode dot de --- Comment #16

[Bug target/114466] mips: ICE during RTL pass: zero_call_used_regs

2024-03-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114466 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org

[Bug tree-optimization/114464] [14 regression] ICE when building tdscpp-20240212

2024-03-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114464 --- Comment #2 from Sam James --- Ah, yes, sorry. Reducing too.

[Bug middle-end/114464] New: [14 regression] ICE when building tdscpp-20240212

2024-03-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114464 Bug ID: 114464 Summary: [14 regression] ICE when building tdscpp-20240212 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug testsuite/109549] [14 Regression] Conditional move regressions after r14-53-g675b1a7f113adb1d737adaf78b4fd90be7a0ed1a

2024-03-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109549 --- Comment #14 from Sam James --- Hi Stefan, you should be able to change your email on bugzilla to @gcc.gnu.org and gain permissions.

[Bug lto/113208] [14 Regression] lto1: error: Alias and target's comdat groups differs since r14-5979-g99d114c15523e0

2024-03-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113208 --- Comment #15 from Sam James --- Created attachment 57802 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57802=edit src_data_test_QualityValues.cpp.ii.orig.xz

[Bug lto/113208] [14 Regression] lto1: error: Alias and target's comdat groups differs since r14-5979-g99d114c15523e0

2024-03-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113208 --- Comment #14 from Sam James --- Created attachment 57801 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57801=edit src_data_test_MappedRead.cpp.ii.orig.xz Attaching the originals..

[Bug lto/113208] [14 Regression] lto1: error: Alias and target's comdat groups differs since r14-5979-g99d114c15523e0

2024-03-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113208 Sam James changed: What|Removed |Added Summary|[14 Regression] lto1: |[14 Regression] lto1:

[Bug lto/113208] [14 Regression] lto1: error: Alias and target's comdat groups differs

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

[Bug lto/113208] [14 Regression] lto1: error: Alias and target's comdat groups differs

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

[Bug lto/113208] [14 Regression] lto1: error: Alias and target's comdat groups differs

2024-03-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113208 --- Comment #9 from Sam James --- ``` $ gcc -std=c++20 -flto src_data_test_MappedRead.cpp.ii src_data_test_QualityValues.cpp.ii -O1 lto1: error: Alias and target’s comdat groups differs

[Bug lto/113208] [14 Regression] lto1: error: Alias and target's comdat groups differs

2024-03-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113208 --- Comment #8 from Sam James --- Created attachment 57792 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57792=edit src_data_test_QualityValues.cpp.ii

[Bug lto/113208] [14 Regression] lto1: error: Alias and target's comdat groups differs

2024-03-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113208 --- Comment #7 from Sam James --- Created attachment 57791 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57791=edit src_data_test_MappedRead.cpp.ii

[Bug target/114441] Relocation issues when compiling with -O1,-O2,and -Os

2024-03-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114441 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #2

[Bug c++/91500] [9 Regression] gcc-9 ICE on valid code

2024-03-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91500 Sam James changed: What|Removed |Added CC||rafaeldtinoco at ubuntu dot com --- Comment

[Bug c++/91493] g++ 9.2.1 crashes compiling clickhouse

2024-03-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91493 Sam James changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug lto/113208] [14 Regression] lto1: error: Alias and target's comdat groups differs

2024-03-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113208 --- Comment #6 from Sam James --- Got it with pbcopper. Reducing.

[Bug lto/113208] [14 Regression] lto1: error: Alias and target's comdat groups differs

2024-03-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113208 --- Comment #5 from Sam James --- I can't reproduce this when building poedit. Don't have pbcopper or s2geometry packaged.

[Bug testsuite/109549] [14 Regression] Conditional move regressions after r14-53-g675b1a7f113adb1d737adaf78b4fd90be7a0ed1a

2024-03-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109549 Sam James changed: What|Removed |Added Status|ASSIGNED|NEW --- Comment #12 from Sam James ---

[Bug tree-optimization/114403] [14 regression] LLVM miscompiled with -O3 -march=znver2 -fno-vect-cost-model since r14-6822-g01f4251b8775c8

2024-03-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114403 --- Comment #17 from Sam James --- Created attachment 57780 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57780=edit EarlyCSE.cpp.cpp.182t.cunroll-bad

[Bug tree-optimization/114403] [14 regression] LLVM miscompiled with -O3 -march=znver2 -fno-vect-cost-model since r14-6822-g01f4251b8775c8

2024-03-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114403 --- Comment #16 from Sam James --- -fdisable-tree-cunroll seems to help.

[Bug c/109835] -Wincompatible-function-pointer-types as a subset of -Wincompatible-pointer-types?

2024-03-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109835 --- Comment #5 from Sam James --- FWIW, after doing more of this work, I've decided I don't really care that much about this one. I still think FP mismatches are often worse, but there's enough junk pointer type mismatches that I'm not sure we

[Bug tree-optimization/114403] [14 regression] LLVM miscompiled with -O3 -march=znver2 -fno-vect-cost-model since r14-6822-g01f4251b8775c8

2024-03-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114403 --- Comment #13 from Sam James --- Created attachment 5 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=5=edit valgrind output when broken

[Bug tree-optimization/114403] [14 regression] LLVM miscompiled with -O3 -march=znver2 -fno-vect-cost-model since r14-6822-g01f4251b8775c8

2024-03-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114403 --- Comment #12 from Sam James --- Created attachment 57776 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57776=edit EarlyCSE.cpp.cpp.179t.vect-bad

[Bug tree-optimization/114403] [14 regression] LLVM miscompiled with -O3 -march=znver2 -fno-vect-cost-model since r14-6822-g01f4251b8775c8

2024-03-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114403 --- Comment #11 from Sam James --- Created attachment 57775 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57775=edit EarlyCSE.cpp.cpp.178t.ifcvt-bad

[Bug tree-optimization/114403] [14 regression] LLVM miscompiled with -O3 -march=znver2 -fno-vect-cost-model since r14-6822-g01f4251b8775c8

2024-03-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114403 --- Comment #10 from Sam James --- Created attachment 57774 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57774=edit EarlyCSE.cpp.cpp.177t.ch_vect-bad optimize("O2") on `template hash_code hash_combine_range_impl(InputIteratorT first,

[Bug tree-optimization/114403] [14 regression] LLVM miscompiled with -O3 -march=znver2 -fno-vect-cost-model since r14-6822-g01f4251b8775c8

2024-03-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114403 --- Comment #8 from Sam James --- Created attachment 57770 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57770=edit EarlyCSE.cpp.cpp.179t.vect.diff (In reply to Sam James from comment #7) > I'll go back to trying to see which specific

[Bug tree-optimization/114403] [14 regression] LLVM miscompiled with -O3 -march=znver2 -fno-vect-cost-model since r14-6822-g01f4251b8775c8

2024-03-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114403 --- Comment #7 from Sam James --- I'll go back to trying to see which specific loop it is.

[Bug tree-optimization/114403] [14 regression] LLVM miscompiled with -O3 -march=znver2 -fno-vect-cost-model since r14-6822-g01f4251b8775c8

2024-03-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114403 --- Comment #6 from Sam James --- Modifying llvm/include/llvm/ADT/iterator.h like so helps (!): ``` #pragma GCC push_options #pragma GCC optimize ("O0") friend bool operator==(const iterator_adaptor_base , const

[Bug target/101523] Huge number of combine attempts

2024-03-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101523 --- Comment #45 from Sam James --- (ah, not andreas, but sarah)

[Bug target/101523] Huge number of combine attempts

2024-03-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101523 --- Comment #44 from Sam James --- I'm really curious as to if there's other test cases which could be shared, as Andreas mentioned distributions were complaining about this even. That's unlikely if it's a single degenerate case. Even listing

[Bug c++/114426] [14 regression] ICE when building log4cxx on arm (cxx_eval_call_expression, at cp/constexpr.cc:3242)

2024-03-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114426 --- Comment #5 from Sam James --- Reduced: ``` struct Object { virtual ~Object(); }; struct Configurator : virtual Object { virtual void doConfigure() = 0; }; struct DOMConfigurator : Configurator { DOMConfigurator() {} }; ```

[Bug c++/114426] [14 regression] ICE when building log4cxx on arm (cxx_eval_call_expression, at cp/constexpr.cc:3242)

2024-03-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114426 --- Comment #3 from Sam James --- g++ -c domconfigurator.cpp.ii -std=c++20 -O2

[Bug c++/114426] [14 regression] ICE when building log4cxx on arm (cxx_eval_call_expression, at cp/constexpr.cc:3242)

2024-03-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114426 Sam James changed: What|Removed |Added See Also||https://bugs.gentoo.org/sho

[Bug c++/114426] [14 regression] ICE when building log4cxx on arm (cxx_eval_call_expression, at cp/constexpr.cc:3242)

2024-03-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114426 --- Comment #1 from Sam James --- Created attachment 57765 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57765=edit domconfigurator.cpp.ii.xz

[Bug c++/114426] New: [14 regression] ICE when building log4cxx on arm (cxx_eval_call_expression, at cp/constexpr.cc:3242)

2024-03-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114426 Bug ID: 114426 Summary: [14 regression] ICE when building log4cxx on arm (cxx_eval_call_expression, at cp/constexpr.cc:3242) Product: gcc Version: 14.0 Status:

[Bug tree-optimization/114403] [14 regression] LLVM miscompiled with -O3 -march=znver2 -fno-vect-cost-model since r14-6822-g01f4251b8775c8

2024-03-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114403 --- Comment #5 from Sam James --- I'm narrowing it down in there, currently several headers deep. I'll finish that tomorrow.

[Bug c++/114409] ICE after adding novector pragmas (internal compiler error: in tsubst_expr, at cp/pt.cc:21794)

2024-03-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114409 --- Comment #5 from Sam James --- Thanks, I'll play with those...

[Bug tree-optimization/114403] [14 regression] LLVM miscompiled with -O3 -march=znver2 -fno-vect-cost-model since r14-6822-g01f4251b8775c8

2024-03-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114403 --- Comment #4 from Sam James --- Created attachment 57752 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57752=edit EarlyCSE.cpp.ii.xz The bad object seems to be EarlyCSE.cpp.o. Building it with -O0 makes things work.

[Bug c++/114409] ICE after adding novector pragmas (internal compiler error: in tsubst_expr, at cp/pt.cc:21794)

2024-03-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114409 --- Comment #1 from Sam James --- If you can think of a workaround, please let me know, as unfortunately this loop is the one where the assert in the other bug gets hit :(

[Bug c++/114409] New: ICE after adding novector pragmas (internal compiler error: in tsubst_expr, at cp/pt.cc:21794)

2024-03-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114409 Bug ID: 114409 Summary: ICE after adding novector pragmas (internal compiler error: in tsubst_expr, at cp/pt.cc:21794) Product: gcc Version: unknown Status: UNCONFIRMED

[Bug target/114358] ICE in change_address_1, at emit-rtl.cc:2287 on m68k-linux-gnu

2024-03-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114358 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #7

[Bug tree-optimization/114403] [14 regression] LLVM miscompiled with -O3 -march=znver2 -fno-vect-cost-model since r14-6822-g01f4251b8775c8

2024-03-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114403 Sam James changed: What|Removed |Added Summary|[14 regression] LLVM|[14 regression] LLVM

[Bug tree-optimization/114396] [13/14 Regression] Vector: Runtime mismatch at -O2 with -fwrapv since r13-7988-g82919cf4cb2321

2024-03-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114396 Sam James changed: What|Removed |Added Known to fail||13.2.1 --- Comment #13 from Sam James ---

[Bug tree-optimization/114396] [13/14 Regression] Vector: Runtime mismatch at -O2 with -fwrapv

2024-03-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114396 Sam James changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comment

[Bug tree-optimization/114396] [13/14 Regression] Vector: Runtime mismatch at -O2 with -fwrapv

2024-03-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114396 --- Comment #11 from Sam James --- Bisecting.

[Bug tree-optimization/114396] [13/14 Regression] Vector: Runtime mismatch at -O2 with -fwrapv

2024-03-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114396 Sam James changed: What|Removed |Added Summary|[14 Regression] Vector: |[13/14 Regression] Vector:

[Bug tree-optimization/114403] [14 regression] LLVM miscompiled with -O3 -march=znver2 -fno-vect-cost-model

2024-03-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114403 --- Comment #2 from Sam James --- Better output (includes the assertion failure): ``` $ /home/sam/data/build/llvm-project-test/bin/llc -global-isel -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx900 -stop-after=legalizer -o -

[Bug tree-optimization/114403] [14 regression] LLVM miscompiled with -O3 -march=znver2 -fno-vect-cost-model

2024-03-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114403 Sam James changed: What|Removed |Added Summary|[14 regression] |[14 regression] LLVM |

[Bug tree-optimization/114403] New: [14 regression]

2024-03-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114403 Bug ID: 114403 Summary: [14 regression] Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

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

2024-03-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109996 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #2

[Bug ipa/108383] g++ ICE with -O3 and -flto and -fdeclone-ctor-dtor on simple function

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

[Bug middle-end/113396] [13/14 Regression] csmith: differences from -O2 to -O3 since r13-1268-g8c99e307b20c50

2024-03-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113396 Sam James changed: What|Removed |Added CC||amacleod at redhat dot com

[Bug middle-end/113396] [13/14 Regression] csmith: differences from -O2 to -O3

2024-03-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113396 --- Comment #28 from Sam James --- Running bisect

[Bug tree-optimization/113727] [14 Regression] csmith: differences from nothing to -O1

2024-03-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113727 --- Comment #15 from Sam James --- (I am going to let it run more with fixed sysctls.)

  1   2   3   4   5   6   7   8   9   10   >