[Bug c/119185] Feature: quasi object programming by retrieving base object of indirect C calls

2025-03-10 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119185 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #3 fr

[Bug c++/119191] Add fix-it for missing argument list in operator()

2025-03-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119191 --- Comment #3 from Jonathan Wakely --- The 'operator(int)' case is interesting because it could be a typo for several other operators, operator+(int) or operator++(int) or operator[](int). Personally, I know that I forget the double parens for

[Bug target/115439] [15 Regression] ICEs after r15-638 on master-thumb_m55_hard_eabi

2025-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115439 --- Comment #9 from GCC Commits --- The trunk branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:e187ed927ae52df7998376d6ccfdd2181fc8f774 commit r15-7926-ge187ed927ae52df7998376d6ccfdd2181fc8f774 Author: Christophe Lyon Date:

[Bug libstdc++/119135] Typo in as_const range adaptor

2025-03-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119135 Patrick Palka changed: What|Removed |Added Target Milestone|--- |13.4 Ever confirmed|0

[Bug testsuite/116860] Move optimization from match.pd into tree-ssa-reassoc (optimize_range_tests) where it can be more effective

2025-03-10 Thread konstantinos.eleftheriou at vrull dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116860 --- Comment #11 from Konstantinos Eleftheriou --- We have sent a solution for this (https://gcc.gnu.org/pipermail/gcc-patches/2025-March/677190.html).

[Bug fortran/119199] valgrind error in translate_common

2025-03-10 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119199 --- Comment #2 from anlauf at gcc dot gnu.org --- Likely r15-4104. Null pointer dereference, obviously fixed by: diff --git a/gcc/fortran/trans-common.cc b/gcc/fortran/trans-common.cc index 70b45174f84..2db50da20dd 100644 --- a/gcc/fortran/tran

[Bug c++/70417] Unhelpful diagnostic for dependent template-name

2025-03-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70417 Jonathan Wakely changed: What|Removed |Added CC||jkjeon at etri dot re.kr --- Comment #

[Bug fortran/119199] New: valgrind error in translate_common

2025-03-10 Thread dcb314 at hotmail dot com via Gcc-bugs
rom the flang testsuite at https://github.com/llvm/llvm-project/tree/main/flang/test Recent gfortran does this: test $ ~/gcc/results.20250310.valgrind/bin/gfortran -c -w ./Semantics/blockconstruct02.f90 ==19760== Invalid read of size 1 ==19760==at 0x8C7902: translate_common(gfc_comm

[Bug target/96532] [m68k] gcc 10.x generates calls to memset even for very small amounts

2025-03-10 Thread czietz at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96532 --- Comment #9 from Christian Zietz --- (In reply to Jeffrey A. Law from comment #8) > Thorsten's testcase doesn't generate memset calls for me using the trunk. Fwiw, Compiler Explorer's "ARM GCC trunk", which reports itself as... arm-unknown-

[Bug fortran/119199] valgrind error in translate_common

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

[Bug fortran/119199] valgrind error in translate_common

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

[Bug middle-end/118897] [12/13/14/15 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in categorize_ctor_elements_1, at expr.cc:7247

2025-03-10 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118897 --- Comment #1 from Bi6c --- I try to minimize the input: https://godbolt.org/z/4G7rq4qGP

[Bug libstdc++/119197] New: [feat req] `std::expected` should be nodiscard

2025-03-10 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119197 Bug ID: 119197 Summary: [feat req] `std::expected` should be nodiscard Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug fortran/119199] valgrind error in translate_common

2025-03-10 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119199 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|

[Bug target/119188] Incorrect -fcallgraph-info=su for leaf functions on x86-64

2025-03-10 Thread lukeshu at lukeshu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119188 --- Comment #2 from Luke Shumaker --- I appreciate the explanation. Does that make it any less of a bug? Should I change the title to "x86 red-zone not taken into account by -fcallgraph-info=su"?

[Bug modula2/119192] ICE if TBITSIZE is used in an expression

2025-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119192 --- Comment #3 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:40a4f3dead623db86bc8f7255cbe524701f4aeb0 commit r15-7931-g40a4f3dead623db86bc8f7255cbe524701f4aeb0 Author: Gaius Mulley Date: Mon

[Bug fortran/115316] [PDT] valgrind error in insert_parameter_exprs

2025-03-10 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115316 anlauf at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Summary|valgri

[Bug c/119124] ICE: verify_flow_info failed

2025-03-10 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119124 --- Comment #1 from Bi6c --- I got ICE (verify_flow_info failed) with asm goto and local function call.

[Bug c++/119194] New: GCC 14.2.0: Incorrect Handling of const std::string_view& as a Template Argument

2025-03-10 Thread hansolshin at vacuumzero dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119194 Bug ID: 119194 Summary: GCC 14.2.0: Incorrect Handling of const std::string_view& as a Template Argument Product: gcc Version: 14.2.0 Status: UNCONFIRMED Sever

[Bug fortran/115316] valgrind error in insert_parameter_exprs

2025-03-10 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115316 --- Comment #1 from David Binderman --- As of today, 20250310, still broken.

[Bug c++/119203] New: A type with a constrained operator-> gives error: base operand of '->' has non-pointer type

2025-03-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119203 Bug ID: 119203 Summary: A type with a constrained operator-> gives error: base operand of '->' has non-pointer type Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug c++/119203] A type with a constrained operator-> gives error: base operand of '->' has non-pointer type

2025-03-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119203 --- Comment #1 from Jonathan Wakely --- For the original example, clang says what's wrong: arrow.cc:14:7: error: no viable overloaded 'operator->' 14 | iter->i; | ^ arrow.cc:6:8: note: candidate function not viable: constraints

[Bug target/119120] Unnecessary fldl/stpl pair when assigning real or imaginary part of a complex variable

2025-03-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119120 --- Comment #4 from Jakub Jelinek --- I think this regressed with r0-100845-gbd2e63a1c4d4159f576c31bee9e4090919462aa5.

[Bug rtl-optimization/119189] [15 Regression] Code quality regressions on aarch64 since ext-dce change r15-7915-g4ed07a11ee2845

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

[Bug c/119185] Feature: quasi object programming by retrieving base object of indirect C calls

2025-03-10 Thread uros at isotel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119185 --- Comment #7 from Uroš Platiše --- (In reply to Andrew Pinski from comment #1) > Do you want an attribute that gets added to a field of a struct which > contains the function ptr and that you do a->b(...) and that turns into > a->b(a, ...) au

[Bug rtl-optimization/119174] [15 Regression] IRA allocating value live across a call to call clobbered register

2025-03-10 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119174 --- Comment #13 from Richard Sandiford --- (In reply to Jeffrey A. Law from comment #11) > Andrew. You're missing the point. This scenario isn't the kind of thing > that reload and LRA are supposed to fix. They fix constraint problems. ie, >

[Bug libgcc/119151] [13/14 Regression] unwind-dw2-btree maintains separators wrong

2025-03-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119151 Jakub Jelinek changed: What|Removed |Added Summary|[13/14/15 Regression] |[13/14 Regression] |u

[Bug c/119185] Feature: quasi object programming by retrieving base object of indirect C calls

2025-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119185 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/119186] Using __builtin_ctz results in a error result.

2025-03-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119186 --- Comment #4 from Jonathan Wakely --- With GCC 15 you can use __builtin_ctzg which can accept zero. Or just use std::count_rzero instead.

[Bug preprocessor/119184] Long time with nested function macros

2025-03-10 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119184 Xi Ruoyao changed: What|Removed |Added Resolution|--- |WONTFIX CC|

[Bug tree-optimization/119186] Using __builtin_ctz results in a error result.

2025-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119186 --- Comment #2 from Andrew Pinski --- __builtin_ctz with a value of 0 is undefined..

[Bug c/119185] Feature: quasi object programming by retrieving base object of indirect C calls

2025-03-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119185 --- Comment #2 from Jonathan Wakely --- What if the function is not called indirectly, wouldn't the implicit object ref just be garbage? My response to this is "just use C++". Then you have functions which are guaranteed by the language to be "

[Bug c/119185] Feature: quasi object programming by retrieving base object of indirect C calls

2025-03-10 Thread uros at isotel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119185 --- Comment #5 from Uroš Platiše --- If it is called directly it could hold NULL, but typically hardware abstraction device drivers are never called directly. And now you typically have macros i.e. one of the drivers "work-around" for this: #de

[Bug c/119188] New: Incorrect -fcallgraph-info=su for leaf functions on x86-64

2025-03-10 Thread lukeshu at lukeshu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119188 Bug ID: 119188 Summary: Incorrect -fcallgraph-info=su for leaf functions on x86-64 Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal

[Bug c/119185] Feature: quasi object programming by retrieving base object of indirect C calls

2025-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119185 --- Comment #8 from Andrew Pinski --- (In reply to Uroš Platiše from comment #5) > When to bring C++ to tiny micro-controllers is always a debate, as long even > linux kernel does not want to switch to C++. There is some movement in doing some

[Bug preprocessor/119202] New: Typo in message "%<\\o%> not followed by %<}%>"

2025-03-10 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119202 Bug ID: 119202 Summary: Typo in message "%<\\o%> not followed by %<}%>" Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/116564] [12/13/14/15 Regression] aarch64: gcc hangs when compiling vst2_f64 instrinsic at -O1 and above since r12-4910-g66f206b853

2025-03-10 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116564 Alex Coplan changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Comment #

[Bug c++/119194] [14/15 Regression] GCC 14.2.0: Incorrect Handling of reference to a local constexpr as a Template Argument

2025-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119194 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Summary|GCC 14.2.0: Incorr

[Bug preprocessor/119202] [15 Regression] Typo in message "%<\\o%> not followed by %<}%>" since r15-4286

2025-03-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119202 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Summary|Typo in message "%

[Bug gcov-profile/110827] C++20 coroutines aren't being measured by gcov

2025-03-10 Thread mwd at md5i dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110827 --- Comment #12 from Michael Duggan --- I finally got around to this experiment today, after more than a year. I changed this line in `coro_build_actor_or_destory_function` from: DECL_ARTIFICIAL (fn) = true; to DECL_ARTIFICIAL (fn) = !act

[Bug tree-optimization/119187] vectorizer should be able to SLP already vectorized code

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

[Bug analyzer/109027] [13/14/15 Regression] ICE: SIGSEGV (infinite recursion in ana::constraint_manager::eval_condition / ana::constraint_manager::impossible_derived_conditions_p) with -fanalyzer sinc

2025-03-10 Thread harald at gigawatt dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109027 Harald van Dijk changed: What|Removed |Added CC||harald at gigawatt dot nl --- Comment

[Bug c++/119194] [14/15 Regression] GCC 14.2.0: Incorrect Handling of reference to a local constexpr as a Template Argument

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

[Bug ipa/119093] ICE: in function_and_variable_visibility, at ipa-visibility.cc:715 with weakref to target_clone

2025-03-10 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119093 --- Comment #2 from Bi6c --- Thanks for taking a look. To clarify, this code was generated by our fuzzer, but I believe the ICE is worth addressing. The error here involves the combination of `__attribute__((target_clones))` with `__attribute__

[Bug tree-optimization/119196] Missed folding of vector comparisons

2025-03-10 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119196 Richard Earnshaw changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/119197] [feat req] `std::expected` should be nodiscard

2025-03-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119197 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/119196] Missed folding of vector comparisons

2025-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119196 --- Comment #2 from Andrew Pinski --- The scalar is handled by match: (for code1 (eq ne) (for code2 (eq ne lt gt le ge) (simplify (bit_ior:c (code1:c@3 @0 @1) (code2:c@4 (convert?@c0 @0) @2)) (if ((TREE_CODE (@1) == INTEGER_CST

[Bug target/119108] [15 Regression] AArch64 Commit 'vect: Force alignment peeling ...' (r15-6807-g68326d5d1a593d) causes regression in Snappy workload for -mcpu=neoverse-v2.

2025-03-10 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119108 --- Comment #8 from Tamar Christina --- Ok, so having looked at this I'm not sure the compiler is at fault here. Similar to the SVN case the snappy code is misaligning the loads intentionally and loading 64-bits at a time from the 8-bit pointe

[Bug c++/119191] New: Add fix-it for missing argument list in operator()

2025-03-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119191 Bug ID: 119191 Summary: Add fix-it for missing argument list in operator() Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: diagnostic Severity: enhancement

[Bug target/115439] [15 Regression] ICEs after r15-638 on master-thumb_m55_hard_eabi

2025-03-10 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115439 Christophe Lyon changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/119193] Suboptimal packing codegen

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

[Bug c++/119191] Add fix-it for missing argument list in operator()

2025-03-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119191 --- Comment #2 from Jonathan Wakely --- EDG is almost there: "callop.cc", line 2: error: an operator name must be declared as a function void operator(); ^ "callop.cc", line 3: error: expected an operator void operator(int);

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

2025-03-10 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116901 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug debug/119190] [15 Regression] Debug info quality regression at -O0 since r15-3128

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

[Bug c++/119194] GCC 14.2.0: Incorrect Handling of const std::string_view& as a Template Argument

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

[Bug c/119198] ICE: segmentation fault with __builtin_assoc_barrier()

2025-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119198 --- Comment #3 from Andrew Pinski --- In this case oh is not decayed into a pointer from an array type. So yes it is the same.

[Bug c++/119175] [14/15 Regression] ICE segfault on lambda in requires clause of generic lambda in requires clause

2025-03-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119175 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug c++/119195] GCC 14.2.0: Incorrect Handling of const std::string_view& as a Template Argument

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

[Bug gcov-profile/110827] C++20 coroutines aren't being measured by gcov

2025-03-10 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110827 --- Comment #13 from Iain Sandoe --- I would say that perhaps (noting comment #9) it would be useful to explore teaching gcov that it should not ignore the actor function (it is identifiable that a function is a coroutine component) Part of the

[Bug target/119120] Unnecessary fldl/stpl pair when assigning real or imaginary part of a complex variable

2025-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119120 --- Comment #3 from Andrew Pinski --- (In reply to Zoltan Vajda from comment #0) > This is not an academic problem. The implementation of operator /= of > std::complex has this behavior until GCC 8.5 (inclusive). The std::complex's operator /=

[Bug c++/119191] Add fix-it for missing argument list in operator()

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

[Bug middle-end/118899] ICE: tree check: expected tree_list, have error_mark in get_attribute_name, at attribs.cc:1063

2025-03-10 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118899 --- Comment #1 from Bi6c --- I try to minimize the input: https://godbolt.org/z/oETd8vnhP The issue is that the parameters in the macro definition and the usage don't match: Defined as `A3(expect, expr, align)` Used as `A3(0, 32, P64_P_P32_P_P

[Bug tree-optimization/119186] Using __builtin_ctz results in a error result.

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

[Bug debug/119190] [15 Regression] Debug info quality regression at -O0 since r15-3128

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

[Bug c++/119182] Compiler Fails to Diagnose Redefinition of Type Alias in Lambda Scope

2025-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119182 --- Comment #2 from Andrew Pinski --- Rather the issue which is testing (and is fixed for GCC 14+) is the decltype(x) is int rather than int&.

[Bug tree-optimization/119187] New: vectorizer should be able to SLP already vectorized code

2025-03-10 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119187 Bug ID: 119187 Summary: vectorizer should be able to SLP already vectorized code Product: gcc Version: unknown Status: UNCONFIRMED Keywords: missed-optimizatio

[Bug tree-optimization/119187] vectorizer should be able to SLP already vectorized code

2025-03-10 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119187 --- Comment #3 from Tamar Christina --- (In reply to Andrew Pinski from comment #2) > (In reply to Andrew Pinski from comment #1) > > There is another bug report for a similar thing but with SSE and AVX2. > > yes PR 95960. Ah yeah, I guess I w

[Bug debug/119190] [15 Regression] Debug info quality regression at -O0 since r15-3128

2025-03-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119190 --- Comment #3 from Richard Biener --- Oh, so we don't have debug stmts at -O0 because we don't run var-tracking. I guess the patch is reasonable.

[Bug c++/119191] Add fix-it for missing argument list in operator()

2025-03-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119191 --- Comment #4 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #0) > callop.cc:3:16: error: expected type-specifier before ‘(’ token > 3 | void operator(int, int); > |^ Oops, I posted the output fr

[Bug d/119112] dub OOMs with restrictive ulimit in Docker

2025-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119112 --- Comment #1 from GCC Commits --- The releases/gcc-14 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:ca0ea3d4192313ad00da4ff734baffcecafe0b1f commit r14-11399-gca0ea3d4192313ad00da4ff734baffcecafe0b1f Author: Iain Buclaw Dat

[Bug middle-end/118871] internal compiler error: Segmentation fault caused by asm goto with non local label

2025-03-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118871 --- Comment #2 from Jakub Jelinek --- It is invalid. Non-local goto is a special extension, which needs extra handling on the assembler level, something that writers of inline asm have no idea about and what exactly to use there. So, it is noth

[Bug middle-end/118871] internal compiler error: Segmentation fault caused by asm goto

2025-03-10 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118871 --- Comment #1 from Bi6c --- Is it considered as invalid code? I tried with "goto l;", and it is compilable.

[Bug translation/119201] New: Wrong plural forms in "missing primary template attribute"

2025-03-10 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119201 Bug ID: 119201 Summary: Wrong plural forms in "missing primary template attribute" Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Pr

[Bug modula2/119192] ICE if TBITSIZE is used in an expression

2025-03-10 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119192 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2025-03-10 Status|UNCONFIRME

[Bug modula2/119192] ICE if TBITSIZE is used in an expression

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

[Bug c++/119195] New: GCC 14.2.0: Incorrect Handling of const std::string_view& as a Template Argument

2025-03-10 Thread hansolshin at vacuumzero dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119195 Bug ID: 119195 Summary: GCC 14.2.0: Incorrect Handling of const std::string_view& as a Template Argument Product: gcc Version: 14.2.0 Status: UNCONFIRMED Sever

[Bug c/119183] [12/13/14/15 Regression] Compilation takes a long time on semi big inner expression

2025-03-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119183 --- Comment #7 from Richard Biener --- It would ask for a flag on the tree nodes so we don't repeatedly recurse down the tree. TREE_NO_SIDE_EFFECTS? But yes, limiting the search depth is the simplest solution.

[Bug tree-optimization/119166] [15 regression] ICE: SIGSEGV in get_load_store_type (tree-vect-stmts.cc:2711) with -O2 --param=vect-force-slp=0

2025-03-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119166 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned

[Bug tree-optimization/119196] Missed folding of vector comparisons

2025-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119196 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Se

[Bug fortran/107143] ICE: 'verify_gimple' failed (Error: non-trivial conversion in 'mem_ref')

2025-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107143 --- Comment #4 from GCC Commits --- The master branch has been updated by Andre Vehreschild : https://gcc.gnu.org/g:f2339cefd6985e20014f9b0795fb651a96788246 commit r15-7925-gf2339cefd6985e20014f9b0795fb651a96788246 Author: Andre Vehreschild D

[Bug fortran/107143] ICE: 'verify_gimple' failed (Error: non-trivial conversion in 'mem_ref')

2025-03-10 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107143 Andre Vehreschild changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug c++/119179] Allow the [[gnu:::uninitialized]] attribute on classes / non-static data members

2025-03-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119179 --- Comment #3 from Jonathan Wakely --- (In reply to Giuseppe D'Angelo from comment #2) > By the way: while reducing this example, I've noted that if one uses `VLA() > {}`, then the byte-filling gets disabled. Is it intended? It's not exactly >

[Bug c/117178] -Wunterminated-string-initialization should ignore trailing NUL byte for nonstring char arrays

2025-03-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117178 --- Comment #33 from Jakub Jelinek --- Created attachment 60692 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60692&action=edit gcc15-pr117178.patch Untested fix for the issue mentioned in https://gcc.gnu.org/pipermail/gcc-patches/2025-M

[Bug c++/116866] RFE: warn about suspected missing "throw" when discarding temporaries that inherit from std::exception

2025-03-10 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116866 Arthur O'Dwyer changed: What|Removed |Added CC||arthur.j.odwyer at gmail dot com ---

[Bug c++/117512] [14/15 Regression] ICE on x86_64-linux-gnu: in cp_gimplify_expr, at cp/cp-gimplify.cc:911 with aligned on a field

2025-03-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117512 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

<    1   2