[Bug c++/117175] Internal compiler error in gimple_add_tmp_var, at gimplify.cc:802

2025-02-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117175 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 CC|

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

2025-02-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 102455, which changed state. Bug 102455 Summary: ICE in verify_ctor_sanity with vector types in constexpr and variable template https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102455 What|Removed

[Bug c++/115773] gcc crashed with an init-capture which introduces a pack inside another lambda

2025-02-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115773 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/118910] Promote an expression equivalence to a name equivalence in DOM

2025-02-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118910 Sam James changed: What|Removed |Added Last reconfirmed||2025-02-17 See Also|

[Bug c++/116568] [modules] ICE when exporting template using of unevaluated lambda in key_mergeable

2025-02-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116568 Marek Polacek changed: What|Removed |Added Last reconfirmed||2025-02-17 Status|UNCONFIRM

[Bug c++/102455] ICE in verify_ctor_sanity with vector types in constexpr and variable template

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

[Bug target/116078] [15 Regression] 10-12% slowdown of 436.cactusADM on AMD Zen2 since r15-2187-g838999bb23303e

2025-02-17 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116078 --- Comment #8 from Filip Kastl --- Hmm, reverting the commit in question on the current trunk to see if it still causes a slowdown doesn't work.

[Bug c++/107399] [c++ modules] ICE in cpp_maybe_module_directive, at libcpp/lex.cc:3454

2025-02-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107399 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Ever co

[Bug c++/107623] Using a parameter pack twice results in ambiguous overloaded function.

2025-02-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107623 Marek Polacek changed: What|Removed |Added Last reconfirmed||2025-02-17 Ever confirmed|0

[Bug c++/102047] ICE in template_parms_to_args passing lambda-quoted constraint to meta-concept

2025-02-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102047 Marek Polacek changed: What|Removed |Added Last reconfirmed||2025-02-17 Ever confirmed|0

[Bug c++/96570] Warnings desired for time_t to int coversions

2025-02-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96570 --- Comment #14 from Andrew Pinski --- *** Bug 118326 has been marked as a duplicate of this bug. ***

[Bug c/118326] time_t conversion warnings wanted

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

[Bug c/118326] time_t conversion warnings wanted

2025-02-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118326 --- Comment #4 from Andrew Pinski --- (In reply to Xi Ruoyao from comment #3) > The OP wants a warning from int to time_t, not from time_t to int. > > Thus not a dup. The warning should be both ways, otherwise it is not very useful ...

[Bug tree-optimization/118910] New: Promote an expression equivalence to a name equivalence in DOM

2025-02-17 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118910 Bug ID: 118910 Summary: Promote an expression equivalence to a name equivalence in DOM Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/117270] [15 Regression] 9% exec time slowdown of 538.imagick_r on aarch64

2025-02-17 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117270 --- Comment #6 from Filip Kastl --- Are you sure this is fixed? On our machine the slowdown didn't go away. See the graph https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=585.507.0. Maybe the weird codegen wasn't the cause of the slow

[Bug c++/102455] ICE in verify_ctor_sanity with vector types in constexpr and variable template

2025-02-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102455 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:1787119229abca0c78f9c902eeb7c88efed37ce0 commit r15-7592-g1787119229abca0c78f9c902eeb7c88efed37ce0 Author: Marek Polacek Date: Mo

[Bug c++/118905] [15 regression] g++.dg/asan/pr118763.C fails since r15-7532-ge96e1bb69c7b46

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

[Bug fortran/86679] invalid code involving TARGET attribute is not rejected

2025-02-17 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86679 Thomas Koenig changed: What|Removed |Added Last reconfirmed|2018-07-27 00:00:00 |2025-2-17 CC|

[Bug tree-optimization/118902] missing predicated VN due to Canonical order of comparison with invariant

2025-02-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118902 --- Comment #3 from Richard Biener --- (In reply to Richard Biener from comment #2) > I wonder why GIMPLE tree_swap_operands_p doesn't swap? Isn't an invariant > ADDR_EXPR TREE_CONSTANT according to recompute_tree_invariant_for_addr_expr? > Tha

[Bug middle-end/118889] attribute "common" ignored with -fdata-sections

2025-02-17 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118889 --- Comment #4 from Georg-Johann Lay --- (In reply to rguent...@suse.de from comment #3) > On Mon, 17 Feb 2025, gjl at gcc dot gnu.org wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118889 > > --- Comment #2 from Georg-Johann Lay --- >

[Bug fortran/84386] Implicitly declared variables in BLOCK have scope of including program unit

2025-02-17 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84386 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment #

[Bug middle-end/118889] attribute "common" ignored with -fdata-sections

2025-02-17 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118889 --- Comment #3 from rguenther at suse dot de --- On Mon, 17 Feb 2025, gjl at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118889 > > --- Comment #2 from Georg-Johann Lay --- > (In reply to Richard Biener from comment

[Bug tree-optimization/118895] [15 regression] ICE: during GIMPLE pass: pre

2025-02-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118895 --- Comment #4 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:dfd0ced98fcf62c4d24979b74c1d52334ff62bfc commit r15-7589-gdfd0ced98fcf62c4d24979b74c1d52334ff62bfc Author: Richard Biener Date:

[Bug c++/118908] New: c++ include defines uintptr_t *sometimes*

2025-02-17 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118908 Bug ID: 118908 Summary: c++ include defines uintptr_t *sometimes* Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/66182] Unneeded temporary for elemental functions of function results

2025-02-17 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66182 Thomas Koenig changed: What|Removed |Added Last reconfirmed|2015-08-30 00:00:00 |2025-2-17 --- Comment #3 from Thomas Koe

[Bug c++/118905] [15 regression] g++.dg/asan/pr118763.C fails since r15-7532-ge96e1bb69c7b46

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

[Bug fortran/58786] module function with passed character array of explicit length causes an ICE

2025-02-17 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58786 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org Known to

[Bug middle-end/118889] attribute "common" ignored with -fdata-sections

2025-02-17 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118889 --- Comment #5 from Georg-Johann Lay --- ...the respective part of varasm.cc reads: get_variable_section (tree decl, bool prefer_noswitch_p) { ... if (ADDR_SPACE_GENERIC_P (as) && !DECL_THREAD_LOCAL_P (decl) && !DECL_NOINIT_P (

[Bug c++/96570] Warnings desired for time_t to int coversions

2025-02-17 Thread gccbmw at lsmod dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96570 --- Comment #12 from Bernhard M. Wiedemann --- @Xi: that is a cast from time_t to int, but I want a warning for conversion from int to time_t And IMHO we don't have to force warnings for explicit casts.

[Bug c++/99800] ICE Segmentation fault when put lambda in template parameter list

2025-02-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99800 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug target/118888] GCC only optimize 1 bits-manipulation function out of many despite having the same implementations; not using BTS

2025-02-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 Andrew Pinski changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #

[Bug ipa/118907] ICF optimises bit selection differently based on declaration order

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

[Bug tree-optimization/87332] [meta-bug] Issues related to Identical Code Folding (ICF) and Tail Merging (-ftree-tail-merge)

2025-02-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87332 Bug 87332 depends on bug 118907, which changed state. Bug 118907 Summary: ICF optimises bit selection differently based on declaration order https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118907 What|Removed |Add

[Bug c++/86959] Use of a variadic alias template unexpectedly breaks compilation

2025-02-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86959 Marek Polacek changed: What|Removed |Added Last reconfirmed||2025-02-17 CC|

[Bug target/118764] [avr] Add support for Compact Vector Table

2025-02-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118764 --- Comment #5 from GCC Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:230678c19cb5e2f8a4855b9790794042fc6ad068 commit r15-7588-g230678c19cb5e2f8a4855b9790794042fc6ad068 Author: Georg-Johann Lay Dat

[Bug libgomp/118909] New: OpenMP reduction array is always allocated on stack, cause stack overflow with large array reduction.

2025-02-17 Thread z00823823 at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118909 Bug ID: 118909 Summary: OpenMP reduction array is always allocated on stack, cause stack overflow with large array reduction. Product: gcc Version: 14.2.1 Status: UNCONF

[Bug libstdc++/118908] c++ include defines uintptr_t *sometimes*

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

[Bug c++/115695] spurious warning for -Wsign-compare with c++

2025-02-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115695 Marek Polacek changed: What|Removed |Added Last reconfirmed||2025-02-17 Status|UNCONFIRM

[Bug libgomp/118909] OpenMP reduction array is always allocated on stack, cause stack overflow with large array reduction.

2025-02-17 Thread z00823823 at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118909 --- Comment #1 from LXYan --- output with address sanitizer: ``` …… test: 0x7f61e971f800 frame address: 0x7f61f8700dd0 test: 0x7f61f7f04820 frame address: 0x7ffdff0f7020 test: 0x7ffdfe8faa60 Allocated 1046695 doubles test: 0x7f61f4709800 Addr

[Bug lto/118125] [15 Regression] 7-16% slowdown of 510.parest_r on x86-64(-v3) since r15-6110-g92e0e0f8177530

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

[Bug lto/118858] Missing builtin attributes handling for DEF_ATTR_IDENT with LTO

2025-02-17 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118858 Bug 118858 depends on bug 118125, which changed state. Bug 118125 Summary: [15 Regression] 7-16% slowdown of 510.parest_r on x86-64(-v3) since r15-6110-g92e0e0f8177530 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118125 What|Remo

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2025-02-17 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 118125, which changed state. Bug 118125 Summary: [15 Regression] 7-16% slowdown of 510.parest_r on x86-64(-v3) since r15-6110-g92e0e0f8177530 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118125 What|Remove

[Bug fortran/84386] Implicitly declared variables in BLOCK have scope of including program unit

2025-02-17 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84386 --- Comment #3 from kargls at comcast dot net --- (In reply to Thomas Koenig from comment #2) > This is fixed, already in 13.3.0. > > Commit a test case and close? Or is this already covered in the > testsuite? The test still fails for me with

[Bug libstdc++/118908] c++ include defines uintptr_t *sometimes*

2025-02-17 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118908 --- Comment #2 from Bernd Edlinger --- (In reply to Richard Biener from comment #1) > I'd say it's a feature, not a bug? Yeah, kind of, just why does the outcome depend on those completely unrelated compiler options? Is this "feature" somehow b

[Bug tree-optimization/118895] [15 regression] ICE: during GIMPLE pass: pre

2025-02-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118895 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug rtl-optimization/118611] LRA inserts unneeded reload on FMA chain

2025-02-17 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118611 --- Comment #9 from Richard Sandiford --- (In reply to Vladimir Makarov from comment #7) > Unfortunately, although the patch solves the problem but it adds 2 x86-64 > failures of tests expecting smaller number of moves. It also adds 2 > failure

[Bug target/117978] Optimise 128-bit-predicated SVE loads to Advanced SIMD LDRs

2025-02-17 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117978 --- Comment #4 from ktkachov at gcc dot gnu.org --- (In reply to Richard Sandiford from comment #3) > I think this would be better done in expand rather than gimple. The gimple > representation would be a vector load in a 128-bit type, followed

[Bug tree-optimization/118896] The fortran compiler is unable to devirtualize typebound indirect calls

2025-02-17 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118896 Thomas Koenig changed: What|Removed |Added Severity|normal |enhancement CC|

[Bug fortran/58786] module function with passed character array of explicit length causes an ICE

2025-02-17 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58786 --- Comment #7 from anlauf at gcc dot gnu.org --- (In reply to Thomas Koenig from comment #6) > No longer ICEs, the fix seems to have been more recent, > 13.3.0 still ICEs. The occurence of LEN_TRIM suggests to look at Paul's fix: r15-2072-g9f966

[Bug tree-optimization/106103] [12/13/14/15 regression] ICE in binds_to_current_def_p when source object files are compiled with -flto -Os

2025-02-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106103 Sam James changed: What|Removed |Added Keywords||needs-bisection Summary|ICE in

[Bug c++/117785] [C++26] P3068R5 - constexpr exceptions

2025-02-17 Thread hanicka at hanicka dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117785 Hana Dusíková changed: What|Removed |Added CC||hanicka at hanicka dot net --- Comment

[Bug c++/102455] ICE in verify_ctor_sanity with vector types in constexpr and variable template

2025-02-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102455 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c++/96364] ICE on valid code in cp_finish_decl with auto return type and double attributes

2025-02-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96364 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:5954c5a7c23fbdf3afc011d703c9fce15db04cbd commit r15-7590-g5954c5a7c23fbdf3afc011d703c9fce15db04cbd Author: Marek Polacek Date: Mon

[Bug fortran/84386] Implicitly declared variables in BLOCK have scope of including program unit

2025-02-17 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84386 --- Comment #4 from Thomas Koenig --- (In reply to kargls from comment #3) > Perhaps, you have a local change in your git repository. I just compiled the wrong test case, that's all :-)

[Bug c++/118763] [12/13 regression] memory leak involving early return from statement expressions since r12-6325

2025-02-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118763 --- Comment #10 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:720c8f685210af9fc9c31810e224751102f1481e commit r15-7591-g720c8f685210af9fc9c31810e224751102f1481e Author: Jason Merrill Date: S

[Bug c++/118856] [15 Regression] ICE in gimplify_var_or_parm_decl at gimplify.cc:3346 on mesonlsp-4.3.7 since r15-7481

2025-02-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118856 --- Comment #13 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:720c8f685210af9fc9c31810e224751102f1481e commit r15-7591-g720c8f685210af9fc9c31810e224751102f1481e Author: Jason Merrill Date: S

[Bug c++/96364] ICE on valid code in cp_finish_decl with auto return type and double attributes

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

[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-02-17 Thread marcus at mc dot pp.se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118891 --- Comment #14 from marcus at mc dot pp.se --- Thanks. Running tests now, will get back when the results are in. :-)

[Bug ipa/118907] ICF optimises bit selection differently based on declaration order

2025-02-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118907 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/115695] spurious warning for -Wsign-compare with c++

2025-02-17 Thread mtasaka at fedoraproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115695 Mamoru TASAKA changed: What|Removed |Added Version|14.1.1 |15.0 --- Comment #3 from Mamoru TASAKA

[Bug libstdc++/118908] c++ include defines uintptr_t *sometimes*

2025-02-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118908 Richard Biener changed: What|Removed |Added Component|c++ |libstdc++ --- Comment #1 from Richard

[Bug libstdc++/118908] c++ include defines uintptr_t *sometimes*

2025-02-17 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118908 --- Comment #4 from Xi Ruoyao --- The standard library has no obligation to make it "predictable" except it must be available with #include .

[Bug c++/96570] Warnings desired for time_t to int coversions

2025-02-17 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96570 --- Comment #13 from Xi Ruoyao --- (In reply to Bernhard M. Wiedemann from comment #12) > @Xi: that is a cast from time_t to int, but I want a warning for conversion > from int to time_t > > And IMHO we don't have to force warnings for explicit

[Bug c/118326] time_t conversion warnings wanted

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

[Bug c++/114997] [11/12 Only] ICE: unexpected expression ‘static_cast('\"')’ of kind static_cast_expr

2025-02-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114997 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug ipa/118318] [15 regression] ICE when building firefox-134.0 with PGO and LTO

2025-02-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118318 --- Comment #11 from Sam James --- I'm not sure what to do next. I can write up instructions for reproducing it manually w/ a full Firefox build, but that doesn't help much. I know I need to identify some training input but FF is itself huge an

[Bug target/118916] AARCH64: rtl-cse2 Option in O3 Level Optimization Ignores "volatile", Causing 'Invalid Instruction Syndrome'

2025-02-17 Thread changyp6 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118916 Tomas Chang changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug rtl-optimization/117081] [15 Regression] FAIL: gcc.target/i386/pr91384.c since r15-1619-g3b9b8d6cfdf593

2025-02-17 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117081 --- Comment #20 from Hongtao Liu --- > > W/o more usage of callee-saved registers, callee needs to restore them > before exit which is not needed if more caller-saved register are used. W/ https://gcc.gnu.org/pipermail/gcc-patches/2025-Februa

[Bug target/118916] AARCH64: rtl-cse2 Option in O3 Level Optimization Ignores "volatile", Causing 'Invalid Instruction Syndrome'

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

[Bug target/118916] AARCH64: rtl-cse2 Option in O3 Level Optimization Ignores "volatile", Causing 'Invalid Instruction Syndrome'

2025-02-17 Thread changyp6 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118916 --- Comment #2 from Tomas Chang --- (In reply to Andrew Pinski from comment #1) > There is no ignoring volatile here since the exact memory locations are > written. > > Rather you have a memory location which needs to be written using an exact

[Bug tree-optimization/118915] [12/13/14/15 Regression] Miscompile at -O2

2025-02-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118915 --- Comment #3 from Andrew Pinski --- I am kinda of shock that smtgcc didn't find this earlier.

[Bug rtl-optimization/117081] [15 Regression] FAIL: gcc.target/i386/pr91384.c since r15-1619-g3b9b8d6cfdf593

2025-02-17 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117081 --- Comment #19 from Hongtao Liu --- (In reply to H.J. Lu from comment #18) > (In reply to Haochen Jiang from comment #17) > > > > For reproduce, not only on ADL, the fix patch showed regression on all > > Cascade Lake/Ice Lake/Sapphire Rapids w

[Bug target/118916] AARCH64: rtl-cse2 Option in O3 Level Optimization Ignores "volatile", Causing 'Invalid Instruction Syndrome'

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

[Bug target/118901] RISC-V: bfloat16-complex.c:(.text.startup+0x5f6): undefined reference to `__divbc3' when zfh or zvfh

2025-02-17 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118901 --- Comment #2 from Jeffrey A. Law --- Should we declare this a duplicate or do you want to keep them separate Andrew?

[Bug target/118916] AARCH64: rtl-cse2 Option in O3 Level Optimization Ignores "volatile", Causing 'Invalid Instruction Syndrome'

2025-02-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118916 --- Comment #3 from Andrew Pinski --- str w1, [x2] str wzr, [x2], -4 .L6: ldr w1, [x2] is correct as the gimple code is: MEM[(volatile unsigned int *)1099193386136B] ={v} 1; MEM[(volatile unsigned int *)

[Bug target/118540] RISC-V: ICE for unsupported target attribute

2025-02-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118540 --- Comment #2 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:17b95cfc310c0b3ef191cd47ceb3b4ee1205e8bf commit r15-7600-g17b95cfc310c0b3ef191cd47ceb3b4ee1205e8bf Author: Pan Li Date: Sat Feb 15 14:3

[Bug target/118916] AARCH64: rtl-cse2 Option in O3 Level Optimization Ignores "volatile", Causing 'Invalid Instruction Syndrome'

2025-02-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118916 --- Comment #4 from Andrew Pinski --- (In reply to Tomas Chang from comment #2) > > My question is that the same code runs successfully if it is compiled with > GCC 12 using -O3 optimization. Because it just happened to work ...

[Bug ipa/118318] [15 regression] ICE when building firefox-134.0 with PGO and LTO

2025-02-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118318 Sam James changed: What|Removed |Added Target Milestone|--- |15.0 Summary|ICE when building

[Bug ipa/118318] [15 regression] ICE when building firefox-134.0 with PGO and LTO

2025-02-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118318 --- Comment #8 from Sam James --- ``` (gdb) bt #0 profile_count::operator+= (this=0x76e7e888, other=...) at /usr/src/debug/sys-devel/gcc-15.0./gcc-15.0./gcc/profile-count.h:932 #1 profile_count::operator+= (this=0x76e7e888, oth

[Bug ipa/118318] [15 regression] ICE when building firefox-134.0 with PGO and LTO

2025-02-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118318 --- Comment #9 from Sam James --- Ah, nicer output: ``` (gdb) p orig_node->debug() reset_ctx/108 (reset_ctx) Type: function definition analyzed Visibility: semantic_interposition prevailing_def_ironly Aux: @0x58ac1440 References: R

[Bug ipa/118318] [15 regression] ICE when building firefox-134.0 with PGO and LTO

2025-02-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118318 --- Comment #10 from Sam James --- (In reply to Sam James from comment #9) tx.gcda: 0100: 12:FUNCTION ident=1901877736, lineno_checksum=0xb50ca648, cfg_checksum=0x0166fe38 tx.gcda:01a1: 104:COUNTERS arcs 13 counts tx.gcda:

[Bug ipa/118318] [15 regression] ICE when building firefox-134.0 with PGO and LTO

2025-02-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118318 --- Comment #12 from Sam James --- (In reply to Sam James from comment #11) > I'm not sure what to do next. I can write up instructions for reproducing it > manually w/ a full Firefox build, but that doesn't help much. > > I know I need to iden

[Bug c/118916] New: AARCH64: rtl-cse2 Option in O3 Level Optimization Ignores "volatile", Causing 'Invalid Instruction Syndrome'

2025-02-17 Thread changyp6 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118916 Bug ID: 118916 Summary: AARCH64: rtl-cse2 Option in O3 Level Optimization Ignores "volatile", Causing 'Invalid Instruction Syndrome' Product: gcc Version: 14.2.1

[Bug tree-optimization/118464] [15 Regression] gcc-15.0.0_pre20250112 ICE with opencv-4.10.0 using -O2/-ftree-loop-vectorize: memory_descriptor_ref.cpp:94:19: internal compiler error: in exact_div, at

2025-02-17 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118464 --- Comment #14 from Tamar Christina --- Still being worked on, I'll send v3 of the patch today or tomorrow.

[Bug middle-end/118691] [15 Regression] gcc_r in SPECCPU 2017 miscompare on train dataset

2025-02-17 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118691 Tamar Christina changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/98845] [12/13/14/15 Regression] ICE: SSA corruption (Unable to coalesce ssa_names 2 and 23 which are marked as MUST COALESCE.) since r6-528-g465770e43996a132

2025-02-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98845 --- Comment #17 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:6b8a8c9fd68c5dabaec5ddbc25efeade44f37a14 commit r15-7602-g6b8a8c9fd68c5dabaec5ddbc25efeade44f37a14 Author: Richard Biener Date:

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2025-02-17 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 118691, which changed state. Bug 118691 Summary: [15 Regression] gcc_r in SPECCPU 2017 miscompare on train dataset https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118691 What|Removed |Adde

[Bug libgomp/118909] OpenMP reduction array is always allocated on stack, cause stack overflow with large array reduction.

2025-02-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118909 --- Comment #2 from Jakub Jelinek --- User error. Either you need to use larger stack if you want to do something like this, or use allocate clause and specify an allocator. The normal way of privatization is on the stack.

[Bug fortran/107659] C procedure with no global scope is seen as global

2025-02-17 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107659 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org Ke

[Bug target/116901] [15 Regression] pr110625_4.c fails on aarch64 since r15-3794-g2c04f175de4f39

2025-02-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116901 --- Comment #2 from Andrew Pinski --- FAIL: gcc.target/aarch64/pr110625_2.c scan-tree-dump vect "reduction latency = 8" FAIL: gcc.target/aarch64/pr110625_4.c scan-tree-dump-not vect "LOOP VECTORIZED"

[Bug c/118542] Split -Wexpansion-to-defined for function vs. object like macros

2025-02-17 Thread hstong at ca dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118542 Hubert Tong changed: What|Removed |Added CC||hstong at ca dot ibm.com --- Comment #5 f

[Bug target/118911] [15 Regression] bitfield-bitint-abi-align{8,16}.c fails on aarch64-linux-gnu since r15-268

2025-02-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118911 --- Comment #1 from Andrew Pinski --- Created attachment 60519 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60519&action=edit Simplified testcase

[Bug target/118911] [15 Regression] bitfield-bitint-abi-align{8,16}.c fails on aarch64-linux-gnu since r15-268

2025-02-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118911 --- Comment #2 from Andrew Pinski --- We are expecting: g1: mov x2, x0 mov x3, 0 and x4, x2, 9223372036854775807 mov w0, w1 and x2, x2, 1 b f1 But currently getting: g1:

[Bug target/118911] [15 Regression] bitfield-bitint-abi-align{8,16}.c fails on aarch64-linux-gnu since r15-268

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

[Bug tree-optimization/118805] [15 Regression] wrong code at -O1 with "-fno-tree-ccp -fno-tree-copy-prop -fno-tree-forwprop -fno-tree-fre" on x86_64-linux-gnu since r15-6173

2025-02-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118805 --- Comment #6 from GCC Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:3768bedf7b5fcdd63a18871ecfce665ae1b8d87e commit r15-7597-g3768bedf7b5fcdd63a18871ecfce665ae1b8d87e Author: Alexandre Oliva Date:

[Bug fortran/58786] module function with passed character array of explicit length causes an ICE

2025-02-17 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58786 anlauf at gcc dot gnu.org changed: What|Removed |Added Known to work||12.4.1, 13.3.1, 14.2.1

[Bug fortran/84868] [12/13/14 Regression] ICE in gfc_conv_descriptor_offset, at fortran/trans-array.c:208

2025-02-17 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84868 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||stefan.mauerberger at gmail d

[Bug fortran/58787] ICE (error recovery) in check_proc_interface

2025-02-17 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58787 Bug 58787 depends on bug 58786, which changed state. Bug 58786 Summary: module function with passed character array of explicit length causes an ICE https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58786 What|Removed

[Bug c++/118903] constexpr variables with co_await expression in its initialization expression

2025-02-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118903 --- Comment #1 from Andrew Pinski --- Dop you have a full example because the code snipit here definitely is rejected.

[Bug c++/118903] constexpr variables with co_await expression in its initialization expression

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

  1   2   >