[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 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&action=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-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&action=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 #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: ``` /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bi

[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] [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&action=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-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&action=edit tracing_copy_imp.cpp.ii-reduced Attached another attempt...

[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 tree-optimization/114872] [13/14/15 Regression] Miscompilation with -O2 after commit r13-8037

2024-04-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114872 --- Comment #8 from Sam James --- element.i is unfortunatley huge. It's hard to analyse things without a standalone testcase, but it's even harder without _something_ one can run. I'd suggest: 1) giving instructions to reproduce the crash assum

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

2024-04-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114872 --- Comment #9 from Sam James --- unfortunately*

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

2024-04-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114872 --- Comment #10 from Sam James --- also maybe obvious, but if you can find something from the cython testsuite, or at least some other heavy use of cython, which fails, that may be a good direction.

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

2024-04-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114872 --- Comment #11 from Sam James --- also, do asan and ubsan give anything?

[Bug libfortran/114895] Build failure with !HAVE_WORKING_STAT

2024-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114895 --- Comment #8 from Sam James --- (In reply to Richard Biener from comment #7) > So besides maybe no way to reproduce the failure the source still has the > issue > described. Sorry, not following -- jakub's attached one has #define _FILE_OFFSE

[Bug lto/114918] New: ICE when building gcl with LTO

2024-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114918 Bug ID: 114918 Summary: ICE when building gcl with LTO Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-checking Severity: normal Priority: P3

[Bug lto/114918] ICE when building gcl with LTO

2024-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114918 --- Comment #1 from Sam James --- Created attachment 58082 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58082&action=edit block.i.xz

[Bug lto/114918] ICE when building gcl with LTO

2024-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114918 --- Comment #2 from Sam James --- oops: > We also had a rep We had another report of this, curiously again lisp, for ecl with https://bugs.gentoo.org/931081. I haven't investigated that at all though. Maybe it's a bundled copy of gcl in there o

[Bug libfortran/114895] Build failure with !HAVE_WORKING_STAT

2024-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114895 --- Comment #10 from Sam James --- Ah, sorry, you meant GCC sources, not configure test source. ack

[Bug lto/114918] ICE when building gcl with LTO

2024-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114918 --- Comment #3 from Sam James --- Reduced (!): ``` typedef struct lispunion *object; struct lispunion {}; object Icall_gen_error_handler_noreturn() __attribute__((noreturn)); volatile object sLblock; void(Fblock)(volatile object) { Icall_gen_err

[Bug lto/114919] New: ICE when building ecl with LTO

2024-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114919 Bug ID: 114919 Summary: ICE when building ecl with LTO Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-checking Severity: normal Priority: P3

[Bug lto/114919] ICE when building ecl with LTO

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

[Bug lto/114918] ICE when building gcl with LTO

2024-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114918 --- Comment #4 from Sam James --- *** Bug 114919 has been marked as a duplicate of this bug. ***

[Bug lto/114919] ICE when building ecl with LTO

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

[Bug c/114927] New: ICE when building Emacs with -std=c23 -flto (error: ‘TYPE_CANONICAL’ has different ‘TYPE_CANONICAL’)

2024-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114927 Bug ID: 114927 Summary: ICE when building Emacs with -std=c23 -flto (error: ‘TYPE_CANONICAL’ has different ‘TYPE_CANONICAL’) Product: gcc Version: 14.0 Status: UNCONFIRM

[Bug c/114927] ICE when building Emacs with -std=c23 -flto (error: ‘TYPE_CANONICAL’ has different ‘TYPE_CANONICAL’)

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

[Bug ipa/114930] New: ICE in fld_incomplete_type_of when building libwebp with -std=c23 -flto

2024-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114930 Bug ID: 114930 Summary: ICE in fld_incomplete_type_of when building libwebp with -std=c23 -flto Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug ipa/114930] ICE in fld_incomplete_type_of when building libwebp with -std=c23 -flto

2024-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114930 --- Comment #1 from Sam James --- reduced: ``` typedef struct WebPPicture WebPPicture; typedef int (*WebPProgressHook)(const WebPPicture *); WebPProgressHook progress_hook; struct WebPPicture { } WebPGetColorPalette(const struct WebPPicture *);

[Bug rtl-optimization/114931] New: ICE in get_alias_set when building tcl with -std=c23

2024-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114931 Bug ID: 114931 Summary: ICE in get_alias_set when building tcl with -std=c23 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug rtl-optimization/114931] ICE in get_alias_set when building tcl with -std=c23

2024-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114931 --- Comment #1 from Sam James --- With -Wuninitialized, it dies in an earlier pass: ``` # gcc -c tclStubLib.i -std=c23 -Wuninitialized during GIMPLE pass: early_uninit /var/tmp/portage/dev-lang/tcl-8.6.14/work/tcl8.6.14/generic/tclStubLib.c: In

[Bug ipa/114930] [14/15 regression] ICE in fld_incomplete_type_of when building libwebp with -std=c23 -flto

2024-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114930 Sam James changed: What|Removed |Added Summary|ICE in |[14/15 regression] ICE in

[Bug c/114931] ICE in get_alias_set when building tcl with -std=c23

2024-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114931 --- Comment #4 from Sam James --- ``` struct Tcl_Obj; void(Tcl_FreeInternalRepProc)(struct Tcl_Obj *); typedef struct Tcl_Obj { } Tcl_Obj; struct { void (*tclFreeObj)(Tcl_Obj *); } Tcl_InitStubs; ```

[Bug sanitizer/114956] [11/12/13/14/15 regression] Segmentation fault with -fsanitize=address -fsanitize=null -O2 when attribute no_sanitize_address is enabled

2024-05-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114956 Sam James changed: What|Removed |Added Summary|Segmentation fault with |[11/12/13/14/15 regression]

[Bug tree-optimization/114948] [15 Regression] ICE on valid code at -O3 with "-fno-tree-ccp -fno-tree-ch" on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

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

[Bug tree-optimization/114965] [13/14/15 Regression] wrong code generated for Emacs/Gnulib strftime (regression from 13.2)

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

[Bug tree-optimization/114965] [13/14/15 Regression] wrong code generated for Emacs/Gnulib strftime (regression from 13.2)

2024-05-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114965 Sam James changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment #8 f

[Bug c/114971] gcc-14.1.0, ICE in get_alias_set, at alias.cc:954

2024-05-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114971 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #6 fr

[Bug tree-optimization/114952] False positive -Wmaybe-uninitialized starting at -O3 in libbpf

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

[Bug c/114971] gcc-14.1.0, ICE in get_alias_set, at alias.cc:954

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

[Bug c/114931] [14 regression] ICE in get_alias_set when building tcl with -std=c23

2024-05-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114931 --- Comment #20 from Sam James --- *** Bug 114971 has been marked as a duplicate of this bug. ***

[Bug fortran/114978] [14/14 regression] 548.exchange2_r 14%-28% regressions on Loongarch64 after gcc 14 snapshot 20240317

2024-05-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114978 Sam James changed: What|Removed |Added CC||xry111 at gcc dot gnu.org Summar

[Bug c/114989] New: Compile time hog when building paml

2024-05-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114989 Bug ID: 114989 Summary: Compile time hog when building paml Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug middle-end/114989] Compile time hog when building paml

2024-05-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114989 --- Comment #3 from Sam James --- Created attachment 58131 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58131&action=edit codeml.i codeml.i from the same project is not great either but it's way less interesting, I think, because it's l

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

2024-05-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112868 --- Comment #16 from Sam James --- (In reply to Peter Bergner from comment #14) > (In reply to Niels Möller from comment #13) > > I'm not that familiar with gcc development procedures. Do I understand you > > correctly, that a fix for this bug w

[Bug target/115010] m68k: invalid subl instruction generated

2024-05-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115010 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #5 fr

[Bug tree-optimization/115041] Missed optimization opportunity in std::find of std::vector elements

2024-05-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115041 Sam James changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug tree-optimization/115040] New: Missed optimization opportunity in std::find

2024-05-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115040 Bug ID: 115040 Summary: Missed optimization opportunity in std::find Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/115040] Missed optimization opportunity in std::find of std::vector elements

2024-05-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115040 --- Comment #3 from Sam James --- (In reply to Andrew Pinski from comment #2) > > clang lowers both the calls to (w)memchr > > Is that with libc++ or libstdc++? It's libc++. Checked locally too..

[Bug libstdc++/88545] std::find compile to memchr in trivial random access cases (patch)

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

[Bug bootstrap/54179] please split insn-emit.c !

2024-05-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54179 --- Comment #40 from Sam James --- That came up at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111600#c29.

[Bug c++/115050] Segfault when compiled with -O0

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

[Bug rtl-optimization/115056] [14 regression] Miscompilation (also triggering -Wstringop-overflow and -Warray-bounds warning) when -O2 or higher

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

[Bug rtl-optimization/115056] [14 regression] Miscompilation (also triggering -Wstringop-overflow and -Warray-bounds warning) when -O2 or higher

2024-05-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115056 --- Comment #2 from Sam James --- (In reply to Dale Weiler from comment #0) > I've isolated what appears to be an unsound __builtin_memset optimization > applied by gcc 14.1.1 on a hash function in a cryptographic library where it > writes one b

[Bug rtl-optimization/115056] [14 regression] Miscompilation (also triggering -Wstringop-overflow and -Warray-bounds warning) when -O2 or higher

2024-05-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115056 --- Comment #4 from Sam James --- With Clang, I get: ``` ¢ clang /tmp/foo.c -o /tmp/foo $ /tmp/foo 1886221359 0 0 0 0 0 0 -733536256 ``` and ``` $ clang /tmp/foo.c -o /tmp/foo -fsanitize=address,undefined $ /tmp/foo 1886221359 0 0 0 0 0 0 0 ```

[Bug rtl-optimization/115056] [14 regression] Miscompilation (also triggering -Wstringop-overflow and -Warray-bounds warning) when -O2 or higher

2024-05-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115056 --- Comment #6 from Sam James --- I was just about to comment that, thanks!

[Bug rtl-optimization/115056] [14/15 regression] Miscompilation (also triggering -Wstringop-overflow and -Warray-bounds warning) when -O2 or higher

2024-05-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115056 --- Comment #7 from Sam James --- Isn't there still an uninitialised read? ``` $ valgrind /tmp/foo [...] ==814922== 1886221359 1 0 0 0 0 0 ==814922== Use of uninitialised value of size 8 ==814922==at 0x48F7D3A: _itoa_word (_itoa.c:183) ==81

[Bug rtl-optimization/115056] [14/15 regression] Miscompilation (also triggering -Wstringop-overflow and -Warray-bounds warning) when -O2 or higher

2024-05-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115056 --- Comment #9 from Sam James --- The issue is we need a program which no UB which has the bad symptoms. I can fix it up but that doesn't mean it has the symptoms you originally saw which made you report a bug.

[Bug rtl-optimization/115056] [14/15 regression] Miscompilation (also triggering -Wstringop-overflow and -Warray-bounds warning) when -O2 or higher

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

[Bug ipa/96059] ICE: in remove_unreachable_nodes, at ipa.c:575 with -fdevirtualize-at-ltrans

2024-05-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96059 Sam James changed: What|Removed |Added Blocks|59859 | See Also|

[Bug target/115029] [14/15 regression] FFT computation performance regression, x86, between gcc-14 and gcc-13 on skylake platform

2024-05-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115029 Sam James changed: What|Removed |Added Target Milestone|--- |14.2

[Bug target/115024] [14/15 regression] 128 bit division performance regression, x86, between gcc-14 and gcc-13 using target clones on skylake platform

2024-05-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115024 Sam James changed: What|Removed |Added Target Milestone|--- |14.2

[Bug target/115069] [14/15 regression] 8 bit integer vector performance regression, x86, between gcc-14 and gcc-13 using avx2 target clones on skylake platform

2024-05-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115069 Sam James changed: What|Removed |Added Target Milestone|--- |14.2

[Bug target/115071] [14/15 regression] performance regression, x86, between gcc-14 and gcc-13 using -O3 and _Pragma("GCC unroll 4") on skylake

2024-05-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115071 Sam James changed: What|Removed |Added Target Milestone|--- |14.2

[Bug target/115025] [14/15 regression] prime computation performance regression, x86, between gcc-14 and gcc-13 on skylake platform

2024-05-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115025 Sam James changed: What|Removed |Added Target Milestone|--- |14.2

[Bug tree-optimization/115101] [11/12/13/14/15 regression] [wrong code] with -O1 -floop-nest-optimize for gcc.dg/graphite/interchange-8.c

2024-05-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115101 Sam James changed: What|Removed |Added Summary|[wrong code] with -O1 |[11/12/13/14/15 regression]

[Bug middle-end/115128] New: [15 regression] ICE when building aflplusplus (internal compiler error: in type, at value-range.h:983)

2024-05-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115128 Bug ID: 115128 Summary: [15 regression] ICE when building aflplusplus (internal compiler error: in type, at value-range.h:983) Product: gcc Version: unknown

[Bug lto/115129] New: [12/13/14/15 regression] ICE on recursive realloc call with LTO

2024-05-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115129 Bug ID: 115129 Summary: [12/13/14/15 regression] ICE on recursive realloc call with LTO Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-inva

[Bug middle-end/115128] [15 regression] ICE when building aflplusplus (internal compiler error: in type, at value-range.h:983)

2024-05-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115128 --- Comment #2 from Sam James --- Reduction is nearly done.

[Bug middle-end/115128] [15 regression] ICE when building aflplusplus (internal compiler error: in type, at value-range.h:983)

2024-05-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115128 --- Comment #4 from Sam James --- Reduced: ``` long XXH3_len_4to8_64b_len, XXH3_len_0to16_64b___trans_tmp_3, XXH3_mix2Accs_acc, XXH3_64bits_internal___trans_tmp_8; typedef unsigned long XXH3_hashLong64_f(); void *XXH3_64bits_internal_input;

[Bug middle-end/115128] [15 regression] ICE when building aflplusplus (internal compiler error: in type, at value-range.h:983)

2024-05-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115128 Sam James changed: What|Removed |Added Keywords|needs-reduction | --- Comment #5 from Sam James --- Bit mor

[Bug middle-end/115131] New: [15 regression] ICE when building (external) rtl88x2bu kernel module (in verify_range, at value-range.cc:677)

2024-05-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115131 Bug ID: 115131 Summary: [15 regression] ICE when building (external) rtl88x2bu kernel module (in verify_range, at value-range.cc:677) Product: gcc Version: unknown Statu

[Bug middle-end/115131] [15 regression] ICE when building (external) rtl88x2bu kernel module (in verify_range, at value-range.cc:677)

2024-05-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115131 --- Comment #1 from Sam James --- Created attachment 58223 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58223&action=edit rtw_recv.i.xz

[Bug middle-end/115131] [15 regression] ICE when building (external) rtl88x2bu kernel module (in verify_range, at value-range.cc:677)

2024-05-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115131 --- Comment #2 from Sam James --- I'm reducing it now, but attached a partial reduction.

[Bug middle-end/115131] [15 regression] ICE when building (external) rtl88x2bu kernel module (in verify_range, at value-range.cc:677)

2024-05-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115131 --- Comment #4 from Sam James --- Reduced: ``` struct recv_frame_hdr { int *adapter }; union recv_frame { struct recv_frame_hdr u }; char *_rtw_init_recv_priv_precvpriv_0; int _rtw_init_recv_priv_padapter, _rtw_init_recv_priv_i; void _rtw_in

[Bug middle-end/115137] New: [15 regression] Miscompilation of wget (test suite hangs)

2024-05-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115137 Bug ID: 115137 Summary: [15 regression] Miscompilation of wget (test suite hangs) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug middle-end/115137] [15 regression] Miscompilation of wget (test suite hangs)

2024-05-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115137 --- Comment #1 from Sam James --- Notable bits: * -fno-strict-aliasing makes no difference * -fno-strict-overflow stops the hang * -fsanitize=address,undefined shows nothing with < GCC 15 * With GCC 15 only, I get ``` $ ./z url.c:1575:41: runti

[Bug middle-end/115137] [15 regression] Miscompilation of wget (test suite hangs)

2024-05-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115137 --- Comment #2 from Sam James --- I have a reduction still running but I didn't do much manual analysis other than doing enough to remove its dependency on other files + remove the need for LTO (which was originally required). I haven't yet bis

[Bug middle-end/115131] [15 regression] ICE when building (external) rtl88x2bu kernel module (in verify_range, at value-range.cc:677)

2024-05-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115131 --- Comment #8 from Sam James --- thank you aldy

[Bug middle-end/115137] [15 regression] Miscompilation of wget (test suite hangs) since r15-580-gf3e5f4c58591f5

2024-05-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115137 Sam James changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Summa

[Bug middle-end/115137] [15 regression] Miscompilation of wget (test suite hangs) since r15-580-gf3e5f4c58591f5

2024-05-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115137 --- Comment #4 from Sam James --- (In reply to Sam James from comment #3) > Bisect says r15-580-gf3e5f4c58591f5. (Still fails on trunk as of r15-634-gb59de4113262f2.)

[Bug tree-optimization/115141] [15 Regression] g++.dg/tree-ssa/pr83215.C and gcc.dg/tree-ssa/ssa-lim-15.c since r15-512-g9b7cad5884f21c

2024-05-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115141 --- Comment #1 from Sam James --- Dupe of PR115110?

[Bug middle-end/115137] [15 regression] Miscompilation of wget (test suite hangs) since r15-580-gf3e5f4c58591f5

2024-05-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115137 --- Comment #5 from Sam James --- Reduced further: ``` enum { a } b; char *c; int d, e; static void f(char *g, char *h) { char a[1024]; c = a; for (; g < h; g++) if (b) ++d; } int main() { f("somepage.html", "" + e); } ```

[Bug middle-end/115137] [15 regression] Miscompilation of wget (test suite hangs) since r15-580-gf3e5f4c58591f5

2024-05-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115137 --- Comment #6 from Sam James --- ``` char *c; int b, d, e; static void f(char *g, char *h) { char a[1024] = {}; c = a; for (; g < h; g++) if (b) ++d; } int main() { f("somepage.html", "" + e); } ```

[Bug middle-end/115137] [15 regression] Miscompilation of wget (test suite hangs) since r15-580-gf3e5f4c58591f5

2024-05-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115137 --- Comment #7 from Sam James --- (In reply to Sam James from comment #6) > ``` > char *c; > int b, d, e; > > static void f(char *g, char *h) { > char a[1024] = {}; > c = a; > for (; g < h; g++) > if (b) > ++d; > } > > int main

[Bug middle-end/115137] [15 regression] Miscompilation of wget (test suite hangs) since r15-580-gf3e5f4c58591f5

2024-05-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115137 --- Comment #8 from Sam James --- The original is: ``` append_uri_pathel (fname_len_check, fname_len_check + strlen (fname_len_check), true, &temp_fnres); [...] /* Walk the PATHEL string and check how many characters we'll need to quo

[Bug middle-end/115137] [15 regression] Miscompilation of wget (test suite hangs) since r15-580-gf3e5f4c58591f5

2024-05-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115137 --- Comment #9 from Sam James --- Created attachment 58233 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58233&action=edit reduced.c

[Bug c/114927] [14/15 Regression] ICE when building Emacs with -std=c23 -flto (error: ‘TYPE_CANONICAL’ has different ‘TYPE_CANONICAL’)

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

[Bug ipa/114930] [14/15 regression] ICE in fld_incomplete_type_of when building libwebp with -std=c23 -flto

2024-05-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114930 Sam James changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment #5 f

[Bug tree-optimization/115154] [13 Regression] wrong code at optimization levels -O2, -O3, -Os

2024-05-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115154 --- Comment #4 from Sam James --- I'm bisecting.

[Bug tree-optimization/115154] [13 Regression] wrong code at optimization levels -O2, -O3, -Os since r13-7434-g682bbd364708fe

2024-05-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115154 Sam James changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Summa

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

2024-05-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112868 --- Comment #17 from Sam James --- PR113652 remains a problem and I guess it's more of a problem for landing this change in a release, as it means PR113652 will affect more people.

[Bug tree-optimization/115154] [13 Regression] wrong code at optimization levels -O2, -O3, -Os since r13-7434-g682bbd364708fe

2024-05-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115154 --- Comment #6 from Sam James --- yep, r14-3432-gddd64a6ec3b38e fixed it on trunk

[Bug middle-end/115056] [14/15 regression] False positive -Wstringop-overflow and -Warray-bounds

2024-05-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115056 Sam James changed: What|Removed |Added Blocks||88443, 56456 Component|rtl-optimiz

[Bug ipa/115135] [C++] GCC produces wrong code at certain inlining levels on Aarch64 with -fno-exceptions, related to lambdas and variants

2024-05-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115135 Sam James changed: What|Removed |Added Component|middle-end |ipa --- Comment #5 from Sam James --- (In

[Bug ipa/115135] [C++] GCC produces wrong code at certain inlining levels on Aarch64 with -fno-exceptions, related to lambdas and variants

2024-05-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115135 --- Comment #8 from Sam James --- (godbolt is great for this, btw)

[Bug tree-optimization/115191] New: [15 regression] ICE when building stklos (in verify_range, at value-range.cc:1526)

2024-05-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115191 Bug ID: 115191 Summary: [15 regression] ICE when building stklos (in verify_range, at value-range.cc:1526) Product: gcc Version: unknown Status: UNCONFIRMED Se

[Bug tree-optimization/115191] [15 regression] ICE when building stklos (in verify_range, at value-range.cc:1526)

2024-05-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115191 --- Comment #1 from Sam James --- Created attachment 58267 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58267&action=edit socket.i I'm reducing.

[Bug tree-optimization/115191] [15 regression] ICE when building stklos (in verify_range, at value-range.cc:1526)

2024-05-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115191 --- Comment #2 from Sam James --- Just -O1 is enough.

[Bug tree-optimization/115191] [15 regression] ICE when building stklos (in verify_range, at value-range.cc:1526)

2024-05-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115191 --- Comment #3 from Sam James --- ``` typedef void *SCM; void set_socket_io_ports(); void STk_socket_accept(SCM line_buffered) { if (!line_buffered) line_buffered = (SCM)3; set_socket_io_ports(line_buffered != 1); } ```

[Bug c++/115192] [14/15 regression] -O3 miscompilation on x86-64 (loops with vectors and scalars)

2024-05-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115192 --- Comment #2 from Sam James --- Created attachment 58270 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58270&action=edit bisect-me.cxx I'll bisect with attached.

[Bug c++/115192] [11/12/13/14/15 regression] -O3 miscompilation on x86-64 (loops with vectors and scalars) since r11-6380

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

[Bug c++/115196] Bad error message when using library functions from versions before they were introduced

2024-05-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115196 --- Comment #2 from Sam James --- See r14-10227-g5b96d547ce71b8.

<    4   5   6   7   8   9   10   11   12   13   >