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

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

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

2025-09-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121821 Andrew Pinski changed: What|Removed |Added Component|bootstrap |target Keywords|

[Bug c/121823] float expressions not honor rounding

2025-09-05 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121823 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Com

[Bug c++/121826] New: ICE on less constrainted partial specialization

2025-09-05 Thread stevenxia990430 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121826 Bug ID: 121826 Summary: ICE on less constrainted partial specialization Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/121808] ICE: in import_module, at cp/module.cc:21743

2025-09-05 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121808 Nathaniel Shead changed: What|Removed |Added Last reconfirmed||2025-09-06 Status|UNCONFI

[Bug c++/121825] New: ICE on coroutine return in lambda

2025-09-05 Thread stevenxia990430 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121825 Bug ID: 121825 Summary: ICE on coroutine return in lambda Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c/121824] New: side effects of expressions not done

2025-09-05 Thread tydeman at tybor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121824 Bug ID: 121824 Summary: side effects of expressions not done Product: gcc Version: 15.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/121823] New: float expressions not honor rounding

2025-09-05 Thread tydeman at tybor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121823 Bug ID: 121823 Summary: float expressions not honor rounding Product: gcc Version: 15.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/121822] New: ICE in dependent_type_p with concept

2025-09-05 Thread stevenxia990430 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121822 Bug ID: 121822 Summary: ICE in dependent_type_p with concept Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

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

2025-09-05 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121821 Bug ID: 121821 Summary: [16 regression] profiledbootstrap fails to build on armv8l since r16-496-gcc74e2f2b39b6d Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug tree-optimization/121820] New: [regression 16] gcc.dg/vect/vect-early-break_39.c fails on aarch64 since r16-1001-g0291f53f8d2343

2025-09-05 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121820 Bug ID: 121820 Summary: [regression 16] gcc.dg/vect/vect-early-break_39.c fails on aarch64 since r16-1001-g0291f53f8d2343 Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug tree-optimization/121820] [regression 16] gcc.dg/vect/vect-early-break_39.c fails on aarch64 since r16-1001-g0291f53f8d2343

2025-09-05 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121820 --- Comment #2 from Thiago Jung Bauermann --- Created attachment 62327 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62327&action=edit vect file for parent commit r16-1000-g225622398a9631

[Bug tree-optimization/121820] [16 Regression] gcc.dg/vect/vect-early-break_39.c fails on aarch64 since r16-1001-g0291f53f8d2343

2025-09-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121820 Andrew Pinski changed: What|Removed |Added Keywords||testsuite-fail Target Milestone|---

[Bug tree-optimization/121820] [regression 16] gcc.dg/vect/vect-early-break_39.c fails on aarch64 since r16-1001-g0291f53f8d2343

2025-09-05 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121820 --- Comment #3 from Thiago Jung Bauermann --- Created attachment 62328 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62328&action=edit .s file for parent commit r16-1000-g225622398a9631

[Bug tree-optimization/121820] [regression 16] gcc.dg/vect/vect-early-break_39.c fails on aarch64 since r16-1001-g0291f53f8d2343

2025-09-05 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121820 --- Comment #1 from Thiago Jung Bauermann --- Created attachment 62326 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62326&action=edit .s file for r16-1001-g0291f53f8d2343

[Bug tree-optimization/108355] [13/14/15/16 Regression] Dead Code Elimination Regression at -O2 since r13-2772-g9baee6181b4e42

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

[Bug libstdc++/96710] __int128 vs

2025-09-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96710 Andrew Pinski changed: What|Removed |Added CC||romain.geissler at amadeus dot com ---

[Bug libstdc++/121819] Shall std::is_integral/make_signed/make_unsigned always be defined for int128 ?

2025-09-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121819 --- Comment #2 from Andrew Pinski --- r16-2190-g4faa42ac0dee2c26ed68f0df002837e7e1c95687 was the main change to do it always rather than just strict mode.

[Bug libstdc++/121819] Shall std::is_integral/make_signed/make_unsigned always be defined for int128 ?

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

[Bug target/121818] miscompilation of parallel for reduction on nvptx target in a cholesky decomposition

2025-09-05 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121818 --- Comment #4 from Benjamin Schulz --- Created attachment 62324 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62324&action=edit arraytest.xnvptx-none.ii here is the i file for that second version with where omp atomic gets different res

[Bug target/121818] miscompilation of parallel for reduction on nvptx target in a cholesky decomposition

2025-09-05 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121818 --- Comment #3 from Benjamin Schulz --- Created attachment 62323 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62323&action=edit mathfunctions_mpi.h mathfunctions_mpi.h with omp atomics on shared variables of teams distribute parallel f

[Bug libstdc++/121819] New: Shall std::is_integral/make_signed/make_unsigned always be defined for int128 ?

2025-09-05 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121819 Bug ID: 121819 Summary: Shall std::is_integral/make_signed/make_unsigned always be defined for int128 ? Product: gcc Version: 15.2.0 Status: UNCONFIRMED Severi

[Bug target/121818] miscompilation of parallel for reduction on nvptx target in a cholesky decomposition

2025-09-05 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121818 --- Comment #2 from Benjamin Schulz --- hi, no it turned out that when i remove the reduction, i just get large numerical errors but it is still not correct. When I, however, remove the reduction clauses and use shared for the reduction variabl

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2025-09-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 102690, which changed state. Bug 102690 Summary: [13/14/15 regression] g++.dg/warn/Warray-bounds-16.C fails https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102690 What|Removed |Added --

[Bug testsuite/102690] [13/14/15 regression] g++.dg/warn/Warray-bounds-16.C fails

2025-09-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102690 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|13.5

[Bug libstdc++/121811] stdckdint.h fails to compile in C++26 mode in GCC 14

2025-09-05 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121811 --- Comment #13 from Thiago Macieira --- (In reply to Andrew Pinski from comment #12) > >* GCC + libc++: fails, because it uses the failing C header > > This sounds like a bug in libc++ for not providing a C++26 header. They may argue otherwis

[Bug tree-optimization/108466] inconsistent -Wmaybe-uninitialized warning location

2025-09-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108466 --- Comment #3 from Andrew Pinski --- Created attachment 62322 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62322&action=edit Patch which I am testing

[Bug target/121818] miscompilation of parallel for reduction on nvptx target in a cholesky decomposition

2025-09-05 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121818 --- Comment #1 from Benjamin Schulz --- Created attachment 62321 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62321&action=edit arraylibrary.tar.gz sourcecode of the arraylibrary. again, if you remove the reduction(+:tmp) in line 1610

[Bug target/121818] New: miscompilation of parallel for reduction on nvptx target in a cholesky decomposition

2025-09-05 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121818 Bug ID: 121818 Summary: miscompilation of parallel for reduction on nvptx target in a cholesky decomposition Product: gcc Version: 15.2.1 Status: UNCONFIRMED S

[Bug c/121817] New: iseqsig( 0.DD, 1.DD ) will not compile

2025-09-05 Thread tydeman at tybor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121817 Bug ID: 121817 Summary: iseqsig( 0.DD, 1.DD ) will not compile Product: gcc Version: 15.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/121817] iseqsig( 0.DD, 1.DD ) will not compile

2025-09-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121817 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Yes this is libdfp bug which does not provide a version of iseqsig which > works. iseqsig is new in C23. Report it to them via https://github.com/libdfp/libdfp/

[Bug c/121817] iseqsig( 0.DD, 1.DD ) will not compile

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

[Bug c/121817] iseqsig( 0.DD, 1.DD ) will not compile

2025-09-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121817 --- Comment #1 from Andrew Pinski --- Using __builtin_iseqsig works. So this might be a libdfp bug.

[Bug middle-end/14708] description of -ffloat-store in gcc man page incorrect/inaccurate

2025-09-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14708 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug target/94852] -ffloat-store on x64 target

2025-09-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94852 --- Comment #8 from Andrew Pinski --- The documentation has been improved slightly: https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-ffloat-store To mention that -fexcess-precision=standard should be used instead: Do not store flo

[Bug middle-end/121816] New: Disappointments has an old reference to ffloat-store still

2025-09-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121816 Bug ID: 121816 Summary: Disappointments has an old reference to ffloat-store still Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: documentation

[Bug target/121809] cast is ignored

2025-09-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121809 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING

[Bug target/121809] cast is ignored

2025-09-05 Thread tydeman at tybor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121809 --- Comment #2 from Fred J. Tydeman --- Bug 121807 has the output of gcc -v and the command line flags.

[Bug tree-optimization/121815] New: memcmp should expand inline when the len is [0,1]

2025-09-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121815 Bug ID: 121815 Summary: memcmp should expand inline when the len is [0,1] Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancem

[Bug libstdc++/121811] stdckdint.h fails to compile in C++26 mode in GCC 14

2025-09-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121811 --- Comment #12 from Andrew Pinski --- >* GCC + libc++: fails, because it uses the failing C header This sounds like a bug in libc++ for not providing a C++26 header.

[Bug rtl-optimization/121757] [15 Regression] ICE in rtl_ssa::clobber_info::recompute_group

2025-09-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121757 --- Comment #15 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:070e691dc0a926bade74e21940bd90ab41462a36 commit r16-3609-g070e691dc0a926bade74e21940bd90ab41462a36 Author: Sam James Date: Fri Sep

[Bug libstdc++/121811] stdckdint.h fails to compile in C++26 mode in GCC 14

2025-09-05 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121811 --- Comment #11 from Thiago Macieira --- (In reply to Andrew Pinski from comment #7) > Use a configure time test instead of a compile time one. Configure-time tests aren't good for libraries, when the idea is to use the content in our own heade

[Bug middle-end/121806] [16 Regression] Uninitialised value in gcc.cc:2932's for_each_path causes gfortran compile fails since r16-3354-gf23bac62f46fc2

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

[Bug middle-end/121806] [16 Regression] Uninitialised value in gcc.cc:2932's for_each_path causes gfortran compile fails since r16-3354-gf23bac62f46fc2

2025-09-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121806 --- Comment #4 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:6b008944e7bc3a342a734c4fcf1001d63fd0a6f8 commit r16-3608-g6b008944e7bc3a342a734c4fcf1001d63fd0a6f8 Author: Andre Vehreschild Date: T

[Bug c++/121801] mangling of _Float16 values in template-args is empty

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

[Bug middle-end/121806] [16 Regression] Uninitialised value in gcc.cc:2932's for_each_path causes gfortran compile fails since r16-3354-gf23bac62f46fc2

2025-09-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121806 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/121809] cast is ignored

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

[Bug fortran/121805] Incorrect results with pointer array input

2025-09-05 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121805 --- Comment #8 from kargls at comcast dot net --- (In reply to Mikael Morin from comment #6) > (In reply to kargls from comment #3) > >idx = [(i,i=1,8)] > >e%data = idx > >dd=>e%data > >array_sum = sum(idx(dd)) > ... > >

[Bug middle-end/121806] [16 Regression] Uninitialised value in gcc.cc:2932's for_each_path causes gfortran compile fails since r16-3354-gf23bac62f46fc2

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

[Bug c++/121814] Optimization has changed the code behavior

2025-09-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121814 --- Comment #11 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > Also read > https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p3292r0.html . This > area is a mess that writing out a pointer to some string and then rea

[Bug target/121807] compare (<, <=, >=, >) with NAN is not raising "invalid"

2025-09-05 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121807 Vincent Lefèvre changed: What|Removed |Added CC||vincent-gcc at vinc17 dot net --- Com

[Bug tree-optimization/121772] [13/14/15/16 Regression] aarch64: ICE (invalid gimple) with vcombine since r13-1836-g8a1e05b7618fed

2025-09-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121772 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code --- Comment #6 from Andrew P

[Bug c++/121814] Optimization has changed the code behavior

2025-09-05 Thread liweifriends at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121814 --- Comment #8 from liwei --- Created attachment 62319 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62319&action=edit New version with some bug fixed, but exception still throw Thanks for the comments from @Jonathan Wakely. I have updat

[Bug c++/121814] Optimization has changed the code behavior

2025-09-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121814 --- Comment #1 from Jonathan Wakely --- = ==204691==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7b3d11a00058 at pc 0x7f3d14a4b2cf bp 0x7ffe75781ae0 sp 0x7ffe757812b0

[Bug c++/121814] Optimization has changed the code behavior

2025-09-05 Thread liweifriends at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121814 --- Comment #12 from liwei --- (In reply to Andrew Pinski from comment #11) > (In reply to Andrew Pinski from comment #6) > > Also read > > https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p3292r0.html . This > > area is a mess that writ

[Bug c++/121814] Optimization has changed the code behavior

2025-09-05 Thread liweifriends at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121814 --- Comment #10 from liwei --- @Andrew Pinski : Thanks for the comments. In fact the code I present is just a mimic of one gcc test: https://github.com/gcc-mirror/gcc/blob/41ea9305466ce54027324258aeae9893101941db/libstdc%2B%2B-v3/testsuite/27_

[Bug c++/121814] Optimization has changed the code behavior

2025-09-05 Thread liweifriends at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121814 liwei changed: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED

[Bug c++/121814] Optimization has changed the code behavior

2025-09-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121814 --- Comment #7 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #3) > And __s += *c not __s += c; > > Don't you want to append single characters, not a char* that isn't even > null-terminated? of course the whole loop could b

[Bug c++/121814] Optimization has changed the code behavior

2025-09-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121814 --- Comment #6 from Andrew Pinski --- Also read https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p3292r0.html . This area is a mess that writing out a pointer to some string and then reading it back might actually not work.

[Bug c++/121814] Optimization has changed the code behavior

2025-09-05 Thread liweifriends at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121814 --- Comment #5 from liwei --- Comment on attachment 62318 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62318 The file that can re-pro the issue >#include >#include >#include >#include > >void put(std::string& __s, const void* __vv)

[Bug c++/121814] Optimization has changed the code behavior

2025-09-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121814 --- Comment #4 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #3) > Also, stop using names like _UIntPtrType and __s, those are reserved names. See https://stackoverflow.com/q/228783/981959

[Bug c++/121814] Optimization has changed the code behavior

2025-09-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121814 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRME

[Bug c++/121814] Optimization has changed the code behavior

2025-09-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121814 --- Comment #2 from Jonathan Wakely --- for (auto c = __cs; c < __cs + __ilen; ++c) __s += c; Shouldn't that be __len not __ilen?

[Bug target/121510] internal compiler error: in emit_vec_extract, at config/riscv/riscv-v.cc:5651

2025-09-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121510 --- Comment #6 from GCC Commits --- The master branch has been updated by Robin Dapp : https://gcc.gnu.org/g:a6bf07653cd272add46a2218ec141c95d7f02427 commit r16-3607-ga6bf07653cd272add46a2218ec141c95d7f02427 Author: Robin Dapp Date: Fri Sep

[Bug c++/121814] New: Optimization has changed the code behavior

2025-09-05 Thread liweifriends at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121814 Bug ID: 121814 Summary: Optimization has changed the code behavior Product: gcc Version: 13.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/121805] Incorrect results with pointer array input

2025-09-05 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121805 --- Comment #7 from Mikael Morin --- (In reply to federico from comment #5) > > from my limited understanding the array version does not have a `dd.offset + > ` term that was set as `dd.offset = -1;`, This is expected. offset is used for user i

[Bug fortran/121805] Incorrect results with pointer array input

2025-09-05 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121805 Mikael Morin changed: What|Removed |Added CC||mikael at gcc dot gnu.org --- Comment #6

[Bug libgomp/121813] New: [OpenMP] omp_target_is_accessible too simplistic - false positive and false negative

2025-09-05 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121813 Bug ID: 121813 Summary: [OpenMP] omp_target_is_accessible too simplistic - false positive and false negative Product: gcc Version: 16.0 Status: UNCONFIRMED Key

[Bug rtl-optimization/121757] [15/16 Regression] ICE in rtl_ssa::clobber_info::recompute_group

2025-09-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121757 --- Comment #14 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:168cdfd137abacb2a227c4242d7a8c87270f22d4 commit r16-3605-g168cdfd137abacb2a227c4242d7a8c87270f22d4 Author: Richard Sandiford D

[Bug c/121812] New: [OpenMP] 'Contruct' context selector handling with 'declare variant'

2025-09-05 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121812 Bug ID: 121812 Summary: [OpenMP] 'Contruct' context selector handling with 'declare variant' Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: openmp

[Bug fortran/121805] Incorrect results with pointer array input

2025-09-05 Thread federico.perini at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121805 --- Comment #5 from federico --- Thanks a lot for checking this Steve. I re-enabled the loop version to see what it does in the tree dump and I see ``` loop_sum = idx[(integer(kind=8)) *(integer(kind=4) *) (dd.data + (sizetype) ((dd.offset + (

[Bug libstdc++/121811] stdckdint.h fails to compile in C++26 mode in GCC 14

2025-09-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121811 --- Comment #10 from Jonathan Wakely --- On the other hand, if I'm going to go to all the trouble of adding a new header then I might as well just backport r15-8036-gd4c7de7dc925e7 and add the working header to gcc-14.

[Bug target/118485] [15/16 Regression] gnat fails to build on m68k-linux-gnu

2025-09-05 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118485 Matthias Klose changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/121811] stdckdint.h fails to compile in C++26 mode in GCC 14

2025-09-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121811 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Last

[Bug libstdc++/121804] join_view::iterator::_M_get_inner should be noexcept

2025-09-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121804 --- Comment #3 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:8e971d665a9922a73de3a37ec8e04aea975e0993 commit r16-3604-g8e971d665a9922a73de3a37ec8e04aea975e0993 Author: Patrick Palka Date: F

[Bug libstdc++/121804] join_view::iterator::_M_get_inner should be noexcept

2025-09-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121804 Patrick Palka changed: What|Removed |Added Target Milestone|--- |16.0 Resolution|---

[Bug libstdc++/121811] stdckdint.h fails to compile in C++26 mode in GCC 14

2025-09-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121811 Andrew Pinski changed: What|Removed |Added Resolution|WONTFIX |FIXED Target Milestone|---

[Bug tree-optimization/121772] [13/14/15/16 Regression] aarch64: ICE (invalid gimple) with vcombine since r13-1836-g8a1e05b7618fed

2025-09-05 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121772 --- Comment #5 from Alex Coplan --- Here's a fully-preprocessed reduced testcase; not for the testsuite, but just to enable debugging with a cc1 cross: typedef __Int16x4_t int16x4_t; typedef __Int16x8_t int16x8_t; short f(int16x4_t va) { int1

[Bug c/121811] stdckdint.h fails to compile in C++26 mode in GCC 14

2025-09-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121811 --- Comment #7 from Andrew Pinski --- Use a configure time test instead of a compile time one.

[Bug c/121811] stdckdint.h fails to compile in C++26 mode in GCC 14

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

[Bug c/121811] stdckdint.h fails to compile in C++26 mode in GCC 14

2025-09-05 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121811 --- Comment #4 from Thiago Macieira --- (In reply to Andrew Pinski from comment #1) > It is a c only header ... > > C++ does not define it yet. No, it is C++26 with https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p3161r2.html, which i

[Bug fortran/121805] Incorrect results with pointer array input

2025-09-05 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121805 --- Comment #4 from kargls at comcast dot net --- (In reply to kargls from comment #3) > > program pointer_array_to_struct > >implicit none > >type str > integer data > integer(1) a >end type > >type(str), target

[Bug c/121811] stdckdint.h fails to compile in C++26 mode in GCC 14

2025-09-05 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121811 --- Comment #5 from Thiago Macieira --- (In reply to Thiago Macieira from comment #4) > If you're not going to fix the C header, can you please add an empty > libstdc++ header so that __STDC_VERSION_STDCKDINT_H__ won't get #define'd? Or wrap th

[Bug c/121811] stdckdint.h fails to compile in C++26 mode in GCC 14

2025-09-05 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121811 Thiago Macieira changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|WONTFI

[Bug c/121811] stdckdint.h fails to compile in C++26 mode in GCC 14

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

[Bug fortran/121805] Incorrect results with pointer array input

2025-09-05 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121805 kargls at comcast dot net changed: What|Removed |Added CC||kargls at comcast dot net --

[Bug c/121811] stdckdint.h fails to compile in C++26 mode in GCC 14

2025-09-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121811 --- Comment #1 from Andrew Pinski --- It is a c only header ... C++ does not define it yet.

[Bug c/121811] New: stdckdint.h fails to compile in C++26 mode in GCC 14

2025-09-05 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121811 Bug ID: 121811 Summary: stdckdint.h fails to compile in C++26 mode in GCC 14 Product: gcc Version: 14.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug middle-end/34678] Optimization generates incorrect code with -frounding-math option (#pragma STDC FENV_ACCESS not implemented)

2025-09-05 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34678 Xi Ruoyao changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/121807] compare (<, <=, >=, >) with NAN is not raising "invalid"

2025-09-05 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121807 Xi Ruoyao changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/121810] Out-of-range literal pool entry for MVE const vector

2025-09-05 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121810 Richard Earnshaw changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/121810] Out-of-range literal pool entry for MVE const vector

2025-09-05 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121810 Richard Earnshaw changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rearnsha at gcc dot gnu.org

[Bug libstdc++/121804] join_view::iterator::_M_get_inner should be noexcept

2025-09-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121804 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/121810] New: Out-of-range literal pool entry for MVE const vector

2025-09-05 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121810 Bug ID: 121810 Summary: Out-of-range literal pool entry for MVE const vector Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: assemble-failure Severity: normal

[Bug target/121652] [15/16 Regression] round builtin does not raise FE_INVALID for signaling NaN

2025-09-05 Thread aurelien at aurel32 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121652 --- Comment #17 from Aurelien Jarno --- (In reply to Jeffrey A. Law from comment #16) > WRT c#13, yes, it's worth it, the performance gains were huge. Of course if > we look out Zfa should become ubiquitious and that other path won't matter. >

[Bug target/121290] [16 regression] Regressions in TSVC s119, s3113, s312, s313, s314, s315, s316 since r16-2159-g3bf2aa834e1270

2025-09-05 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121290 --- Comment #22 from Tamar Christina --- (In reply to Ramana Radhakrishnan from comment #17) > > > (In reply to Tamar Christina from comment #16) > > (In reply to Soumya AR from comment #13) > > > Hi Tamar, > > > > > > Thanks for the fix. > >

[Bug target/121807] compare (<, <=, >=, >) with NAN is not raising "invalid"

2025-09-05 Thread tydeman at tybor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121807 --- Comment #2 from Fred J. Tydeman --- Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/15/lto-wrapper OFFLOAD_TARGET_NAMES=

[Bug target/121652] [15/16 Regression] round builtin does not raise FE_INVALID for signaling NaN

2025-09-05 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121652 --- Comment #16 from Jeffrey A. Law --- WRT c#13, yes, it's worth it, the performance gains were huge. Of course if we look out Zfa should become ubiquitious and that other path won't matter. But we're not at that point yet IMHO.

[Bug tree-optimization/121695] [16 Regression] RISC-V: ICE in ifcvt tree check: expected class 'type', have 'exceptional'

2025-09-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121695 --- Comment #8 from GCC Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:052c1d8284b1eb16474473b341fd83f99e8664c8 commit r16-3601-g052c1d8284b1eb16474473b341fd83f99e8664c8 Author: Georg-Johann Lay Dat

[Bug testsuite/52641] Test cases fail for 16-bit int targets

2025-09-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641 --- Comment #38 from GCC Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:052c1d8284b1eb16474473b341fd83f99e8664c8 commit r16-3601-g052c1d8284b1eb16474473b341fd83f99e8664c8 Author: Georg-Johann Lay Dat

  1   2   >