[Bug c++/116960] ICE: Error reporting routines re-entered

2025-03-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116960 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/119303] [12/13/14/15 Regression] ICE: error reporting routines re-entered. in warning_at (diagnostic-global-context.cc:185)

2025-03-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119303 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:c7eec82942496520d6b0604aa945a89f279e2562 commit r15-9068-gc7eec82942496520d6b0604aa945a89f279e2562 Author: Marek Polacek Date: Th

[Bug target/119386] [14/15 Regression][x64] Shared libraries can no longer be compiled with profiling

2025-03-31 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119386 --- Comment #51 from Alexander Monakov --- Michael, can you give your ack/nack for Ard's proposal in comment #24 (the second variant, I guess keying off -m[no-]direct-extern-access doesn't make sense here). I think it properly addresses what you

[Bug gcov-profile/119553] New: ICE: SIGSEGV in gcov_position (gcov-io.cc:67) with -fpath-coverage

2025-03-31 Thread zsojka at seznam dot cz via Gcc-bugs
--with-as=/usr/bin/x86_64-pc-linux-gnu-as --enable-libsanitizer --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-20250331105654-r15-9061-g5f2078ca11843e-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.1 20250331 (experimental) (GCC)

[Bug tree-optimization/119493] [12/13/14/15 Regression] missing tail call to self with struct in some cases

2025-03-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119493 Jakub Jelinek changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug c/119528] __attribute__((deprecated(text)) triggers with __attribute__((malloc(deallocator, index)))

2025-03-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119528 Richard Biener changed: What|Removed |Added Keywords||documentation --- Comment #7 from Rich

[Bug other/119250] GCC configure fails to find the declaration of basename() on hosts that need

2025-03-31 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119250 Iain Sandoe changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/119172] [12/13/14 regression] macOS SDK version is not set by gcc

2025-03-31 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119172 --- Comment #3 from Iain Sandoe --- (In reply to Iain Sandoe from comment #2) > fixed on trunk so far, back ports to follow. this also needs r15-8244-gfc728cfd569e29, which corrects my typos, to be back ported.

[Bug other/119510] gcc_release will not add generated files for non-default languages

2025-03-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119510 --- Comment #13 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:7d126e2bbb378d1344f871011406c08aa88a85cd commit r15-9060-g7d126e2bbb378d1344f871011406c08aa88a85cd Author: Jakub Jelinek Date:

[Bug tree-optimization/119536] [15 regression] Python fails to build (error: cannot tail-call: call invocation refers to locals)

2025-03-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119536 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0

[Bug cobol/119295] cobol, libcobol uses random_r which is GLIBC specific

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

[Bug target/119369] GCN: weak undefined symbols -> execution test FAIL, 'HSA_STATUS_ERROR_VARIABLE_UNDEFINED'

2025-03-31 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119369 Thomas Schwinge changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tschwinge at gcc dot gnu.org

[Bug other/119218] libiberty configure test fails for basename on targets which declare it in .

2025-03-31 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119218 Iain Sandoe changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/119547] RISC-V: VSETVL mistakenly modified other data

2025-03-31 Thread zhijin.zeng at spacemit dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119547 --- Comment #1 from 曾治金 --- I think this issue has nothing to do with the logical-op-non-short-circuit parameter and it is a bug of risc-v vsetvl pass. The risc-v vsetvl pass use lcm algorithm to find the suitable place to insert vsetvl instruct

[Bug target/119010] [12/13/14/15 Regression] 444.namd shows a huge compile-time regression with -mtune=znver5

2025-03-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119010 --- Comment #15 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:4903e49b2fe321b1479dce4d3c4e2c2ae297298f commit r15-9052-g4903e49b2fe321b1479dce4d3c4e2c2ae297298f Author: Richard Biener Date:

[Bug target/119533] RISC-V: libgo build failures (ICE) with Vector enabled

2025-03-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119533 --- Comment #6 from Richard Biener --- Does go use sjlj EH "manually"? EH shouldn't result in EDGE_ABNORMAL ...

[Bug gcov-profile/119535] v2: musttail vs -fprofile-generate

2025-03-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119535 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug target/119539] [15 Regression] FAIL: gcc.target/i386/apx-nf.c scan-assembler-times {nf} rol 4

2025-03-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119539 Richard Biener changed: What|Removed |Added Last reconfirmed||2025-03-31 Status|UNCONFIR

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

2025-03-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119540 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug target/119539] [15 Regression] FAIL: gcc.target/i386/apx-nf.c scan-assembler-times {nf} rol 4

2025-03-31 Thread hongyuw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119539 --- Comment #2 from Hongyu Wang --- Created attachment 60925 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60925&action=edit Untested fix

[Bug libstdc++/119517] formatter for chrono types are underconstrained

2025-03-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119517 --- Comment #3 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:5f2078ca11843e3fe506c2fb72b9260a3cb9853e commit r15-9061-g5f2078ca11843e3fe506c2fb72b9260a3cb9853e Author: Tomasz KamiÅski Date:

[Bug target/119369] GCN: weak undefined symbols -> execution test FAIL, 'HSA_STATUS_ERROR_VARIABLE_UNDEFINED'

2025-03-31 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119369 --- Comment #2 from Andrew Stubbs --- We used to have work-arounds for ROCm runtime linker deficiencies, but these were removed in 2020, as they were no longer necessary when we moved to HSACOv3: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;

[Bug target/119369] GCN: weak undefined symbols -> execution test FAIL, 'HSA_STATUS_ERROR_VARIABLE_UNDEFINED'

2025-03-31 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119369 --- Comment #4 from Thomas Schwinge --- For the record, the (only?) issue here specifically is '__cxa_pure_virtual', an 'abort'-like function. This is defined as follows: 'libstdc++-v3/libsupc++/cxxabi.h': // Pure virtual functions. v

[Bug target/119010] [12/13/14/15 Regression] 444.namd shows a huge compile-time regression with -mtune=znver5

2025-03-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119010 --- Comment #23 from Richard Biener --- I'm not sure similar issues cause observed regression for icelake - bisecting that would help, it happened between r15-6757-gbd28244ec92b9a (good) and r15-6826-gc1729df6ec1eff (first known bad) when buildi

[Bug middle-end/119442] [14 Regression] Regression in creating SVE predicate

2025-03-31 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119442 ktkachov at gcc dot gnu.org changed: What|Removed |Added Summary|[14/15 Regression] |[14 Regression] Regression

[Bug middle-end/119541] [15 Regression] asan: dynamic-stack-buffer-overflow in modify_call_for_omp_dispatch at gimplify.cc:3976

2025-03-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119541 --- Comment #3 from GCC Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:f3899e0fd3f9aa6b579a21e87b50c61ea5c448df commit r15-9063-gf3899e0fd3f9aa6b579a21e87b50c61ea5c448df Author: Tobias Burnus Date: M

[Bug target/119369] GCN: weak undefined symbols -> execution test FAIL, 'HSA_STATUS_ERROR_VARIABLE_UNDEFINED'

2025-03-31 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119369 --- Comment #3 from Thomas Schwinge --- I see. Yes -- assuming that I'm understanding the situation correctly -- we'll need a (post-)static-link or pre-load ('gcc/config/gcn/gcn-run.cc' as well as 'libgomp/plugin/plugin-gcn.c') step to resolve

[Bug tree-optimization/119532] [avr] ICE: in build_minus_one_cst with _Accum/_Fract types , at tree.cc:2698

2025-03-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119532 Richard Biener changed: What|Removed |Added Last reconfirmed||2025-03-31 Ever confirmed|0

[Bug other/119510] gcc_release will not add generated files for non-default languages

2025-03-31 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119510 --- Comment #12 from rguenther at suse dot de --- On Mon, 31 Mar 2025, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119510 > > --- Comment #11 from Jakub Jelinek --- > I don't see how we could do the regenera

[Bug c++/119525] ICE when using template alias parameter deduction on alias for std::variant

2025-03-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119525 Richard Biener changed: What|Removed |Added Known to fail||13.3.0, 14.2.0, 15.0 Keyword

[Bug middle-end/119541] [15 Regression] asan: dynamic-stack-buffer-overflow in modify_call_for_omp_dispatch at gimplify.cc:3976

2025-03-31 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119541 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/119369] GCN: weak undefined symbols -> execution test FAIL, 'HSA_STATUS_ERROR_VARIABLE_UNDEFINED'

2025-03-31 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119369 --- Comment #5 from Andrew Stubbs --- A post-linker could be included as part of the mkoffload process (or maybe we could fix up the weak directives in the assembler as part of the pre-assembler step we already have). Either way, there's no mko

[Bug target/119010] [12/13/14/15 Regression] 444.namd shows a huge compile-time regression with -mtune=znver5

2025-03-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119010 --- Comment #20 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:a46430c85611ac7faec9507472b8736b89643659 commit r15-9057-ga46430c85611ac7faec9507472b8736b89643659 Author: Richard Biener Date:

[Bug c++/119303] [12/13/14 Regression] ICE: error reporting routines re-entered. in warning_at (diagnostic-global-context.cc:185)

2025-03-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119303 Marek Polacek changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13/14 Regression] ICE:

[Bug tree-optimization/119532] [avr] ICE: in build_minus_one_cst with _Accum/_Fract types , at tree.cc:2698

2025-03-31 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119532 --- Comment #7 from Georg-Johann Lay --- (In reply to rguent...@suse.de from comment #6) > Is it a regression? You mean whether there is an older version where it did not ICE? Presumably not, at least with v8 it also ICEs, and with v5.4.0 there

[Bug middle-end/119537] assume with statement expression and ("non-local") label

2025-03-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119537 --- Comment #7 from Jakub Jelinek --- --- gcc/gimplify.cc.jj 2025-03-31 12:53:44.853727077 +0200 +++ gcc/gimplify.cc 2025-03-31 17:05:40.854893880 +0200 @@ -4508,6 +4508,21 @@ gimplify_variant_call_expr (tree expr, f } +/* Helper functio

[Bug target/119386] [14/15 Regression][x64] Shared libraries can no longer be compiled with profiling

2025-03-31 Thread matz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119386 --- Comment #52 from Michael Matz --- I'm not a backend maintainer, so I have no real say here. But FWIW I don't see an issue with going via PLT either (if not under -mno-plt effect). I agree that a dependency on -m[no-]direct-extern-access wou

[Bug fortran/118690] [OpenMP] declare_variant - multiple use for same procedure not diagnosed

2025-03-31 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118690 --- Comment #1 from Tobias Burnus --- The following (cf. Bug #113905) is related, invalid but probably not detected: !$omp declare target (f1 : f0) match(context={parallel}) !$omp declare target (f2 : f0) match(context={target}) This violates:

[Bug c/97831] Lack of disable_tail_calls attribute

2025-03-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97831 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/llvm/llv

[Bug d/117002] [13/14/15 Regression] lifetime.d: In function ‘_d_newclassT’: error: size of array element is not a multiple of its alignment with -Warray-bounds and -O2

2025-03-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117002 --- Comment #7 from GCC Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:9fadadbbbc2b5352e5e70e0e1a9be9b447176913 commit r15-9070-g9fadadbbbc2b5352e5e70e0e1a9be9b447176913 Author: Iain Buclaw Date: Sat M

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

2025-03-31 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 117002, which changed state. Bug 117002 Summary: [13/14/15 Regression] lifetime.d: In function ‘_d_newclassT’: error: size of array element is not a multiple of its alignment with -Warray-bounds and -O2 https://gcc.gnu.o

[Bug d/117002] [13/14/15 Regression] lifetime.d: In function ‘_d_newclassT’: error: size of array element is not a multiple of its alignment with -Warray-bounds and -O2

2025-03-31 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117002 Iain Buclaw changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/119550] [15 Regression] cross compilation of libstdc++ fail for arm-none-eabi due to tzname tests since g:778c28c70f85

2025-03-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119550 --- Comment #13 from Jonathan Wakely --- Patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2025-March/679777.html

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

2025-03-31 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119460 anlauf at gcc dot gnu.org changed: What|Removed |Added Attachment #60932|0 |1 is obsolete|

[Bug d/117002] [13/14/15 Regression] lifetime.d: In function ‘_d_newclassT’: error: size of array element is not a multiple of its alignment with -Warray-bounds and -O2

2025-03-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117002 --- Comment #8 from GCC Commits --- The releases/gcc-14 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:a6a2da499ab8b6b9e52cec5bc32bbd48371bb6ba commit r14-11489-ga6a2da499ab8b6b9e52cec5bc32bbd48371bb6ba Author: Iain Buclaw Dat

[Bug middle-end/119537] assume with statement expression and ("non-local") label

2025-03-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119537 --- Comment #6 from Jakub Jelinek --- volatile int v; void *foo (void *); int main () { [[gnu::assume (({ x: ++v; true; }))]]; void *p = foo (&&x); goto *p; } compiles at -O2 but fails to assemble. #c0 compiles at -O2 but not at -O0, per

[Bug tree-optimization/119552] Deduplicate __divmodbitint4 calls for quotient and remainder

2025-03-31 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119552 mcccs at gmx dot com changed: What|Removed |Added Keywords||missed-optimization --- Comment #

[Bug rtl-optimization/119554] New: [risc-v][bug] Unusual Behavior Observed with RISC-V Vector Extension (RVV)

2025-03-31 Thread akhilesh.k at samsung dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119554 Bug ID: 119554 Summary: [risc-v][bug] Unusual Behavior Observed with RISC-V Vector Extension (RVV) Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: n

[Bug c++/83309] Structure elements have O(n^2) compile time slowdown

2025-03-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83309 --- Comment #7 from Jakub Jelinek --- (In reply to Jason Merrill from comment #6) > We could use one of the other lang_type fields for a hash table until the > class is complete, perhaps vcall_indices. Indeed. We'd need to use a union for that

[Bug middle-end/119555] New: [avr] const _Fract: Wrong warning: variable 'f0' set but not used

2025-03-31 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119555 Bug ID: 119555 Summary: [avr] const _Fract: Wrong warning: variable 'f0' set but not used Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug gcov-profile/119553] ICE: SIGSEGV in gcov_position (gcov-io.cc:67) with -fpath-coverage

2025-03-31 Thread j at lambda dot is via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119553 --- Comment #1 from Jørgen Kvalsvik --- Thanks for the report. I think I know what's wrong. When -fpath-coverage (and really -fprofile-arcs, -fcondition-coverage) is used without -ftest-coverage, some file output is not enabled. There is a guard

[Bug gcov-profile/119553] ICE: SIGSEGV in gcov_position (gcov-io.cc:67) with -fpath-coverage

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

[Bug testsuite/118762] FAIL: g++.dg/modules/pr98893_b.C -std=c++2b scan-assembler __tcf_ZL1b:

2025-03-31 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118762 --- Comment #2 from John David Anglin --- Created attachment 60931 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60931&action=edit Assembler output Looks like check should be xfailed on 64-bit hppa-hpux.

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

2025-03-31 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119460 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org --

[Bug c/113905] [OpenMP] Declare variant rejects variant-function re-usage

2025-03-31 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113905 --- Comment #6 from Tobias Burnus --- See also bug #118690 for some Fortran issues related to declare variant diagnostic.

[Bug c/97831] Lack of disable_tail_calls attribute

2025-03-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97831 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org E

[Bug tree-optimization/66826] tail call to dlsym in constructor results in a segfault due to dlsym needing to know which shared library it is called from

2025-03-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66826 Andrew Pinski changed: What|Removed |Added Depends on||97831 --- Comment #8 from Andrew Pinski

[Bug c/97831] Lack of disable_tail_calls attribute

2025-03-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97831 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > I think this was rejected 3 years ago: > https://gcc.gnu.org/legacy-ml/gcc-patches/2017-05/msg02221.html Note clang's not_tail_called does NOT apply to the funct

[Bug gcov-profile/119553] ICE: SIGSEGV in gcov_position (gcov-io.cc:67) with -fpath-coverage

2025-03-31 Thread j at lambda dot is via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119553 --- Comment #3 from Jørgen Kvalsvik --- Created attachment 60933 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60933&action=edit Proof of concept fix I could reproduce it on my system, and this patch fixed the crash.

[Bug d/117002] [13/14/15 Regression] lifetime.d: In function ‘_d_newclassT’: error: size of array element is not a multiple of its alignment with -Warray-bounds and -O2

2025-03-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117002 --- Comment #9 from GCC Commits --- The releases/gcc-13 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:bfc9520eab16379aa47121d336bfd4d38c6d040a commit r13-9480-gbfc9520eab16379aa47121d336bfd4d38c6d040a Author: Iain Buclaw Date

[Bug libstdc++/108487] [12/13/14 Regression] ~20-30x slowdown in populating std::vector from std::ranges::iota_view

2025-03-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108487 --- Comment #16 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5a830c6cd54d376ee23043381c6ed761559e1e08 commit r14-11483-g5a830c6cd54d376ee23043381c6ed761559e1e08 Author: Jonathan Wa

[Bug target/119549] [14/15 Regression] SSE4 code inlined into no-sse4 function

2025-03-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119549 Richard Biener changed: What|Removed |Added Target||x86_64-*-* Target Milestone|---

[Bug target/116809] Failure to build GCC on macOS 15 / Xcode 16 for Intel

2025-03-31 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116809 --- Comment #32 from Iain Sandoe --- I am being asked (by build systems folks) to make it possible to build back to 10.13 with the current [XC 16] SDKs (which are supposed to support that - but do not include these symbols). This seems a reason

[Bug libstdc++/119550] New: cross compilation of libstdc++ fail for arm-none-eabi due to tzname tests

2025-03-31 Thread Alexandre.BUSTICO at enac dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119550 Bug ID: 119550 Summary: cross compilation of libstdc++ fail for arm-none-eabi due to tzname tests Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: norm

[Bug libstdc++/119550] cross compilation of libstdc++ fail for arm-none-eabi due to tzname tests

2025-03-31 Thread Alexandre.BUSTICO at enac dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119550 --- Comment #3 from Alexandre Bustico --- I use to build arm-none-eabi snapshot twice a month with crosstool-ng. Since this patch, build fail, and if I revert this patch, build is ok. I have join crosstool-ng config. I can send generated file fr

[Bug c++/119401] [15 regression] ICE when lambda is used as template argument in member function parameter type since r15-7202

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

[Bug libstdc++/119550] cross compilation of libstdc++ fail for arm-none-eabi due to tzname tests

2025-03-31 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119550 --- Comment #4 from Richard Earnshaw --- At some point crosstool will run GCC's 'configure' script. What I need to see is the options it passes to that command. Sorry, I've never used crosstool, so I can't help with that. It is possible that

[Bug tree-optimization/119493] [12/13/14/15 Regression] missing tail call to self with struct in some cases

2025-03-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119493 --- Comment #16 from Jakub Jelinek --- Unfortunately it is not enough and I'm not sure where else to handle it. The problem is that even with the lhs being disqualified, SRA decides to put code to extract elements from that lhs and later on put

[Bug c++/119548] New: ICE: tree check: accessed elt 2 of 'tree_vec' with 1 elts in tsubst_pack_expansion when accessing uninstantiated decltype(lambda template return) type, inside other lambda templ

2025-03-31 Thread frederik.hofe at pm dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119548 Bug ID: 119548 Summary: ICE: tree check: accessed elt 2 of 'tree_vec' with 1 elts in tsubst_pack_expansion when accessing uninstantiated decltype(lambda template return) type,

[Bug tree-optimization/119493] [12/13/14/15 Regression] missing tail call to self with struct in some cases

2025-03-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119493 --- Comment #13 from Jakub Jelinek --- Created attachment 60927 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60927&action=edit gcc15-pr119493.patch Untested patch to handle copying of non-gimple_reg_type arguments for tail recursion.

[Bug libstdc++/119517] formatter for chrono types are underconstrained

2025-03-31 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119517 Tomasz Kamiński changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/119495] 8% slowdown of 436.cactusADM on AMD Zen2 since r15-7895-gb191e8bdecf881

2025-03-31 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119495 --- Comment #2 from Richard Sandiford --- (In reply to Filip Kastl from comment #0) > So my understanding is that this slowdown isn't really that important. > However, it seemed reasonable to at least notify Richard Sandiford about > this in ca

[Bug target/119549] New: [14/15 Regression] SSE4 code inlined into no-sse4 function

2025-03-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119549 Bug ID: 119549 Summary: [14/15 Regression] SSE4 code inlined into no-sse4 function Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Pr

[Bug libstdc++/119545] tuple::operator==()'s help lambda does not specify return type as bool

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

[Bug libstdc++/108236] std::exclusive_scan with execution policy does not work in-place

2025-03-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108236 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/119429] size_t __nargs = -1 in std::format

2025-03-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119429 Jonathan Wakely changed: What|Removed |Added Target Milestone|14.3|13.4

[Bug libstdc++/108236] std::exclusive_scan with execution policy does not work in-place

2025-03-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108236 --- Comment #12 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:081989e519b2fa80a36d852af43cdda63b2e1a16 commit r13-9471-g081989e519b2fa80a36d852af43cdda63b2e1a16 Author: Jonathan Wak

[Bug libstdc++/118158] std::filesystem::equivalent unsupported on socket files

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

[Bug libstdc++/118035] [12 Regression] deque bug when inserting an empty iterator interval

2025-03-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118035 Jonathan Wakely changed: What|Removed |Added Summary|[12/13 Regression] |[12 Regression] |de

[Bug tree-optimization/119493] [12/13/14/15 Regression] missing tail call to self with struct in some cases

2025-03-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119493 --- Comment #14 from Jakub Jelinek --- Another thing I've just noticed: [[gnu::noipa]] int bar (int x, int y) { return x + y; } [[gnu::noinline, gnu::noclone]] int foo (int x, int y) { if (x < 10) [[gnu::musttail]] return bar (x, y);

[Bug libstdc++/90389] std::deque::emplace tries to call wrong overload internally

2025-03-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90389 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |13.4 Status|ASSIGNED

[Bug tree-optimization/119532] [avr] ICE: in build_minus_one_cst with _Accum/_Fract types , at tree.cc:2698

2025-03-31 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119532 --- Comment #6 from rguenther at suse dot de --- On Mon, 31 Mar 2025, gjl at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119532 > > --- Comment #5 from Georg-Johann Lay --- > It also occurs for current v13 and v14 at

[Bug target/119474] GCN 'libgomp.oacc-c++/pr96835-1.C' ICE 'during GIMPLE pass: ivopts'

2025-03-31 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119474 --- Comment #10 from rguenther at suse dot de --- On Mon, 31 Mar 2025, ams at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119474 > > --- Comment #9 from Andrew Stubbs --- > This patch fixes the -O1 failure, for *this

[Bug tree-optimization/119493] [12/13/14/15 Regression] missing tail call to self with struct in some cases

2025-03-31 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119493 --- Comment #15 from Martin Jambor --- (In reply to Jakub Jelinek from comment #12) > For musttail, perhaps SRA could avoid changing the path from musttail call > return to the return stmt. > I've tried > --- gcc/tree-sra.cc.jj2025-01-02

[Bug libstdc++/119550] cross compilation of libstdc++ fail for arm-none-eabi due to tzname tests

2025-03-31 Thread Alexandre.BUSTICO at enac dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119550 --- Comment #2 from Alexandre Bustico --- Created attachment 60928 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60928&action=edit crosstool-ng config to build g++15-devel

[Bug libstdc++/119550] cross compilation of libstdc++ fail for arm-none-eabi due to tzname tests since g:778c28c70f85

2025-03-31 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119550 Christophe Lyon changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #

[Bug libstdc++/119550] cross compilation of libstdc++ fail for arm-none-eabi due to tzname tests since g:778c28c70f85

2025-03-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119550 --- Comment #7 from Jonathan Wakely --- I wonder if the problem is that newlib only defined tm.tm_zone conditionally: struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday

[Bug libstdc++/119550] cross compilation of libstdc++ fail for arm-none-eabi due to tzname tests since g:778c28c70f85

2025-03-31 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119550 --- Comment #6 from Andreas Schwab --- AC_STRUCT_TIMEZONE is trying to do a link check (for the tzname global) if struct tm has no tm_zone, thus the problem only occurs for certain non-linux targets. Since chrono implementation only supports tm

[Bug libstdc++/119550] cross compilation of libstdc++ fail for arm-none-eabi due to tzname tests since g:778c28c70f85

2025-03-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119550 --- Comment #8 from Jonathan Wakely --- Which is a longwinded version of what Andreas just said :)

[Bug libstdc++/119550] [15 Regression] cross compilation of libstdc++ fail for arm-none-eabi due to tzname tests since g:778c28c70f85

2025-03-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119550 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |15.0 Assignee|unassigned at

[Bug c++/119551] New: [modules] ICE when reading inline var referencing TU-local entity

2025-03-31 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119551 Bug ID: 119551 Summary: [modules] ICE when reading inline var referencing TU-local entity Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/119401] [15 regression] ICE when lambda is used as template argument in member function parameter type since r15-7202

2025-03-31 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119401 --- Comment #9 from Patrick Palka --- (In reply to Jason Merrill from comment #8) > (In reply to Patrick Palka from comment #6) > > We could detect if there was an intervening redeclaration by comparing the > > source location of the specializat

[Bug target/119539] [15 Regression] FAIL: gcc.target/i386/apx-nf.c scan-assembler-times {nf} rol 4

2025-03-31 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119539 --- Comment #3 from Uroš Bizjak --- Comment on attachment 60925 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60925 Untested fix >+;; Avoid useless masking of count operand. >+(define_insn_and_split "*3_mask_nf" >+ [(set (match_operand

[Bug libstdc++/119545] tuple::operator==()'s help lambda does not specify return type as bool

2025-03-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119545 --- Comment #2 from Jonathan Wakely --- Or like so: --- a/libstdc++-v3/include/std/tuple +++ b/libstdc++-v3/include/std/tuple @@ -2534,7 +2534,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { return [&](index_sequence<_Inds...>) { //

[Bug target/119010] [12/13/14/15 Regression] zn4zn5.md automaton lacks a lot of reservations

2025-03-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119010 Richard Biener changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13/14/15 Regression]

[Bug middle-end/119442] [14/15 Regression] Regression in creating SVE predicate

2025-03-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119442 --- Comment #3 from GCC Commits --- The master branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:70391e3958db791edea4e877636592de47a785e7 commit r15-9062-g70391e3958db791edea4e877636592de47a785e7 Author: Kyrylo Tkachov Date:

[Bug c++/119548] ICE: tree check: accessed elt 2 of 'tree_vec' with 1 elts in tsubst_pack_expansion when accessing uninstantiated decltype(lambda template return) type, inside other lambda template

2025-03-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119548 Marek Polacek changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/83309] Structure elements have O(n^2) compile time slowdown

2025-03-31 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83309 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #6

[Bug libstdc++/119545] tuple::operator==()'s help lambda does not specify return type as bool

2025-03-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119545 --- Comment #3 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:b9adf3a4c8112df1d74440157f578a8344ebe166 commit r15-9069-gb9adf3a4c8112df1d74440157f578a8344ebe166 Author: Jonathan Wakely Date:

[Bug libstdc++/119545] tuple::operator==()'s help lambda does not specify return type as bool

2025-03-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119545 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |13.4

<    1   2   3   >