[Bug libstdc++/119647] cstdlib: error: 'aligned_alloc' has not been declared in '::'; ctime: error: 'timespec_get' has not been declared in '::'

2025-04-05 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119647 --- Comment #2 from Sergey Fedorov --- (In reply to Andrew Pinski from comment #1) > Dup. > > *** This bug has been marked as a duplicate of bug 93469 *** What about `timespec_get` part though?

[Bug libstdc++/119647] cstdlib: error: 'aligned_alloc' has not been declared in '::'; ctime: error: 'timespec_get' has not been declared in '::'

2025-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119647 --- Comment #3 from Andrew Pinski --- (In reply to Sergey Fedorov from comment #2) > (In reply to Andrew Pinski from comment #1) > > Dup. > > > > *** This bug has been marked as a duplicate of bug 93469 *** > > What about `timespec_get` part t

[Bug target/118891] [14/15 regression] gcc 14 fails to build from source on aarch64_be: "error: ‘dynamic_cast’ not permitted with ‘-fno-rtti’"

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

[Bug libstdc++/119647] cstdlib: error: 'aligned_alloc' has not been declared in '::'; ctime: error: 'timespec_get' has not been declared in '::'

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

[Bug libstdc++/93469] memory header fails to compile with _XOPEN_SOURCE macro defined and -std=c++2a option specified

2025-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93469 Andrew Pinski changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment #

[Bug c++/105584] libcxx needs using_if_exist attribute

2025-04-05 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105584 --- Comment #8 from Sergey Fedorov --- (In reply to Sam James from comment #7) > Nor could they really be related if it's in libstdc++. Needs to be filed > separately. Done: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119647

[Bug libstdc++/119647] New: cstdlib: error: 'aligned_alloc' has not been declared in '::'; ctime: error: 'timespec_get' has not been declared in '::'

2025-04-05 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119647 Bug ID: 119647 Summary: cstdlib: error: 'aligned_alloc' has not been declared in '::'; ctime: error: 'timespec_get' has not been declared in '::' Product: gcc Ve

[Bug c++/105584] libcxx needs using_if_exist attribute

2025-04-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105584 --- Comment #7 from Sam James --- Nor could they really be related if it's in libstdc++. Needs to be filed separately.

[Bug c++/105584] libcxx needs using_if_exist attribute

2025-04-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105584 --- Comment #6 from Sam James --- I'm not sure that's related, at least the quoted lines don't mention _LIBCPP_USING_IF_EXISTS.

[Bug c++/105584] libcxx needs using_if_exist attribute

2025-04-05 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105584 --- Comment #5 from Sergey Fedorov --- (In reply to cqwrteur from comment #0) > https://github.com/llvm/llvm-project/blob/ > 14e83ada16b3944a4431617ed4ce7088f7f7cd9a/libcxx/include/__config#L772 > > #if __has_attribute(using_if_exists) > # defi

[Bug middle-end/78874] Manual describes "-Wno-aggressive-loop-optimizations" as if without "no-"

2025-04-05 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78874 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug middle-end/78874] Manual describes "-Wno-aggressive-loop-optimizations" as if without "no-"

2025-04-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78874 --- Comment #3 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:13c9b353895fef8d5b1593b7527df41487c512d1 commit r15-9232-g13c9b353895fef8d5b1593b7527df41487c512d1 Author: Sandra Loosemore Date

[Bug c++/118626] C++20 std::variant causes a segmentation fault

2025-04-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118626 --- Comment #12 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:7a91400c142899ea0aeb8b62577496cf24c68156 commit r15-9231-g7a91400c142899ea0aeb8b62577496cf24c68156 Author: Patrick Palka Date:

[Bug c++/118626] C++20 std::variant causes a segmentation fault

2025-04-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118626 --- Comment #11 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:58c5055162b698dab6a493b1f90c18af1a34ac65 commit r15-9230-g58c5055162b698dab6a493b1f90c18af1a34ac65 Author: Patrick Palka Date:

[Bug tree-optimization/119614] [15 regression] protobuf-29.4 fails to build with -O2 (error: cannot tail-call: call and return value are different)

2025-04-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119614 --- Comment #13 from Sam James --- That regtests fine on amd64, will test it with the usual troublemaker packages.

[Bug c/81831] -Wno-psabi is not documented

2025-04-05 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81831 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|-

[Bug c/81831] -Wno-psabi is not documented

2025-04-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81831 --- Comment #3 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:027491d79b2749afb57aa5c8284ed69e6b1c44b5 commit r15-9228-g027491d79b2749afb57aa5c8284ed69e6b1c44b5 Author: Sandra Loosemore Date

[Bug target/118328] Implement preserve_none for AArch64

2025-04-05 Thread kenjin4096 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118328 --- Comment #21 from Ken Jin --- I sincerely apologize for my previous performance figures. The baseline was worse due to a Clang-19 bug https://github.com/llvm/llvm-project/issues/106846. So the numbers were inaccurate. On Clang-20, on the pys

[Bug c++/119646] ICE on lix-2.92.0: internal compiler error: in flatten_await_stmt, at cp/coroutines.cc:3136

2025-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119646 --- Comment #1 from Andrew Pinski --- >Was not able to reduce to something reasonable. That is because coroutines requires some interesting class structures sometimes.

[Bug middle-end/119646] New: ICE on lix-2.92.0: internal compiler error: in flatten_await_stmt, at cp/coroutines.cc:3136

2025-04-05 Thread slyfox at gcc dot gnu.org via Gcc-bugs
le-libstdcxx-pch --enable-languages=c,c++ --disable-libgomp --disable-libquadmath --disable-libvtv CFLAGS='-O1 -g0' CXXFLAGS='-O1 -g0' LDFLAGS='-O1 -g0' Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.1 20250405 (experimental) (GCC)

[Bug ada/119643] replacement of Integer by Natural/Positive not ignored in subprogram renaming

2025-04-05 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119643 Eric Botcazou changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc dot gnu.org

[Bug libstdc++/119645] New: GCN, nvptx: libstdc++ 'checking for atomic builtins [...]... no'

2025-04-05 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119645 Bug ID: 119645 Summary: GCN, nvptx: libstdc++ 'checking for atomic builtins [...]... no' Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug gcov-profile/118442] -fprofile-generate wrongly adds instrumentation after musttail call

2025-04-05 Thread kenjin4096 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118442 --- Comment #10 from Ken Jin --- Wow, I tried a patched version of CPython and it now builds with musttail and PGO. Massive thanks to all the GCC contributors that worked towards this! I'm always in awe at how complex software like GCC work.

[Bug c++/118249] Misdiagnosing use of 'this' while doing class member access in constant evaluation

2025-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118249 Andrew Pinski changed: What|Removed |Added CC||rdiez-2006 at rd10 dot de --- Comment #

[Bug c++/117700] spurious error "non-constant condition" when inside a class member

2025-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117700 --- Comment #9 from Andrew Pinski --- swapped the 2 and 4 in the duplicated bug # :). *** This bug has been marked as a duplicate of bug 118249 ***

[Bug c++/117700] spurious error "non-constant condition" when inside a class member

2025-04-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117700 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/55004] [meta-bug] constexpr issues

2025-04-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 117700, which changed state. Bug 117700 Summary: spurious error "non-constant condition" when inside a class member https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117700 What|Removed |Add

[Bug target/118429] [15 regression] ICE when building poppler-24.11.0 on arm64 (in process_uses_of_deleted_def, at rtl-ssa/changes.cc:276) since r15-6551

2025-04-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118429 Patrick Palka changed: What|Removed |Added CC||rdiez-2006 at rd10 dot de --- Comment #

[Bug c++/117700] spurious error "non-constant condition" when inside a class member

2025-04-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117700 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

[Bug tree-optimization/116884] [13/14/15 Regression] Bogus strcpy -Warray-bounds warning following memset of destination after r13-455

2025-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116884 Andrew Pinski changed: What|Removed |Added Keywords||alias Component|middle-end

[Bug c++/118249] Misdiagnosing use of 'this' while doing class member access in constant evaluation

2025-04-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118249 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Resol

[Bug c++/55004] [meta-bug] constexpr issues

2025-04-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 118249, which changed state. Bug 118249 Summary: Misdiagnosing use of 'this' while doing class member access in constant evaluation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118249 What|Removed

[Bug c++/118249] Misdiagnosing use of 'this' while doing class member access in constant evaluation

2025-04-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118249 --- Comment #2 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:f60570b26446781c0205981804f6aa4ff1708b12 commit r15-9226-gf60570b26446781c0205981804f6aa4ff1708b12 Author: Patrick Palka Date: S

[Bug middle-end/104965] [12/13/14/15 Regression] Yet another -Warray-bounds false positive

2025-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104965 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #11 fro

[Bug middle-end/104965] [12/13/14/15 Regression] Yet another -Warray-bounds false positive

2025-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104965 Andrew Pinski changed: What|Removed |Added Known to fail||12.4.0, 14.2.0 --- Comment #10 from And

[Bug rtl-optimization/104541] [12/13/14/15 Regression] ICE: maximum number of LRA assignment passes is achieved (30) with -O -fno-tree-ter -fsanitize-coverage=trace-cmp

2025-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104541 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > Looks to be fixed in GCC 12 and 11.4.0. Maybe due to PR 104637?

[Bug rtl-optimization/104541] [12/13/14/15 Regression] ICE: maximum number of LRA assignment passes is achieved (30) with -O -fno-tree-ter -fsanitize-coverage=trace-cmp

2025-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104541 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #5 from And

[Bug tree-optimization/97108] [12/13/14/15 Regression] -Wmaybe-uninitialized false positive

2025-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97108 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org See

[Bug fortran/119460] gfortran.dg/reduce_1.f90 FAILs

2025-04-05 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119460 --- Comment #19 from anlauf at gcc dot gnu.org --- (In reply to Paul Thomas from comment #18) > (In reply to anlauf from comment #17) > Thanks for the corrections to generate_reduce_op_wrapper in comment 16 and > the test of the maximum wrapper n

[Bug target/119644] __builtin_arm_set_fpscr ICE with -mgeneral-regs-only on Arm targets

2025-04-05 Thread gcc-bugzilla at geoff dot wozniak.ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119644 --- Comment #3 from Geoff Wozniak --- > This should be an error while expanding into RTL and it is the backend > responsibility for that. Sorry. Wasn't exactly sure where to put it. > So don't use -mgeneral-regs-only if you need to use FP at

[Bug target/119644] __builtin_arm_set_fpscr ICE with -mgeneral-regs-only on Arm targets

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

[Bug target/119644] __builtin_arm_set_fpscr ICE with -mgeneral-regs-only on Arm targets

2025-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119644 --- Comment #1 from Andrew Pinski --- This should be an error while expanding into RTL and it is the backend responsibility for that.

[Bug rtl-optimization/119644] New: __builtin_arm_set_fpscr ICE with -mgeneral-regs-only on Arm targets

2025-04-05 Thread gcc-bugzilla at geoff dot wozniak.ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119644 Bug ID: 119644 Summary: __builtin_arm_set_fpscr ICE with -mgeneral-regs-only on Arm targets Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/119628] Need better mechanisms to manage register saves in callee for tail calls

2025-04-05 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119628 --- Comment #3 from H.J. Lu --- (In reply to ak from comment #2) > The existing attributes could just handle this case? Caller needs to know what registers are saved by callee. But caller doesn't know what ISAs are used by callee.

[Bug fortran/119460] gfortran.dg/reduce_1.f90 FAILs

2025-04-05 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119460 --- Comment #18 from Paul Thomas --- (In reply to anlauf from comment #17) > Created attachment 61014 [details] > Enhanced version of reduce_4.f90 > > This fixes also a copy&paste of a subtest and tests the maximum symbol > length of the wrappe

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

2025-04-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119211 --- Comment #9 from Jakub Jelinek --- I've noticed a serious problem, there are tons of if (getenv (__func__)) do_some_debugging spots in the FE. I think all those getenv calls should be changed to some inline function and have some non-default

[Bug cobol/119364] building a cobol cross compiler on i686-linux-gnu targeting x86_64-linux-gnu fails

2025-04-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119364 Jakub Jelinek changed: What|Removed |Added Attachment #61016|0 |1 is obsolete|

[Bug target/102250] [12/13 Regression] python is not documented as a Prerequisite for building for riscv

2025-04-05 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102250 sandra at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug middle-end/112589] man gcc does not specify the default behavior of -fcf-protection when used without arguments

2025-04-05 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112589 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug middle-end/112589] man gcc does not specify the default behavior of -fcf-protection when used without arguments

2025-04-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112589 --- Comment #2 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:3026daa8edcc0d04ba6facdab84c5854255e55c6 commit r15-9225-g3026daa8edcc0d04ba6facdab84c5854255e55c6 Author: Sandra Loosemore Dat

[Bug cobol/119364] building a cobol cross compiler on i686-linux-gnu targeting x86_64-linux-gnu fails

2025-04-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119364 Jakub Jelinek changed: What|Removed |Added Attachment #61012|0 |1 is obsolete|

[Bug ada/119643] replacement of Integer by Natural/Positive not ignored in subprogram renaming

2025-04-05 Thread pmnw at mailbox dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119643 --- Comment #3 from Michał L. --- (In reply to Eric Botcazou from comment #1) > Hasty generalization though, as this happens only for the replacement of > Integer by Natural/Positive (...) That's good news. Excuse the generalization - I found t

[Bug target/119628] Need better mechanisms to manage register saves in callee for tail calls

2025-04-05 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119628 --- Comment #2 from ak at gcc dot gnu.org --- The existing attributes could just handle this case?

[Bug ada/119643] replacement of Integer by Natural/Positive not ignored in subprogram renaming

2025-04-05 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119643 --- Comment #2 from Eric Botcazou --- Minimal kluge: diff --git a/gcc/ada/sem_ch8.adb b/gcc/ada/sem_ch8.adb index d4ab44fee92..0a9ef419db7 100644 --- a/gcc/ada/sem_ch8.adb +++ b/gcc/ada/sem_ch8.adb @@ -9314,11 +9314,12 @@ package body Sem_Ch8 i

[Bug ada/119643] replacement of Integer by Natural/Positive not ignored in subprogram renaming

2025-04-05 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119643 Eric Botcazou changed: What|Removed |Added Ever confirmed|0 |1 Summary|Subprogram paramet

[Bug cobol/119364] building a cobol cross compiler on i686-linux-gnu targeting x86_64-linux-gnu fails

2025-04-05 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119364 --- Comment #5 from Matthias Klose --- goes further, until: ../../src/gcc/cobol/lexio.cc: In function 'replacing_pair_t parse_replacing_pair(const char*, const char*)': ../../src/gcc/cobol/lexio.cc:725:33: error: call of overloaded 'span_t(long

[Bug ada/119643] New: Subprogram parameter subtypes in renaming-as-declaration are not ignored

2025-04-05 Thread mnpjm6zqj6tckbx8zscf at mailbox dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119643 Bug ID: 119643 Summary: Subprogram parameter subtypes in renaming-as-declaration are not ignored Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: nor

[Bug cobol/119364] building a cobol crocc compiler on i686-linux-gnu targeting x86_64-linux-gnu fails

2025-04-05 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119364 --- Comment #3 from Matthias Klose --- checked with 20250405, that this fails with an i686 -> amd64 cross compiler: [...] In file included from ../../src/gcc/cobol/cdf.y:37: ../../src/gcc/cobol/../../libgcobol/common-defs.h:185:23: er

[Bug fortran/119460] gfortran.dg/reduce_1.f90 FAILs

2025-04-05 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119460 --- Comment #17 from anlauf at gcc dot gnu.org --- Created attachment 61014 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61014&action=edit Enhanced version of reduce_4.f90 This fixes also a copy&paste of a subtest and tests the maximum s

[Bug fortran/119460] gfortran.dg/reduce_1.f90 FAILs

2025-04-05 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119460 --- Comment #16 from anlauf at gcc dot gnu.org --- Created attachment 61013 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61013&action=edit Minor fixes to the wrapper

[Bug fortran/119460] gfortran.dg/reduce_1.f90 FAILs

2025-04-05 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119460 --- Comment #15 from anlauf at gcc dot gnu.org --- (In reply to Paul Thomas from comment #14) > Created attachment 61006 [details] > Fix for this PR > > I believe that this fixes most, if not all, of the problems with the reduce > intrinsic. I w

[Bug cobol/119364] building a cobol crocc compiler on i686-linux-gnu targeting x86_64-linux-gnu fails

2025-04-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119364 --- Comment #4 from Jakub Jelinek --- Created attachment 61012 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61012&action=edit gcc15-pr119364.patch Maybe these hunks from the PR119595 patch could be enough, but untested.

[Bug cobol/119595] Port libgcobol to 32-bit architectures

2025-04-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119595 Jakub Jelinek changed: What|Removed |Added Attachment #61007|0 |1 is obsolete|

[Bug libstdc++/119642] [15 regression] diagnostic push has no effect because of unmatched pop in bits/formatfwd.h

2025-04-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119642 Sam James changed: What|Removed |Added Target Milestone|--- |15.0 CC|

[Bug libstdc++/119642] New: [15 regression] diagnostic push has no effect because of unmatched pop in bits/formatfwd.h

2025-04-05 Thread enrico.seiler+gccbugs at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119642 Bug ID: 119642 Summary: [15 regression] diagnostic push has no effect because of unmatched pop in bits/formatfwd.h Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug tree-optimization/119614] [15 regression] protobuf-29.4 fails to build with -O2 (error: cannot tail-call: call and return value are different)

2025-04-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119614 --- Comment #12 from Jakub Jelinek --- Created attachment 61010 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61010&action=edit gcc15-pr119614-2.patch Untested fix.

[Bug target/118891] [14/15 regression] gcc 14 fails to build from source on aarch64_be: "error: ‘dynamic_cast’ not permitted with ‘-fno-rtti’"

2025-04-05 Thread marcus at mc dot pp.se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118891 --- Comment #21 from marcus at mc dot pp.se --- For completeness, I tried building gcc 14.2.1 using BOOT_CFLAGS="-O2 -fno-tree-vectorize" and the build completed, successfully comparing stages 2 and 3 as equal (although I wouldn't trust the resul

[Bug tree-optimization/100038] -Warray-bound triggers false positives with __builtin_unreachable after a loop

2025-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100038 --- Comment #13 from Andrew Pinski --- Testcase submitted: https://gcc.gnu.org/pipermail/gcc-patches/2025-April/680233.html

[Bug tree-optimization/119614] [15 regression] protobuf-29.4 fails to build with -O2 (error: cannot tail-call: call and return value are different)

2025-04-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119614 --- Comment #11 from Jakub Jelinek --- And further struct S {} b; char *foo (); int e, g; void bar (); void corge (S); [[gnu::noinline]] char * baz () { bar (); return 0; } const char * qux () { if (e) { S a = b; corge (a

[Bug c/119612] [15 regression] gcc.dg/pr106465.c newly re-broken

2025-04-05 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119612 --- Comment #12 from uecker at gcc dot gnu.org --- PATCH: https://gcc.gnu.org/pipermail/gcc-patches/2025-April/680232.html

[Bug tree-optimization/119614] [15 regression] protobuf-29.4 fails to build with -O2 (error: cannot tail-call: call and return value are different)

2025-04-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119614 --- Comment #10 from Jakub Jelinek --- Slightly further simplified: struct S {} a; char *foo (); int e, g; void bar (int); void freddy (S); struct U { void baz (); template void baz (int) { static const char *(*f) () { qux };

[Bug tree-optimization/119614] [15 regression] protobuf-29.4 fails to build with -O2 (error: cannot tail-call: call and return value are different)

2025-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119614 --- Comment #9 from Andrew Pinski --- Created attachment 61009 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61009&action=edit Slightly cleaned up

[Bug c/119612] [15 regression] gcc.dg/pr106465.c newly re-broken

2025-04-05 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119612 uecker at gcc dot gnu.org changed: What|Removed |Added Attachment #61004|0 |1 is obsolete|

[Bug tree-optimization/119614] [15 regression] protobuf-29.4 fails to build with -O2 (error: cannot tail-call: call and return value are different)

2025-04-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119614 --- Comment #8 from Sam James --- Sorry, not very nice, but this fails with -O2 and works with -O1: ``` struct { } b; struct d { d(int); }; typedef const char *(*c)(int *, const char *, int *, d, const int *, unsigned

[Bug tree-optimization/119614] [15 regression] protobuf-29.4 fails to build with -O2 (error: cannot tail-call: call and return value are different)

2025-04-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119614 --- Comment #7 from Jakub Jelinek --- I see. [local count: 138047908]: _231 = MEM[(short unsigned int *)table_49(D)]; google::protobuf::internal::TcParser::Error.constprop.isra (msg_55(D), _231, hasbits_67(D)); [must tail call] goto ; [

[Bug tree-optimization/117063] [14 Regression] Incorrect stringop-overread warning using std::vector::insert at -O3

2025-04-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117063 --- Comment #6 from Sam James --- wait, let me check again

[Bug tree-optimization/108499] [12/13/14 regression] False positive -Warray-bounds

2025-04-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108499 Sam James changed: What|Removed |Added Keywords|needs-bisection | --- Comment #5 from Sam James --- Fixed b

[Bug tree-optimization/117063] [14 Regression] Incorrect stringop-overread warning using std::vector::insert at -O3

2025-04-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117063 --- Comment #5 from Sam James --- (In reply to Jonathan Wakely from comment #1) > > As noted, gcc-15 still warns at -O3 I wonder how you were still hitting it at -O3, maybe an old build?

[Bug tree-optimization/117063] [14 Regression] Incorrect stringop-overread warning using std::vector::insert at -O3

2025-04-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117063 Sam James changed: What|Removed |Added Known to fail|15.0| Summary|[14/15 Regression]

[Bug tree-optimization/119614] [15 regression] protobuf-29.4 fails to build with -O2 (error: cannot tail-call: call and return value are different)

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

[Bug cobol/119595] Port libgcobol to 32-bit architectures

2025-04-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119595 Jakub Jelinek changed: What|Removed |Added Attachment #60964|0 |1 is obsolete|

[Bug fortran/119540] [15 Regression] FAIL: gfortran.dg/reduce_1.f90 -O0 execution test

2025-04-05 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119540 Paul Thomas changed: What|Removed |Added Status|UNCONFIRMED |NEW Assignee|unassigned at gcc

[Bug objc/86913] Sending a nil message using a method signature returning a struct corrupts the stack

2025-04-05 Thread yavor at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86913 --- Comment #1 from Yavor Doganov --- I cannot reproduce with GCC master, 14.2.0 and 12.2.0 so I conclude that this bug has been fixed, perhaps as a side effect of fixing another issue.

[Bug c/119612] [15 regression] gcc.dg/pr106465.c newly re-broken

2025-04-05 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119612 --- Comment #10 from uecker at gcc dot gnu.org --- ... or actually, it is wrong in a subtle way ...

[Bug objc/119117] [12/13/14/15 Regression] instance variables sometimes causes unknown type name

2025-04-05 Thread yavor at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119117 --- Comment #6 from Yavor Doganov --- (In reply to Andrew Pinski from comment #4) > >This got broken by the C2y if declarations implementation (PR c/117019, > >commit 440be01). > > No it was broken before that; just now exposed by it because i

[Bug fortran/119460] gfortran.dg/reduce_1.f90 FAILs

2025-04-05 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119460 --- Comment #14 from Paul Thomas --- Created attachment 61006 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61006&action=edit Fix for this PR I believe that this fixes most, if not all, of the problems with the reduce intrinsic. I will b