[Bug tree-optimization/122031] [16 regression] gcc/tree-ssa-math-opts.cc:1661: Suspicious assignment

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

[Bug tree-optimization/122021] [16 regression] libvpx miscompiled with -m32 since r16-3890

2025-09-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122021 Sam James changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug modula2/122009] [16 regression] ODR issues in m2

2025-09-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122009 Sam James changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug tree-optimization/122021] [16 regression] libvpx miscompiled with -m32 since r16-3890

2025-09-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122021 Sam James changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at g

[Bug tree-optimization/122021] [16 regression] libvpx miscompiled with -m32 since r16-3890

2025-09-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122021 --- Comment #6 from Sam James --- ``` #include #include __attribute__ ((noipa)) static void vp9_build_inter_predictor (int a) { int16_t row = a * 2; int32_t row_w = (int)((int64_t)row * 16384 >> 14); if (row_w != -544) __builtin_ab

[Bug tree-optimization/122021] [16 regression] libvpx miscompiled with -m32

2025-09-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122021 Sam James changed: What|Removed |Added Target Milestone|--- |16.0

[Bug tree-optimization/122021] New: [16 regression] libvpx miscompiled with -m32

2025-09-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122021 Bug ID: 122021 Summary: [16 regression] libvpx miscompiled with -m32 Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Prior

[Bug libstdc++/122015] [16 Regression] g++.dg/modules/xtreme-header-2_b.C:5:30: internal compiler error: canonical types differ for identical types ‘auto’ and ‘auto’

2025-09-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122015 Sam James changed: What|Removed |Added Target Milestone|--- |16.0 Keywords|

[Bug c/122010] Infinite recursive call not reported and silently optimized away

2025-09-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122010 --- Comment #2 from Sam James --- With GCC 13, I get: $ gcc-13 a.c -o - -S -O2 .file "a.c" .text .p2align 4 .globl test .type test, @function test: .LFB0: .cfi_startproc ret .

[Bug tree-optimization/122012] [15/16 regression] Internal compiler error in check_for_plus_in_loops on aarch64 with -Os

2025-09-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122012 Sam James changed: What|Removed |Added Keywords||patch --- Comment #1 from Sam James --- ht

[Bug tree-optimization/122012] [15/16 regression] Internal compiler error in check_for_plus_in_loops on aarch64 with -Os

2025-09-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122012 Sam James changed: What|Removed |Added Component|c |tree-optimization Summary|Intern

[Bug cobol/119215] -Wodr and -Wlto-type-mismatch issues in cobol

2025-09-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119215 --- Comment #9 from Sam James --- I keep missing regressions in other FEs (like ada, modula2) because I can't use -Werror= as a result of this bug. Gentle ping.

[Bug modula2/122009] [16 regression] ODR issues in m2

2025-09-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122009 Sam James changed: What|Removed |Added Target Milestone|--- |16.0

[Bug modula2/122009] [16 regression] ODR issues in m2

2025-09-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122009 Sam James changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug modula2/122009] New: [16 regression] ODR issues in m2

2025-09-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122009 Bug ID: 122009 Summary: [16 regression] ODR issues in m2 Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3

[Bug ada/122008] ada: miscompile protected type with discriminant

2025-09-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122008 Sam James changed: What|Removed |Added Keywords||wrong-code --- Comment #1 from Sam James -

[Bug fortran/122002] gfortran.dg/pdt_13.f03 etc. FAIL

2025-09-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122002 Sam James changed: What|Removed |Added CC||ewlu at rivosinc dot com --- Comment #9 fro

[Bug target/122006] [16 Regression] RISC-V: f951: ICE: Segmentation fault

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

[Bug target/122006] [16 Regression] RISC-V: f951: ICE: Segmentation fault

2025-09-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122006 --- Comment #2 from Sam James --- (In reply to Edwin Lu from comment #1) > Likely caused by r16-3996-gdc78d691c5e I don't think so.

[Bug fortran/122002] gfortran.dg/pdt_13.f03 etc. FAIL

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

[Bug tree-optimization/121830] [16 regression] ice in vect_build_slp_tree_2, again ?

2025-09-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121830 --- Comment #10 from Sam James --- Please file it separately.

[Bug tree-optimization/58727] Sub-optimal code for bit clear/set sequence

2025-09-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58727 Sam James changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/121974] [16 regression] Timeout with -O1

2025-09-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121974 Sam James changed: What|Removed |Added Status|ASSIGNED|RESOLVED Summary|Timeout with -O

[Bug tree-optimization/121962] [16 regression] OOM when buiding clang-19.1.7 by r16-3887-g597b50abb0d2fc

2025-09-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121962 Sam James changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment #13 f

[Bug c++/121978] [16 regression] ICE in coroutine when return_value takes int reference

2025-09-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121978 --- Comment #1 from Sam James --- (In reply to Mathias Stearn from comment #0) > Created attachment 62401 [details] > repro.cpp > > Lightly modified from the repro for > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101244 while trying out a > w

[Bug other/121958] Document requirements for updating *opt.urls; advertised method does not work

2025-09-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121958 --- Comment #2 from Sam James --- We should document that it needs Python too. (In reply to Thomas Koenig from comment #1) Is the patch somewhere for us to play with? I want to see if I can repro.

[Bug tree-optimization/111273] Spurious array-bounds error when copying data using _GLIBCXX_DEBUG iterators

2025-09-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111273 --- Comment #6 from Sam James --- It'd tell us if it was worked around (perhaps accidentally) by a library change or not.

[Bug tree-optimization/111273] Spurious array-bounds error when copying data using _GLIBCXX_DEBUG iterators

2025-09-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111273 --- Comment #4 from Sam James --- (In reply to Simon Marchi from comment #3) > I can reproduce the original problem with gcc 14.3.0, but with 15.2.0, it > works fine. Can you confirm? Did you try w/ preprocessed source from 14 on 15?

[Bug c++/121963] Make it possible to change the location of gcm.cache dir

2025-09-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121963 Sam James changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/121961] [15/16 regression] [coroutines] use-after-free when the awaitable's await_suspend destroys the just-suspended coroutine since r16-1564-g43e408f675f8e9

2025-09-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121961 Sam James changed: What|Removed |Added Summary|[coroutines] use-after-free |[15/16 regression] |when

[Bug bootstrap/121623] [15/16 regression] [ia64] bootstrap comparison failure (differently ordered st8s in MMI for gcc/trans-mem.o), stage 2 -> 3

2025-09-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121623 --- Comment #19 from Sam James --- (In reply to Frank Scheiner from comment #17) > So just got back into this. Unfortunately the preprocessed source won't > compile successfully with the used cross-compiler: > ``` > root@esprimo-e420:/usr/src# i

[Bug tree-optimization/121962] [16 regression] OOM when buiding clang-19.1.7

2025-09-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121962 --- Comment #3 from Sam James --- # reasonable (?) $ time g++-15 -c ./lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayoutBuilder.cpp.ii -m32 -O1 real0m7.312s user0m7.041s sys 0m0.229s # hangs $ g++ -c ./lib/AST/CMakeFiles/obj.clangAST

[Bug tree-optimization/121962] New: [16 regression] OOM when buiding clang-19.1.7

2025-09-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121962 Bug ID: 121962 Summary: [16 regression] OOM when buiding clang-19.1.7 Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: compile-time-hog, memory-hog Severity: nor

[Bug tree-optimization/121962] [16 regression] OOM when buiding clang-19.1.7

2025-09-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121962 --- Comment #2 from Sam James --- Reducing.

[Bug tree-optimization/121962] [16 regression] OOM when buiding clang-19.1.7

2025-09-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121962 --- Comment #1 from Sam James --- Created attachment 62387 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62387&action=edit RecordLayoutBuilder.cpp.ii.xz # reasonable (?) $ time g++-15 -c ./lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayout

[Bug tree-optimization/121962] [16 regression] OOM when buiding clang-19.1.7

2025-09-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121962 Sam James changed: What|Removed |Added Target Milestone|--- |16.0

[Bug target/121821] [16 regression] profiledbootstrap fails to build on armv8l since r16-496-gcc74e2f2b39b6d

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

[Bug ada/121953] [16 regression] Failed Ada bootstrap for x32 multilib (s-osinte.adb:38:06: warning: redundant with clause in body)

2025-09-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121953 --- Comment #1 from Sam James --- r16-3873-gbc4f29a1912cfe

[Bug ada/121953] [16 regression] Failed Ada bootstrap for x32 multilib (os-osinte.adb:38:06: warning: redundant with clause in body)

2025-09-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121953 Sam James changed: What|Removed |Added Target Milestone|--- |16.0 Summary|[16 regression] Fai

[Bug ada/121953] New: [16 regression] Failed Ada bootstrap

2025-09-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121953 Bug ID: 121953 Summary: [16 regression] Failed Ada bootstrap Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada

[Bug c++/121952] [9 regression] produces incorrect code with optimisation on x86-64 Linux

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

[Bug c++/121952] [9 regression] produces incorrect code with optimisation on x86-64 Linux

2025-09-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121952 Sam James changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug middle-end/121206] [16 regression] Hang in ranger when building gromacs-2025.2 since r16-1645-g309dbcea2cabb3

2025-09-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121206 --- Comment #10 from Sam James --- ping?

[Bug c++/121932] [16 regression] ICE when building gdb trunk with LTO (tree code ‘template_parm_index’ is not supported in LTO stream)

2025-09-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121932 --- Comment #9 from Sam James --- So far, nothing failed with the patch, but it's not done yet.

[Bug c++/121932] [16 regression] ICE when building gdb trunk with LTO (tree code ‘template_parm_index’ is not supported in LTO stream)

2025-09-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121932 --- Comment #8 from Sam James --- I'll try it out and see if anything else fails. Thanks!

[Bug ipa/121936] Invalid optimisation (at O3) based on bodies of weak-defined functions

2025-09-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121936 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org See Als

[Bug lto/121935] [16 Regression] various LTO streamer ICEs since g:b9fde0219f35cd5244f647c20c7b31b0395dbc5a

2025-09-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121935 Sam James changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/121934] [16 regression] ICE on valid code at -O3 "-fno* ..." on x86_64-linux-gnu: in expand_set_or_cpymem_prologue_epilogue_by_misaligned_moves, at config/i386/i386-expand.cc:887

2025-09-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121934 --- Comment #1 from Sam James --- (Sorry, had to truncate title due to length in order to fit the regression marker in.) For convenience, the original was: "ICE on valid code at -O3 "-fno-tree-dominator-opts -fno-tree-vrp -fno-tree-ccp -fno-tre

[Bug rtl-optimization/121934] [16 regression] ICE on valid code at -O3 "-fno* ..." on x86_64-linux-gnu: in expand_set_or_cpymem_prologue_epilogue_by_misaligned_moves, at config/i386/i386-expand.cc:887

2025-09-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121934 Sam James changed: What|Removed |Added Summary|ICE on valid code at -O3|[16 regression] ICE on |"

[Bug c++/121932] [16 regression] ICE when building gdb trunk with LTO (tree code ‘template_parm_index’ is not supported in LTO stream)

2025-09-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121932 --- Comment #2 from Sam James --- ``` struct enum_flags { template void to_string(int (&)[N]); }; struct language_defn { virtual void language_arch_info(int *, int *) const; virtual void lookup_symbol_local(const enum_flags) {} }; struct

[Bug c++/121932] New: [16 regression] ICE when building gdb trunk with LTO (tree code ‘template_parm_index’ is not supported in LTO stream)

2025-09-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121932 Bug ID: 121932 Summary: [16 regression] ICE when building gdb trunk with LTO (tree code ‘template_parm_index’ is not supported in LTO stream) Product: gcc Versio

[Bug c++/121932] [16 regression] ICE when building gdb trunk with LTO (tree code ‘template_parm_index’ is not supported in LTO stream)

2025-09-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121932 Sam James changed: What|Removed |Added Target Milestone|--- |16.0

[Bug c++/121932] [16 regression] ICE when building gdb trunk with LTO (tree code ‘template_parm_index’ is not supported in LTO stream)

2025-09-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121932 --- Comment #1 from Sam James --- Pretty sure it's from r16-3821-gb9fde0219f35cd.

[Bug c/121931] no_sanitize attribute should also apply to global variables

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

[Bug sanitizer/110442] IFUNC resolvers which use __builtin_cpu_supports crash with -fsanitize=address

2025-09-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110442 --- Comment #8 from Sam James --- Works well for me so far.

[Bug sanitizer/110442] IFUNC resolvers which use __builtin_cpu_supports crash with -fsanitize=address

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

[Bug sanitizer/110442] IFUNC resolvers which use __builtin_cpu_supports crash with -fsanitize=address

2025-09-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110442 --- Comment #3 from Sam James --- Ah, your patch may handle that already with sanitize_flags_p.

[Bug sanitizer/110442] IFUNC resolvers which use __builtin_cpu_supports crash with -fsanitize=address

2025-09-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110442 --- Comment #6 from Sam James --- $ gcc a.c -o a -ggdb3 -fsanitize=thread during RTL pass: expand a.c: In function ‘resolve’: a.c:16:1: internal compiler error: in expand_TSAN_FUNC_EXIT, at internal-fn.cc:885 16 | resolve (void) | ^

[Bug rtl-optimization/121920] ICE (SIGSEGV, NULL-ptr reference) in rtl_ssa::clobber_info::recompute_group() with -O2 -std=gnu11 -fstack-protector-strong on mips64el

2025-09-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121920 --- Comment #3 from Sam James --- It's appreciated, especially because for some reason, the other bug didn't show up for ages *and* it only happened with LTO which made reducing it a pain too. Thank you! We should probably add the testcase eith

[Bug c/121920] ICE (SIGSEGV, NULL-ptr reference) in rtl_ssa::clobber_info::recompute_group() with -O2 -std=gnu11 -fstack-protector-strong on mips64el

2025-09-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121920 Sam James changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug sanitizer/110442] IFUNC resolvers which use __builtin_cpu_supports crash with -fsanitize=address

2025-09-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110442 --- Comment #2 from Sam James --- We should disable all instrumentation, at least if it needs a runtime. With -fsanitize=undefined: ``` void * resolve (void) { int a = 1 << 32; __builtin_cpu_init (); if (__builtin_cpu_supports ("f16c"))

[Bug rtl-optimization/121689] [15/16 regression] gcc-15.2 makes qemu riscv emulation on ppc64 jump into an if (false) when -fgcse is enabled.

2025-09-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121689 --- Comment #5 from Sam James --- (objdump + cvise, comparing with and without -fno-gcse will be good enough to start.)

[Bug rtl-optimization/121689] [15/16 regression] gcc-15.2 makes qemu riscv emulation on ppc64 jump into an if (false) when -fgcse is enabled.

2025-09-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121689 --- Comment #4 from Sam James --- Could you try get a smaller standalone testcase? The first thing you want is just the function that is miscompiled (and shows the difference in assembly) in a file by "itself" (minimal set of typedefs, variables

[Bug tree-optimization/120288] [15/16 regression] spurious null pointer dereference in std::__detail::_Hashtable_base::_M_key_equals since r15-5222-g84e39b07502109

2025-09-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120288 Sam James changed: What|Removed |Added Summary|[15/16 regression] spurious |[15/16 regression] spurious

[Bug c++/121889] [16 regression] ice in discriminator_for_local_entity, at cp/mangle.cc:2293 since r16-3637-ga0344144dbcccc

2025-09-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121889 Sam James changed: What|Removed |Added CC||hjl.tools at gmail dot com Summa

[Bug c++/121889] [16 regression] ice in discriminator_for_local_entity, at cp/mangle.cc:2293

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

[Bug ada/121885] New: [16 regression] New -Wlto-type-mismatch warning in Ada (type of ‘snames__get_pragma_id’ does not match original declaration)

2025-09-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121885 Bug ID: 121885 Summary: [16 regression] New -Wlto-type-mismatch warning in Ada (type of ‘snames__get_pragma_id’ does not match original declaration) Product: gcc

[Bug ada/121885] [16 regression] New -Wlto-type-mismatch warning in Ada (type of ‘snames__get_pragma_id’ does not match original declaration)

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

[Bug target/121723] 'non-delegitimized UNSPEC UNSPEC_GOTPCREL (2) found in variable location' with -march=tigerlake

2025-09-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121723 --- Comment #4 from Sam James --- (In reply to Andrew Pinski from comment #3) > A lot of the time non-delegitimized with UNSPEC UNSPEC_GOTPCREL is hard to > fix. Does the same apply for UNSPEC_SET_GOT?

[Bug target/121882] ICE when building GCC 13 with checking and -mtune=znver5

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

[Bug go/95059] GCCGO cannot be compiled for ARM64 ILP32 ABI

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

[Bug go/91692] gcc build fails with --enable-languages="go"

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

[Bug go/121877] New: Parallel build issues with libgo

2025-09-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121877 Bug ID: 121877 Summary: Parallel build issues with libgo Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3

[Bug go/121877] Parallel build issues with libgo

2025-09-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121877 --- Comment #1 from Sam James --- Created attachment 62354 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62354&action=edit build.log.xz

[Bug target/110812] Check availability of builtins at expand time

2025-09-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 --- Comment #29 from Sam James --- I was going to ask the same thing. In this case, it'd be appreciated even though it's maybe a bigger change than we'd normally like, because it happens with so many packages.

[Bug c++/121874] [16 Regression] internal compiler error: Segmentation fault

2025-09-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121874 Sam James changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/121865] ICE with modules and LTO (expected template_decl, have overload in maybe_template_info, at cp/mangle.cc:311)

2025-09-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121865 --- Comment #3 from Sam James --- Thank you Nathaniel! I was going to start slowly reducing it today and glad I don't have to now ;)

[Bug c++/121865] ICE with modules and LTO (expected template_decl, have overload in maybe_template_info, at cp/mangle.cc:311)

2025-09-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121865 --- Comment #1 from Sam James --- Created attachment 62349 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62349&action=edit modules2.tar.xz

[Bug c++/121865] New: ICE with modules and LTO (expected template_decl, have overload in maybe_template_info, at cp/mangle.cc:311)

2025-09-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121865 Bug ID: 121865 Summary: ICE with modules and LTO (expected template_decl, have overload in maybe_template_info, at cp/mangle.cc:311) Product: gcc Version: 16.0 Status: U

[Bug c++/121864] ICE with empty (or trivial) source, C++ modules, and -save-temps

2025-09-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121864 --- Comment #1 from Sam James --- Dunno why my workstation lost backtraces but whatever, an issue for another time. Here it is from another machine: ``` in pp_string, at pretty-print.cc:2640 1 | # 0 "a.ii" 0x55c544b42e1a internal_error(char

[Bug c++/121864] New: ICE with empty (or trivial) source, C++ modules, and -save-temps

2025-09-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121864 Bug ID: 121864 Summary: ICE with empty (or trivial) source, C++ modules, and -save-temps Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/121852] [13/14/15/16 regression] wrong code at -O2 with "-fno-gcse" on x86_64-linux-gnu

2025-09-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121852 Sam James changed: What|Removed |Added Target Milestone|--- |13.5 Summary|wrong code at -O2 w

[Bug other/121863] Filing new bugs doesn't work

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

[Bug fortran/121848] gfortran.dg/gomp/pr107421.f90 FAILs on aarch64

2025-09-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121848 --- Comment #2 from Sam James --- (In reply to Sam James from comment #1) > The test passes for me on aarch64. It passes with --enable-default-pie or -fPIE, but fails without.

[Bug fortran/121848] gfortran.dg/gomp/pr107421.f90 FAILs on aarch64

2025-09-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121848 --- Comment #1 from Sam James --- The test passes for me on aarch64.

[Bug fortran/121848] New: gfortran.dg/gomp/pr107421.f90 FAILs on aarch64

2025-09-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121848 Bug ID: 121848 Summary: gfortran.dg/gomp/pr107421.f90 FAILs on aarch64 Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: testsuite-fail Severity: normal

[Bug fortran/107421] problematic interaction of 'common' and 'threadprivate'

2025-09-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107421 --- Comment #4 from Sam James --- I filed PR121848 for the test failure.

[Bug c++/107393] Wrong TLS model for specialized template

2025-09-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107393 Sam James changed: What|Removed |Added Status|NEW |ASSIGNED Target Milestone|---

[Bug c/107419] attributes are ignored when selecting TLS model

2025-09-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107419 Sam James changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |hjl.tools at gmail dot com Ever

[Bug fortran/107421] problematic interaction of 'common' and 'threadprivate'

2025-09-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107421 Sam James changed: What|Removed |Added Target Milestone|--- |16.0 Status|WAITING

[Bug c/121846] call to memcpy with zero value n argument triggers deletion of null pointer check optimization

2025-09-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121846 --- Comment #6 from Sam James --- (I did start implementing that for glibc a little while ago, it's easy, just tedious, and dunno if we'd consider that backportable, while stripping nonnull should be certainly backported.)

[Bug c/121846] call to memcpy with zero value n argument triggers deletion of null pointer check optimization

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

[Bug tree-optimization/121844] [15/16 Regression] RISCV rv64gcv: Trigger error at -Os during GIMPLE pass: ivopts

2025-09-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121844 Sam James changed: What|Removed |Added Target Milestone|14.4|15.3

[Bug tree-optimization/121844] [15/16 Regression] RISCV rv64gcv: Trigger error at -Os during GIMPLE pass: ivopts

2025-09-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121844 Sam James changed: What|Removed |Added Summary|[16,15 Regression] RISCV|[15/16 Regression] RISCV

[Bug fortran/121743] [15/16 regression] ICE in build_function_decl, at gcc/fortran/trans-decl.cc:2519 since r15-6414-g91d52f87c5bc48

2025-09-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121743 Sam James changed: What|Removed |Added Target Milestone|--- |15.3 Summary|ICE in build_functi

[Bug middle-end/121831] [15/16 regression] ICE when building melonds-1.0 with LTO (expand_expr_real_2, at expr.cc:9779)

2025-09-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121831 --- Comment #10 from Sam James --- (In reply to Andrew Pinski from comment #7) > Note fixing the ODR issue: > > Fixes the ICE. As discussed on IRC, just noting for completeness, it repros w/ valid: a.cxx: ``` struct array1 { unsigned char _

[Bug rtl-optimization/121835] [16 regression] Failed bootstrap in powerpc64le-unknown-linux-gnu with new dep fusion pass

2025-09-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121835 --- Comment #3 from Sam James --- Ah, that'd do it - only aarch64, i386, arm, riscv have the hook.

[Bug rtl-optimization/121835] New: [16 regression] Failed bootstrap in powerpc64le-unknown-linux-gnu wiht new dep fusion pass

2025-09-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121835 Bug ID: 121835 Summary: [16 regression] Failed bootstrap in powerpc64le-unknown-linux-gnu wiht new dep fusion pass Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug rtl-optimization/121835] [16 regression] Failed bootstrap in powerpc64le-unknown-linux-gnu wiht new dep fusion pass

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

[Bug tree-optimization/121830] [16 regression] ice in vect_build_slp_tree_2, again ?

2025-09-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121830 Sam James changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

  1   2   3   4   5   6   7   8   9   10   >