[Bug tree-optimization/120630] [16 regression] wrong code at -O{s,2,3} with "-fno-tree-loop-im -fno-tree-loop-optimize -fno-tree-ch" on x86_64-linux-gnu

2025-06-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120630 Sam James changed: What|Removed |Added Keywords||wrong-code Summary|wrong code at

[Bug ipa/120629] [16 regression] bootstrap-lto fails

2025-06-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120629 --- Comment #3 from Sam James --- Created attachment 61620 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61620&action=edit build.log.xz It's during stagetrain, actually..

[Bug ipa/120629] [16 regression] profiledbootstrap fails

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

[Bug ipa/120629] [16 regression] bootstrap-lto fails

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

[Bug target/120604] runtime error in ix86_expand_int_movcc i386/i386-expand.cc:3612:

2025-06-10 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120604 --- Comment #9 from David Binderman --- (In reply to Uroš Bizjak from comment #8) > David, can you please bootstrap with the attached patch? Bootstrapping now. It will take 6-12 hours to complete.

[Bug tree-optimization/120231] GCC fails to notice that (double)u64 is non-negative

2025-06-10 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120231 chenglulu changed: What|Removed |Added CC||chenglulu at loongson dot cn --- Comment #1

[Bug ipa/120629] [16 regression] bootstrap-lto fails

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120629 Andrew Pinski changed: What|Removed |Added Host||x86_64 Target Milestone|---

[Bug target/120513] Possible arch or configure issue

2025-06-10 Thread chandleg at wizardsworks dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120513 --- Comment #32 from Greg Chandler --- Starting to get some progress I added a print statement in gcc.cc to see what is being executed: -> 3298 /*HERE*/ -> 3299 for (n_commands = 1, i = 0; argbuf.iterate (i, &arg); i++) -> 3300

[Bug gcov-profile/120490] Wrong line coverage for inline function as an arm of switch-case

2025-06-10 Thread wentaoz5 at illinois dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120490 --- Comment #1 from Wentao Zhang --- Here is a reduced program: $ gcc --version | head -1 gcc (GCC) 16.0.0 20250511 (experimental) $ cat > test.c << 'EOF' int g; static inline __attribute__((always_inline)) int foo() { return 0; } #define PR

[Bug c++/120628] GCC emits incorrect warnings/errors for identifiers "final" and "override" in C++98 mode

2025-06-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120628 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/90693] Missing popcount simplifications

2025-06-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90693 --- Comment #17 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e477e7cd104af96c55379f69125db3f1c350c9ed commit r16-1410-ge477e7cd104af96c55379f69125db3f1c350c9ed Author: Jakub Jelinek Date: W

[Bug middle-end/120434] GCC uses signed extend (movsxd) for known positive variables rather than zero extend 'mov'

2025-06-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120434 --- Comment #16 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f3dde39e597f48832208f423fb20f29674ce49ae commit r16-1409-gf3dde39e597f48832208f423fb20f29674ce49ae Author: Jakub Jelinek Date:

[Bug ipa/120629] [16 regression] bootstrap-lto fails

2025-06-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120629 --- Comment #1 from Sam James --- ``` ==2259076== Invalid write of size 8 ==2259076==at 0x57F874A: ipa_predicate::stream_in(lto_input_block*) (ipa-predicate.cc:614) ==2259076==by 0x577856A: inline_read_section(lto_file_decl_data*, char c

[Bug ipa/120629] New: [16 regression] bootstrap-lto fails

2025-06-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120629 Bug ID: 120629 Summary: [16 regression] bootstrap-lto fails Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3

[Bug gcov-profile/120491] Wrong line coverage for C++ constructor with multiline initialization list

2025-06-10 Thread wentaoz5 at illinois dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120491 --- Comment #1 from Wentao Zhang --- Here is a reduced program: $ gcc --version | head -1 gcc (GCC) 16.0.0 20250511 (experimental) $ cat > test.cc << 'EOF' int g; class C1 { int x; int y; public: C1() {} C1(int x, int y) : x(x

[Bug gcov-profile/120492] New: Wrong line coverage for C++ push_back() of a char pointer into string vector

2025-06-10 Thread wentaoz5 at illinois dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120492 Bug ID: 120492 Summary: Wrong line coverage for C++ push_back() of a char pointer into string vector Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: n

[Bug c++/120628] New: GCC emits incorrect warnings/errors for identifiers "final" and "override" in C++98 mode

2025-06-10 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120628 Bug ID: 120628 Summary: GCC emits incorrect warnings/errors for identifiers "final" and "override" in C++98 mode Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug c++/120628] GCC emits incorrect warnings/errors for identifiers "final" and "override" in C++98 mode

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

[Bug c++/120569] Valid C++14 (or C++11/C++98) incorrectly rejected

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120569 Andrew Pinski changed: What|Removed |Added CC||de34 at live dot cn --- Comment #2 from

[Bug cobol/119217] cobol: build broken on non-linux by unguarded use of Linux-specific facilities.

2025-06-10 Thread rdubner at symas dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119217 --- Comment #29 from rdubner at symas dot com --- > -Original Message- > From: ro at CeBiTec dot Uni-Bielefeld.DE > Sent: Tuesday, June 10, 2025 11:43 > To: rdub...@gcc.gnu.org > Subject: [Bug cobol/119217] cobol: build broken on non-lin

[Bug other/116792] RFE: should we be able to generate diagnostics in HTML format?

2025-06-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116792 --- Comment #13 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:cb1d203445c923aa64bca01b0ffb6d3d16a82130 commit r16-1406-gcb1d203445c923aa64bca01b0ffb6d3d16a82130 Author: David Malcolm Date:

[Bug other/120610] pp_token_lists are not always balanced

2025-06-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120610 --- Comment #1 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:3dcce649a1e0833a4c3bb9ced4b9c0b38c3fb8a5 commit r16-1404-g3dcce649a1e0833a4c3bb9ced4b9c0b38c3fb8a5 Author: David Malcolm Date: T

[Bug target/120627] [15/16 regression] RISC-V: Miscompile at -O[23] since r15-2186-g9d8ef2711df

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120627 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug target/120627] New: [15/16 regression] RISC-V: Miscompile at -O[23] since r15-2186-g9d8ef2711df

2025-06-10 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120627 Bug ID: 120627 Summary: [15/16 regression] RISC-V: Miscompile at -O[23] since r15-2186-g9d8ef2711df Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: no

[Bug c++/120626] Wrong type generation with non-type template arguments

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120626 Andrew Pinski changed: What|Removed |Added Depends on||94511 --- Comment #1 from Andrew Pinski

[Bug c++/120626] New: Wrong type generation with non-type template arguments

2025-06-10 Thread arbmind at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120626 Bug ID: 120626 Summary: Wrong type generation with non-type template arguments Product: gcc Version: 15.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug c++/119064] [C++26] P2786R13 - Trivial Relocatability

2025-06-10 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119064 --- Comment #3 from Jason Merrill --- (In reply to Jakub Jelinek from comment #2) > The patch is on top of the > https://gcc.gnu.org/pipermail/gcc-patches/2025-June/686210.html > https://gcc.gnu.org/pipermail/gcc-patches/2025-June/686211.html >

[Bug c/120510] composite_type produces result not compatible with arguments

2025-06-10 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120510 --- Comment #6 from uecker at gcc dot gnu.org --- This is the last remaining issue. PATCH: https://gcc.gnu.org/pipermail/gcc-patches/2025-June/686379.html

[Bug rtl-optimization/42909] inefficient code for trivial tail-call with large struct parameter

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42909 --- Comment #5 from Andrew Pinski --- Created attachment 61618 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61618&action=edit Patch which I am testing for the aarch64 issue This also improves: ``` struct s1 { int x[1024]; }; struct s1 gs

[Bug c/120303] [15/16 Regression] ICE , in groktypename at gcc/c/c-decl.cc:5442 with _Generic after an error since r15-1190-g0cf68222d2df3a

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

[Bug middle-end/120609] printf fails for a decimal type if variable is unmodified

2025-06-10 Thread madams846 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120609 --- Comment #3 from Marc Adams --- On my system, commands "gcc decBugDemo.c -Wl,—no-as-needed,-ldfp,—as-needed" then "./a.out" produced correct printout "2.000e+00". From: pinskia at gcc dot g

[Bug testsuite/120519] g++.target/powerpc/mvc-symbols1.C fail starting with r16-965-g83eee43e998d0a

2025-06-10 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120519 --- Comment #10 from Segher Boessenkool --- I was not cc:'ed. And I did not approve it. It should not have been committed. We have (minimal!) process for a reason. It would be chaos without it.

[Bug rtl-optimization/74585] powerpc64: Very poor code generation for homogeneous vector aggregates passed in registers

2025-06-10 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=74585 --- Comment #17 from Segher Boessenkool --- The stack is always in memory, AFAIK :-) Do we have any targets where it is not? Do we have any targets where BLKmode is not always in memory? That is something that should be documented btw :-) Any

[Bug testsuite/120519] g++.target/powerpc/mvc-symbols1.C fail starting with r16-965-g83eee43e998d0a

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120519 --- Comment #9 from Andrew Pinski --- (In reply to Segher Boessenkool from comment #8) > Please always post all patches to gcc-patches@, and never ever commit > anything > to config/rs6000 without approval by its maintainers! It was posted: htt

[Bug testsuite/120519] g++.target/powerpc/mvc-symbols1.C fail starting with r16-965-g83eee43e998d0a

2025-06-10 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120519 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comm

[Bug rtl-optimization/42909] inefficient code for trivial tail-call with large struct parameter

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

[Bug middle-end/82705] Missing tail calls for large structs returns

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82705 Andrew Pinski changed: What|Removed |Added Summary|Missing tail calls for |Missing tail calls for

[Bug libstdc++/99832] std::chrono::system_clock::to_time_t needs ABI tag for 32-bit time_t

2025-06-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99832 --- Comment #20 from GCC Commits --- The releases/gcc-15 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5327eef7b003f66b90841af77c5095eebfa53938 commit r15-9819-g5327eef7b003f66b90841af77c5095eebfa53938 Author: Jonathan Wake

[Bug libstdc++/120548] std::format confuses a negative sign for a thousands digit when formatting floating point numbers

2025-06-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120548 --- Comment #6 from GCC Commits --- The releases/gcc-15 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:974d59aec69b35bd4f7f8464a3bcfc55e849ed1f commit r15-9818-g974d59aec69b35bd4f7f8464a3bcfc55e849ed1f Author: Jonathan Wake

[Bug target/120513] Possible arch or configure issue

2025-06-10 Thread chandleg at wizardsworks dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120513 --- Comment #30 from Greg Chandler --- It's not the preprocessor: root@bigbang:/tmp# gcc -E 1.c root@bigbang:/tmp#

[Bug target/120513] Possible arch or configure issue

2025-06-10 Thread chandleg at wizardsworks dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120513 --- Comment #31 from Greg Chandler --- This hangs: root@bigbang:/tmp# gcc -S 1.c >From ps -faux: root 391 0.0 0.1 4832 3912 ttyS0Ss 03:28 0:00 -bash root 432 0.4 0.1 6616 2512 ttyS0S+ 03:57 0:00 \_ gcc

[Bug libstdc++/120622] Compilation error ( no match for operator==) since libstdc++ commit r15-4475-g7ed561f63e7955

2025-06-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120622 --- Comment #6 from Jonathan Wakely --- Actually that looks like it's fixing a similar but different issue.

[Bug libstdc++/113060] std::variant converting constructor/assignment is non-conforming after P2280?

2025-06-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113060 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |peppe at gcc dot gnu.org

[Bug libstdc++/120622] Compilation error ( no match for operator==) since libstdc++ commit r15-4475-g7ed561f63e7955

2025-06-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120622 Jonathan Wakely changed: What|Removed |Added See Also||https://github.com/serge-sa

[Bug target/120604] runtime error in ix86_expand_int_movcc i386/i386-expand.cc:3612:

2025-06-10 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120604 --- Comment #8 from Uroš Bizjak --- Created attachment 61617 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61617&action=edit Proposed patch David, can you please bootstrap with the attached patch?

[Bug middle-end/120434] GCC uses signed extend (movsxd) for known positive variables rather than zero extend 'mov'

2025-06-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120434 --- Comment #14 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:54da199f28da07166a44eae7d53acb9e3abe1306 commit r16-1399-g54da199f28da07166a44eae7d53acb9e3abe1306 Author: Jakub Jelinek Date:

[Bug target/120604] runtime error in ix86_expand_int_movcc i386/i386-expand.cc:3612:

2025-06-10 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120604 Uroš Bizjak changed: What|Removed |Added Last reconfirmed||2025-06-10 Assignee|unassigned

[Bug middle-end/120434] GCC uses signed extend (movsxd) for known positive variables rather than zero extend 'mov'

2025-06-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120434 --- Comment #15 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:2e4688a7202d73baeb4de18ca4591e6b0985f4a4 commit r16-1400-g2e4688a7202d73baeb4de18ca4591e6b0985f4a4 Author: Jakub Jelinek Date:

[Bug middle-end/120434] GCC uses signed extend (movsxd) for known positive variables rather than zero extend 'mov'

2025-06-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120434 --- Comment #13 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:8154fc95f097a146f9c80edcaafb2baff73065b5 commit r16-1398-g8154fc95f097a146f9c80edcaafb2baff73065b5 Author: Jakub Jelinek Date:

[Bug libstdc++/120625] [15/16 Regression] std::formatter<__disabled> specializations cause errors in user code

2025-06-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120625 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |15.2 Last reconfirmed|

[Bug libstdc++/120622] Compilation error ( no match for operator==) since libstdc++ commit r15-4475-g7ed561f63e7955

2025-06-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120622 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/119064] [C++26] P2786R13 - Trivial Relocatability

2025-06-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119064 Jakub Jelinek changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug libstdc++/120622] Compilation error ( no match for operator==) since libstdc++ commit r15-4475-g7ed561f63e7955

2025-06-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120622 --- Comment #3 from Jonathan Wakely --- Previously std::copy with random access iterators would find the distance between the iterators and then loops that many times, i.e. for (auto n = last - first; n > 0; --n) now we just loop on the iterat

[Bug libstdc++/120625] New: [15/16 Regression] std::formatter<__disabled> specializations cause errors in user code

2025-06-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120625 Bug ID: 120625 Summary: [15/16 Regression] std::formatter<__disabled> specializations cause errors in user code Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug c++/119064] [C++26] P2786R13 - Trivial Relocatability

2025-06-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119064 --- Comment #1 from Jakub Jelinek --- Created attachment 61616 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61616&action=edit gcc16-pr119064-wip.patch Untested WIP patch. On slightly modified clang testcase this now mostly works (the o

[Bug c++/99625] GCC does not detect narrowing in aggregate initialization

2025-06-10 Thread peppe at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99625 --- Comment #6 from Giuseppe D'Angelo --- Related to this: https://github.com/cplusplus/CWG/issues/686

[Bug libstdc++/113060] std::variant converting constructor/assignment is non-conforming after P2280?

2025-06-10 Thread peppe at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113060 --- Comment #10 from Giuseppe D'Angelo --- LEWG has forwaded P3146 to LWG; I've implemented Jiang An's idea in https://forge.sourceware.org/gcc/gcc-TEST/pulls/51 .

[Bug c++/120620] [13/14/15/16 Regression] Internal Compiler Error in tree.cc, Line #11240

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120620 --- Comment #2 from Andrew Pinski --- Created attachment 61615 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61615&action=edit Semi reduced, removed some unneeded code

[Bug c++/120620] [13/14/15/16 Regression] Internal Compiler Error in tree.cc, Line #11240

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

[Bug c++/120620] [13/14/15/16 Regression] Internal Compiler Error in tree.cc, Line #11240

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120620 Andrew Pinski changed: What|Removed |Added Known to work||12.4.0 Target Milestone|---

[Bug target/118150] Failure to fold NOT+PTEST to NOTS for SVE

2025-06-10 Thread sabson at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118150 --- Comment #3 from Spencer Abson --- >It looks like we also miss AND+PTEST because the existing combine matches the >>(and ( ((a) (b)) (c)) canonicalisation of predicated ior and xor, >>where c is all-true. Sorry - I mean that c is an all-tr

[Bug c++/120620] Internal Compiler Error in tree.cc, Line #11240

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120620 --- Comment #1 from Andrew Pinski --- Created attachment 61614 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61614&action=edit Testcase GodBolt link Next time please attach or place inline the testcase instead of JUST linking to GodBolt

[Bug target/118150] Failure to fold NOT+PTEST to NOTS for SVE

2025-06-10 Thread sabson at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118150 Spencer Abson changed: What|Removed |Added CC||sabson at gcc dot gnu.org --- Comment #

[Bug middle-end/120544] [15/16 Regression] extend.texi causes a build failure for makeinfo 4.13 (and before)

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120544 Andrew Pinski changed: What|Removed |Added Summary|GCC 15.1.0 and MacOS|[15/16 Regression] |M

[Bug target/120544] GCC 15.1.0 and MacOS Monterey : compilation failed

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120544 Andrew Pinski changed: What|Removed |Added Status|WAITING |NEW --- Comment #9 from Andrew Pinski

[Bug tree-optimization/111873] [12/13/14/15 regression] runtime Segmentation fault with '-O3 -fno-code-hoisting -fno-early-inlining -fno-tree-fre -fno-tree-pre' since r12-434-g93f8cb4965cebe

2025-06-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111873 Martin Jambor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/114864] [12/13/14/15 regression] wrong code at -O1 with "-fno-tree-dce -fno-tree-fre" on x86_64-linux-gnu since r12-434-g93f8cb4965cebe

2025-06-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114864 Bug 114864 depends on bug 111873, which changed state. Bug 111873 Summary: [12/13/14/15 regression] runtime Segmentation fault with '-O3 -fno-code-hoisting -fno-early-inlining -fno-tree-fre -fno-tree-pre' since r12-434-g93f8cb4965cebe https://g

[Bug tree-optimization/111873] [12/13/14/15 regression] runtime Segmentation fault with '-O3 -fno-code-hoisting -fno-early-inlining -fno-tree-fre -fno-tree-pre' since r12-434-g93f8cb4965cebe

2025-06-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111873 --- Comment #22 from GCC Commits --- The releases/gcc-12 branch has been updated by Martin Jambor : https://gcc.gnu.org/g:16d6a270b11a00d30966d42d9bc086e5873b5632 commit r12-11132-g16d6a270b11a00d30966d42d9bc086e5873b5632 Author: Martin Jambor

[Bug cobol/119217] cobol: build broken on non-linux by unguarded use of Linux-specific facilities.

2025-06-10 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119217 --- Comment #28 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #27 from Robert Dubner --- > I have managed to compile gcobol and libgcobol.so on a i386-pc-solaris > system. > (Thanks, Richard!) Good! (It's Rainer btw.;-) > Attem

[Bug target/120624] aarch64: Incorrect DCE of a ZA restore in SME code

2025-06-10 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120624 Richard Sandiford changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug target/120624] New: aarch64: Incorrect DCE of a ZA restore in SME code

2025-06-10 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120624 Bug ID: 120624 Summary: aarch64: Incorrect DCE of a ZA restore in SME code Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: aarch64-sme, wrong-code Severity: nor

[Bug cobol/120623] New: gcobol-16 on i386-solaris results in "out of memory".

2025-06-10 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120623 Bug ID: 120623 Summary: gcobol-16 on i386-solaris results in "out of memory". Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug cobol/120623] gcobol-16 on i386-solaris results in "out of memory".

2025-06-10 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120623 Robert Dubner changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rdubner at gcc dot gnu.org

[Bug libstdc++/120622] Compilation error ( no match for operator==) since libstdc++ commit r15-4475-g7ed561f63e7955

2025-06-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120622 --- Comment #2 from Martin Jambor --- Created attachment 61613 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61613&action=edit Reduced test-case This is a reduced self-contained (other than the libstdc++ dependency) test-case that I obta

[Bug libstdc++/120622] Compilation error ( no match for operator==) since libstdc++ commit r15-4475-g7ed561f63e7955

2025-06-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120622 --- Comment #1 from Martin Jambor --- Created attachment 61612 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61612&action=edit Unreduced test-case This is a tarball with the original code snipped from pythran, the "pythonic" "library" it

[Bug libstdc++/120622] New: Compilation error ( no match for operator==) since libstdc++ commit r15-4475-g7ed561f63e7955

2025-06-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120622 Bug ID: 120622 Summary: Compilation error ( no match for operator==) since libstdc++ commit r15-4475-g7ed561f63e7955 Product: gcc Version: 15.1.0 Status: UNCONFIRMED

[Bug c++/119705] Massive memory use when building Flang (10GB+)

2025-06-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119705 --- Comment #9 from Patrick Palka --- With -fsyntax-only and a checking compiler (which means frequent GCs), we allocate 5.8GB of GC memory according to -ftime-report, but maximum RSS is 5GB according to /usr/bin/time -v, which I think means the

[Bug target/119210] [SME] 'smstart za' seems not to dominate the block that uses za register

2025-06-10 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119210 Richard Sandiford changed: What|Removed |Added Last reconfirmed||2025-06-10 Status|UNCON

[Bug cobol/119211] [15/16 Regression] Cobol GCC 15 release checklist

2025-06-10 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119211 Bug 119211 depends on bug 119217, which changed state. Bug 119217 Summary: cobol: build broken on non-linux by unguarded use of Linux-specific facilities. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119217 What|Removed

[Bug cobol/119217] cobol: build broken on non-linux by unguarded use of Linux-specific facilities.

2025-06-10 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119217 Robert Dubner changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug target/60428] non-exception (e.g. C) ARM Linux programs depend on libgcc_s

2025-06-10 Thread ossman at cendio dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60428 --- Comment #4 from Pierre Ossman --- Any updates on this? Still seems to be needed for gcc 15.

[Bug cobol/120621] New: COBOL isn't built with STRICT_WARN

2025-06-10 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120621 Bug ID: 120621 Summary: COBOL isn't built with STRICT_WARN Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol

[Bug tree-optimization/120613] PGO build of PHP fails with SSA corruption

2025-06-10 Thread redhat.bugzilla at proton dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120613 --- Comment #9 from P. Ruber --- Thank you very much for all the feedback! Will notify downstream.

[Bug target/66587] -no_compact_unwind is dropped for -nodefaultlibs/-nostdlib

2025-06-10 Thread ossman at cendio dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66587 Pierre Ossman changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/120589] __attribute__((dllimport)) caused ICE

2025-06-10 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120589 Jeffrey A. Law changed: What|Removed |Added Status|WAITING |NEW --- Comment #3 from Jeffrey A. Law

[Bug c++/120620] New: Internal Compiler Error in tree.cc, Line #11240

2025-06-10 Thread thomaspkhealy at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120620 Bug ID: 120620 Summary: Internal Compiler Error in tree.cc, Line #11240 Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug libstdc++/120390] [12/13/14/15/16 Regression] Request to improve error with private destructor

2025-06-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120390 Jonathan Wakely changed: What|Removed |Added Keywords||patch --- Comment #8 from Jonathan Wa

[Bug middle-end/120608] [15/16 regression] error: cannot tail-call: other reasons when using address sanitizer with musttail

2025-06-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120608 --- Comment #10 from Jakub Jelinek --- (In reply to Jakub Jelinek from comment #7) > Just tried it on godbolt and seems clang just silently doesn't tail call it. > That is IMHO worse behavior than erroring on that out. Sorry, ignore this, PEBKA

[Bug target/120544] GCC 15.1.0 and MacOS Monterey : compilation failed

2025-06-10 Thread bug-reports.delphin at laposte dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120544 --- Comment #7 from bug-reports.delphin at laposte dot net --- But compilation and installation OK for GCC v. 14.3.0.

[Bug target/120544] GCC 15.1.0 and MacOS Monterey : compilation failed

2025-06-10 Thread bug-reports.delphin at laposte dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120544 --- Comment #8 from bug-reports.delphin at laposte dot net --- (In reply to Andrew Pinski from comment #5) > What version of texinfo you have installed? > > Are you building from the tar balls or from git tag? > > > If from git tag, then `Texi

[Bug middle-end/120608] [15/16 regression] error: cannot tail-call: other reasons when using address sanitizer with musttail

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

[Bug target/120544] GCC 15.1.0 and MacOS Monterey : compilation failed

2025-06-10 Thread bug-reports.delphin at laposte dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120544 --- Comment #6 from bug-reports.delphin at laposte dot net --- But compilation and installation OK for GCC v. 14.3.0.

[Bug middle-end/68122] ICE in is_tm_pure_call with -fsanitize=undefined and -fgnu-tm

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68122 --- Comment #15 from Andrew Pinski --- *** Bug 120619 has been marked as a duplicate of this bug. ***

[Bug ipa/120619] ICE: Segmentation fault during IPA pass: tmipa

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

[Bug ipa/94762] [12/13/14/15/16 Regression] ICE: Segmentation fault (in is_tm_irrevocable) since r7-1710-g849a76a5a20db383

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

[Bug middle-end/68122] ICE in is_tm_pure_call with -fsanitize=undefined and -fgnu-tm

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68122 Andrew Pinski changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #14

[Bug ipa/120619] ICE: Segmentation fault during IPA pass: tmipa

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120619 --- Comment #2 from Andrew Pinski --- fn = gimple_call_fn (stmt); /* Functions with the attribute are by definition irrevocable. */ if (is_tm_irrevocable (fn)) return true;

[Bug ipa/120619] ICE: Segmentation fault during IPA pass: tmipa

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120619 --- Comment #1 from Andrew Pinski --- [apinski@xeond2 gcc]$ ./cc1 -fsanitize=thread -fgnu-tm t.c f Analyzing compilation unit Performing interprocedural optimizations <*free_lang_data> {heap 1116k} {heap 1116k} {heap 1116k} {heap 1392k} {h

[Bug ada/81106] gnatchop -r misplaces BOM

2025-06-10 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81106 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/120460] std::function ignores [[nodiscard]] attribute

2025-06-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120460 --- Comment #4 from Jonathan Wakely --- This is now https://cplusplus.github.io/LWG/issue4268

  1   2   >