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

2025-06-09 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119217 --- Comment #26 from Robert Dubner --- *Thank* you. Those hints led to a successful compilation. This doesn't work: ../configure CONFIG_SHELL=/bin/bash --enable-languages=c,c++ --disable-multilib --disable-bootstrap So, I cribbed some of th

[Bug libstdc++/120615] New: Remove pstl ?

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120615 Bug ID: 120615 Summary: Remove pstl ? Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee

[Bug c/120607] Incorrect optimization of multiple __builtin_unreachable() conditions leads to logic errors in control flow

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120607 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |INVALID --- Comment #3 from Andrew Pins

[Bug c/120607] Incorrect optimization of multiple __builtin_unreachable() conditions leads to logic errors in control flow

2025-06-09 Thread 2023091106 at cauc dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120607 Yan <2023091106 at cauc dot edu.cn> changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment

[Bug middle-end/120614] 525.x264_r is ~30% slower with AutoFDO

2025-06-09 Thread kugan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120614 --- Comment #4 from kugan at gcc dot gnu.org --- x264_pixel_sad_x4_16x16.diff is at -O3 without -flto. Function level profiling is same even with -flto. x264_pixel_sad_x4_16x16 total:18508 head:4627 0: 4627 0.1: 0 0.2: 0 0.3: 0 0.4:

[Bug middle-end/120614] 525.x264_r is ~30% slower with AutoFDO

2025-06-09 Thread kugan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120614 --- Comment #3 from kugan at gcc dot gnu.org --- Created attachment 61610 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61610&action=edit x264_pixel_sad_x4_16x16.diff

[Bug middle-end/120614] 525.x264_r is ~30% slower with AutoFDO

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
||a/show_bug.cgi?id=120229 --- Comment #2 from Andrew Pinski --- Or maybe this is a dup of bug 120229.

[Bug tree-optimization/70427] autofdo bootstrap generates wrong code

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

[Bug middle-end/120614] 525.x264_r is ~30% slower with AutoFDO

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120614 Andrew Pinski changed: What|Removed |Added Target||aarch64 --- Comment #1 from Andrew Pins

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

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
||a/show_bug.cgi?id=98845 --- Comment #3 from Andrew Pinski --- or might it be a dup of bug 98845 . Both were fixed in Feburary .

[Bug gcov-profile/120614] New: 525.x264_r is ~30% slower with AutoFDO

2025-06-09 Thread kugan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120614 Bug ID: 120614 Summary: 525.x264_r is ~30% slower with AutoFDO Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov

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

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

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

2025-06-09 Thread redhat.bugzilla at proton dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120613 --- Comment #1 from P. Ruber --- *** Bug 120612 has been marked as a duplicate of this bug. ***

[Bug c/120612] New: PGO build of PHP fails with SSA corruption

2025-06-09 Thread redhat.bugzilla at proton dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120612 Bug ID: 120612 Summary: PGO build of PHP fails with SSA corruption Product: gcc Version: 14.2.1 Status: RESOLVED Severity: normal Priority: P3 Component: c

[Bug c/120613] New: PGO build of PHP fails with SSA corruption

2025-06-09 Thread redhat.bugzilla at proton dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120613 Bug ID: 120613 Summary: PGO build of PHP fails with SSA corruption Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/120611] Name of lambda member exposed

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120611 --- Comment #2 from Andrew Pinski --- Clang exposes __invoke but it is private: :2:35: error: '__invoke' is a private member of '(lambda at :2:18)' 2 | return decltype([]{return 42;})::__invoke(); |

[Bug c++/120611] Name of lambda member exposed

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120611 --- Comment #1 from Andrew Pinski --- Well _FUN is in the implementation defined namespace so I am not sure this if this is just a provided extension ...

[Bug c++/120611] New: Name of lambda member exposed

2025-06-09 Thread ethanhancock at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120611 Bug ID: 120611 Summary: Name of lambda member exposed Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

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

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

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

2025-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120510 --- Comment #5 from GCC Commits --- The master branch has been updated by Martin Uecker : https://gcc.gnu.org/g:ef626002447e4d2acc835914165dffc419ebbc85 commit r16-1353-gef626002447e4d2acc835914165dffc419ebbc85 Author: Martin Uecker Date: S

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

2025-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120510 --- Comment #4 from GCC Commits --- The master branch has been updated by Martin Uecker : https://gcc.gnu.org/g:aea870e9533daf27f3df2d3b82e233c907f80e27 commit r16-1352-gaea870e9533daf27f3df2d3b82e233c907f80e27 Author: Martin Uecker Date: S

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

2025-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120510 --- Comment #3 from GCC Commits --- The master branch has been updated by Martin Uecker : https://gcc.gnu.org/g:c1904cd27b2bb69f884e4958d9ceb78159470975 commit r16-1351-gc1904cd27b2bb69f884e4958d9ceb78159470975 Author: Martin Uecker Date: T

[Bug c++/120495] error: non-template type 'coroutine_handle' used as a template

2025-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120495 --- Comment #3 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:cf588f1a8e7406ced5b08f32f9d23f015a240a31 commit r16-1350-gcf588f1a8e7406ced5b08f32f9d23f015a240a31 Author: Iain Sandoe Date: Mon

[Bug c++/115605] structured binding break if a variable named tuple_size is visibile at the decomposition site

2025-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115605 --- Comment #8 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:cf588f1a8e7406ced5b08f32f9d23f015a240a31 commit r16-1350-gcf588f1a8e7406ced5b08f32f9d23f015a240a31 Author: Iain Sandoe Date: Mon

[Bug c++/120532] [12/13/14/15/16 Regression] diagnostic_context::diagnostic_impl ICE in refwrap.h

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120532 Andrew Pinski changed: What|Removed |Added Known to work||11.4.0 Summary|diagnostic_co

[Bug c++/120532] diagnostic_context::diagnostic_impl ICE in refwrap.h

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

[Bug c++/120532] diagnostic_context::diagnostic_impl ICE in refwrap.h

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120532 --- Comment #1 from Andrew Pinski --- Slightly reduced: ``` #include using my_func = void(int) &&; int main() { std::reference_wrapper a; } ```

[Bug libstdc++/100795] ranges::sample, ranges::sort etc should not use std::sample, std::sort etc directly

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

[Bug tree-optimization/120580] do_warn_nonnull_compare has special case for COND_EXPR

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

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

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

[Bug c/120609] printf fails for a decimal type if variable is unmodified

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120609 --- Comment #1 from Andrew Pinski --- I wonder if libdfp has been updated for the new printf functions.

[Bug c++/116775] C++20 Coroutine await_suspend is unexpectedly executed when using in __builtin_constant_p

2025-06-09 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116775 Iain Sandoe changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug c++/116775] C++20 Coroutine await_suspend is unexpectedly executed when using in __builtin_constant_p

2025-06-09 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116775 Iain Sandoe changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug other/120610] New: pp_token_lists are not always balanced

2025-06-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120610 Bug ID: 120610 Summary: pp_token_lists are not always balanced Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: other

[Bug c/120609] New: printf fails for a decimal type if variable is unmodified

2025-06-09 Thread madams846 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120609 Bug ID: 120609 Summary: printf fails for a decimal type if variable is unmodified Product: gcc Version: 13.3.0 Status: UNCONFIRMED Severity: normal

[Bug cobol/119324] cppcheck meets /cobol/

2025-06-09 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119324 --- Comment #11 from James K. Lowden --- I am adding gcc/cobol/Makefile.cppcheck to the repository. It uses the bear(1) package to build a "project" file, which I minimized to build only the files in the gcc/cobol directory. It then invokes cp

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

2025-06-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120608 --- Comment #7 from Jakub Jelinek --- 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.

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

2025-06-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120608 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

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

2025-06-09 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120604 --- Comment #4 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #3) > (In reply to David Binderman from comment #0) > > > After a full git download, git blame says: > > > > 2bf6d93547e5 gcc/config/i386/i386-expand.c (Martin Liska

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

2025-06-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120608 --- Comment #5 from Jakub Jelinek --- Reduced: struct A; struct B { unsigned long b; }; typedef const char *(*F) (void *u, const char *v, void *w, const A *x, unsigned long y, B z); struct A { F a; }; const char * foo (void *u, const char *v, v

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

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120608 --- Comment #4 from Andrew Pinski --- Reducing ...

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

2025-06-09 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120604 --- Comment #3 from Uroš Bizjak --- (In reply to David Binderman from comment #0) > After a full git download, git blame says: > > 2bf6d93547e5 gcc/config/i386/i386-expand.c (Martin Liska > 2019-05-06 09:18:26 +0200 3612) d

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

2025-06-09 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120608 --- Comment #3 from Carlos Galvez --- Sorry, it seems I went over the file limit, it should be up now :)

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

2025-06-09 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120608 --- Comment #2 from Carlos Galvez --- Created attachment 61608 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61608&action=edit Preprocessed source

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

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
--- >Preprocessed source is attached to this bug report. Looks like it was not. maybe you need to compress it. Also -fsanitize=address and musttail is very fragile and is known not to always work.

[Bug c++/120608] New: error: cannot tail-call: other reasons when using address sanitizer

2025-06-09 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120608 Bug ID: 120608 Summary: error: cannot tail-call: other reasons when using address sanitizer Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug c++/120534] [12/13/14/15/16 Regression] internal compiler error: in adjust_temp_type, at cp/constexpr.cc:1789 since gcc 5.1

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120534 Andrew Pinski changed: What|Removed |Added Known to work||4.9.4 Known to fail|

[Bug c/82134] warn_unused_result triggers on empty structs even when they are used

2025-06-09 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82134 Jeremy R. changed: What|Removed |Added CC||llvm at rifkin dot dev --- Comment #7 from J

[Bug target/119966] [16 regression] pru: Invalid register in RTL expression starting with r16-160-ge6f89d78c1a752

2025-06-09 Thread dimitar at gcc dot gnu.org via Gcc-bugs
|REOPENED Resolution|FIXED |--- --- Comment #12 from Dimitar Dimitrov --- https://gcc.gnu.org/pipermail/gcc-patches/2025-June/685837.html should address the rootcause for this bug. Unfortunately it breaks not only or1k (PR120587), but also AVR

[Bug modula2/120606] FOR loop ICE if the last expression uses an array

2025-06-09 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120606 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug modula2/120606] FOR loop ICE if the last expression uses an array

2025-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120606 --- Comment #4 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:639a147414ab2b870f9482123fcaa1821e0d5475 commit r16-1347-g639a147414ab2b870f9482123fcaa1821e0d5475 Author: Gaius Mulley Date: Mon

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

2025-06-09 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120604 --- Comment #2 from David Binderman --- This bug also occurs if the compile flags are changed to "-g -O2 -march=znver3".

[Bug preprocessor/120600] Inconsistent header name parsing in __has_include

2025-06-09 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120600 --- Comment #2 from Halalaluyafail3 --- (In reply to Andrew Pinski from comment #1) > I think this is a dup of bug 80005. That bug looks to have been fixed in GCC 10. This is specifically about header name parsing when macros are used

[Bug target/120203] RISC-V: Frm restore missing after call insn (float-point-dynamic-frm-74.c)

2025-06-09 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120203 Vineet Gupta changed: What|Removed |Added Target Milestone|--- |16.0 Resolution|---

[Bug tree-optimization/120583] [12/13/14/15/16 Regression] wrong code at -O{s,2} on x86_64-linux-gnu

2025-06-09 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120583 --- Comment #4 from Zhendong Su --- If it's helpful, one more test that fails (only) at -Os: * Compiler Explorer: https://godbolt.org/z/6MfG5seKE * works: 14.* and earlier * fails: 15.1 and trunk * -fwrapv or -fno-ivopts makes it disappear [517

[Bug target/119164] RISC-V: Extra FRM read/writes around call insns

2025-06-09 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119164 Vineet Gupta changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/113934] Switch avr to LRA

2025-06-09 Thread dimitar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113934 Bug 113934 depends on bug 119966, which changed state. Bug 119966 Summary: [16 regression] pru: Invalid register in RTL expression starting with r16-160-ge6f89d78c1a752 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119966 What

[Bug target/120587] [OpenRISC] ICE in ce1 due to emit_move_multi_word assert failure

2025-06-09 Thread dimitar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120587 Bug 120587 depends on bug 119966, which changed state. Bug 119966 Summary: [16 regression] pru: Invalid register in RTL expression starting with r16-160-ge6f89d78c1a752 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119966 What

[Bug c++/120577] [14/15/16 Regression] Another crash with [[no_unique_address]] and constexpr functions

2025-06-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120577 Patrick Palka changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug modula2/120606] FOR loop ICE if the last expression uses an array

2025-06-09 Thread gaius at gcc dot gnu.org via Gcc-bugs
h fixes the reported bug, it is now undergoing a full bootstrap test.

[Bug modula2/120606] FOR loop ICE if the last expression uses an array

2025-06-09 Thread gaius at gcc dot gnu.org via Gcc-bugs
|ASSIGNED Last reconfirmed||2025-06-09 --- Comment #2 from Gaius Mulley --- Verified bug.

[Bug preprocessor/120600] Inconsistent header name parsing in __has_include

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
||a/show_bug.cgi?id=80005 --- Comment #1 from Andrew Pinski --- I think this is a dup of bug 80005.

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

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120604 --- Comment #1 from Andrew Pinski --- (In reply to David Binderman from comment #0) > I just tried a bootstrap with flags "-g -O3 -march=znver3" > with ASAN and UBSAN switched on and got the following: > > trunk/gcc/config/i386/i386-expand.cc:3

[Bug bootstrap/120605] [15 Regression] bootstrap fails on riscv64 with error: 'dominated_by_p' was not declared in this scope

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

[Bug c/120607] Incorrect optimization of multiple __builtin_unreachable() conditions leads to logic errors in control flow

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

[Bug target/120216] openmp unified shared memory currently requires pageableMemoryAccess perhaps Heterogeneous Memory Management (HMM) or even just managedMemory would suffice

2025-06-09 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120216 --- Comment #2 from Benjamin Schulz --- Hi, the reason why I am mentioning this is the following: With an nvidia card that supports HMM, like mine, the nvidia nvcc compiler can, if one starts it with the managed parameter, be set such that it c

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

2025-06-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116792 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug bootstrap/120605] [15 Regression] bootstrap fails on riscv64 with error: 'dominated_by_p' was not declared in this scope

2025-06-09 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120605 Andreas Schwab changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/120607] New: Incorrect optimization of multiple __builtin_unreachable() conditions leads to logic errors in control flow

2025-06-09 Thread 2023091106 at cauc dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120607 Bug ID: 120607 Summary: Incorrect optimization of multiple __builtin_unreachable() conditions leads to logic errors in control flow Product: gcc Version: 15.1.0

[Bug modula2/120606] FOR loop ICE if the last expression uses an array

2025-06-09 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120606 --- Comment #1 from Gaius Mulley --- The same example code, with the correct cased keywords: MODULE forarray ; VAR array: ARRAY [0..10] OF INTEGER ; PROCEDURE Init ; VAR i, n: CARDINAL ; BEGIN array[0] := 10 ; n := 0 ; FOR i :=

[Bug modula2/120606] New: FOR loop ICE if the last expression uses an array

2025-06-09 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120606 Bug ID: 120606 Summary: FOR loop ICE if the last expression uses an array Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/120604] New: runtime error in i386/i386-expand.cc:3612:

2025-06-09 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120604 Bug ID: 120604 Summary: runtime error in i386/i386-expand.cc:3612: Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug bootstrap/120605] New: [15 Regression] bootstrap fails on riscv64 with error: 'dominated_by_p' was not declared in this scope

2025-06-09 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120605 Bug ID: 120605 Summary: [15 Regression] bootstrap fails on riscv64 with error: 'dominated_by_p' was not declared in this scope Product: gcc Version: 15.2.1

[Bug modula2/119779] ASM examples no longer work

2025-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119779 --- Comment #12 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:0adb415d128cf54b607b71f1022bbf088ab6ae36 commit r16-1345-g0adb415d128cf54b607b71f1022bbf088ab6ae36 Author: Gaius Mulley Date: Mo

[Bug libstdc++/103890] Generated baseline symbol file seems to have redundant lines

2025-06-09 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103890 --- Comment #4 from John David Anglin --- Fixed now on gcc trunk.

[Bug c++/107402] Parenthesized aggregate initialization should not initialize references

2025-06-09 Thread bolsh.andrey at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107402 --- Comment #2 from Andrey Bolshakov --- I would say that the wording forbids any parenthesized reference initialization with more than one argument, even when there is a corresponding constructor. E.g., for: struct C { C(int, int); }; GCC w

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

2025-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116792 --- Comment #11 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:82de4cada8669639a8474808db48d63ffade2bcb commit r16-1344-g82de4cada8669639a8474808db48d63ffade2bcb Author: David Malcolm Date:

[Bug target/120603] New: Improve addition/subtraction on RISC-V for out of range constants

2025-06-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120603 Bug ID: 120603 Summary: Improve addition/subtraction on RISC-V for out of range constants Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/120502] [15 Regression] ICE in verify_ctor_sanity with -std=c++20 -O1 and no_unique_address since r15-9189

2025-06-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120502 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/120555] [15/16 Regression] Use of auto func before deduction of auto

2025-06-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120555 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/120502] [15 Regression] ICE in verify_ctor_sanity with -std=c++20 -O1 and no_unique_address since r15-9189

2025-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120502 --- Comment #4 from GCC Commits --- The releases/gcc-15 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:4e4684ca6a79b22fe91acaa81af2d4a00d6e1345 commit r15-9807-g4e4684ca6a79b22fe91acaa81af2d4a00d6e1345 Author: Jason Merrill

[Bug c++/120555] [15/16 Regression] Use of auto func before deduction of auto

2025-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120555 --- Comment #4 from GCC Commits --- The releases/gcc-15 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:e4940c042b753457748e2257a8b13ca3738b4fac commit r15-9808-ge4940c042b753457748e2257a8b13ca3738b4fac Author: Jason Merrill

[Bug c++/107402] Parenthesized aggregate initialization should not initialize references

2025-06-09 Thread bolsh.andrey at yandex dot ru via Gcc-bugs
--- Comment #1 from Andrey Bolshakov --- I agree that it looks like a bug. Moreover, clang doesn't accept such code.

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

2025-06-09 Thread alfierichards at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120519 --- Comment #6 from Alfie Richards --- Pushed a fix for this test. Ive tested it on all the PPC targets I have access to. If Kishan could confirm it fixes your configuration as well that would be great. Sorry for this break! Thanks for the hel

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

2025-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120519 --- Comment #5 from GCC Commits --- The master branch has been updated by Alfie Richards : https://gcc.gnu.org/g:ef938108b8d141a251783cbf123248f30319d211 commit r16-1342-gef938108b8d141a251783cbf123248f30319d211 Author: Alfie Richards Date:

[Bug c++/120602] New: ICE: in pp_string, at pretty-print.cc:2652

2025-06-09 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120602 Bug ID: 120602 Summary: ICE: in pp_string, at pretty-print.cc:2652 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/113357] [14/15/16 regression] m68k-linux bootstrap failure in stage2 due to segfault compiling unwind-dw2.c since r14-4664-g04c9cf5c786b94 (tree-switch-conversion.cc miscompiled)

2025-06-09 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113357 --- Comment #23 from John Paul Adrian Glaubitz --- It has been discovered that this failure goes away when building gcc with fno-fold-mem-offsets, an optimization that was introduced here: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=04c9cf5c7

[Bug target/120601] New: Add support for nvptx's adc, add.cc and friends via uaddc{si,di}5 optabs

2025-06-09 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120601 Bug ID: 120601 Summary: Add support for nvptx's adc, add.cc and friends via uaddc{si,di}5 optabs Product: gcc Version: unknown Status: UNCONFIRMED Sev

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

2025-06-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=74585 --- Comment #16 from Richard Biener --- (In reply to Segher Boessenkool from comment #15) > The compiler now seems to assume in earlier passes that parameters and > return values are passed in memory. This is very sub-optimal, all but the > last

[Bug c++/120593] [12/13/14/15/16 Regression] internal compiler error: in fold_convert_loc, at fold-const.cc:2662

2025-06-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120593 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug tree-optimization/120599] [16 Regression] Copy prop for aggregates loses non-call exception

2025-06-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120599 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/120598] Compiler is unable to vectorise scalar code

2025-06-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120598 --- Comment #4 from Richard Biener --- I'll also note that the attached file does not contain a function with the name dot_product (or similar).

[Bug tree-optimization/120598] Compiler is unable to vectorise scalar code

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

[Bug c++/120594] internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in template_class_depth, at cp/pt.cc:43 since 15.1

2025-06-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120594 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug preprocessor/120600] New: Inconsistent header name parsing in __has_include

2025-06-09 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120600 Bug ID: 120600 Summary: Inconsistent header name parsing in __has_include Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug rtl-optimization/119901] wrong code with -O -favoid-store-forwarding -mprefer-vector-width=none -mavx2

2025-06-09 Thread konstantinos.eleftheriou at vrull dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119901 --- Comment #2 from Konstantinos Eleftheriou --- This is fixed by r16-905-gec5349c37afe972ee79b777ee749630b1a0a007e. The culprit was: (insn 23 25 22 2 (set (reg:V16HI 108) (zero_extend:V16HI (reg:V16QI 110))) "testcase.c":8:8 discrim 1

[Bug c++/120536] internal compiler error: in build_over_call, at cp/call.cc:10918

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120536 --- Comment #3 from Andrew Pinski --- My reduced testcase has been failing even in GCC 3.4.6. Starting in GCC 4.7.1 GCC does give an error message before the ICE though.

[Bug tree-optimization/120598] Compiler is unable to vectorise scalar code

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120598 Andrew Pinski changed: What|Removed |Added Status|WAITING |UNCONFIRMED Keywords|needs-so

[Bug c++/120536] internal compiler error: in build_over_call, at cp/call.cc:10918 since gcc 5.5

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120536 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/120536] internal compiler error: in build_over_call, at cp/call.cc:10918 since gcc 5.5

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

  1   2   3   4   5   6   7   8   9   10   >