[Bug c++/118255] [12/13/14/15 Regression] Unnecessary error on variable shadowing for friend declaration inside template class with non-type parameter

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118255 Andrew Pinski changed: What|Removed |Added Summary|Unnecessary error on|[12/13/14/15 Regression]

[Bug c++/118256] gcc fails to match the function parameter list when a reinterpret_cast with rvalue reference is involved

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

[Bug c++/118256] New: gcc fails to match the function parameter list when a reinterpret_cast with rvalue reference is involved

2024-12-30 Thread rush102333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118256 Bug ID: 118256 Summary: gcc fails to match the function parameter list when a reinterpret_cast with rvalue reference is involved Product: gcc Version: 15.0 Status: UNCON

[Bug c++/118255] New: Unnecessary error on variable shadowing for friend declaration inside template class with non-type parameter

2024-12-30 Thread wangbopku15 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118255 Bug ID: 118255 Summary: Unnecessary error on variable shadowing for friend declaration inside template class with non-type parameter Product: gcc Version: 15.0

[Bug target/118036] [15 Regression] RISC-V: gcc.dg/vect/vect-alias-check-1[12].c abort

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118036 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/118036] [15 Regression] RISC-V: gcc.dg/vect/vect-alias-check-1[12].c abort

2024-12-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118036 --- Comment #4 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:509df13fbf0b3544cd39a9e0a5de11ce841bb185 commit r15-6476-g509df13fbf0b3544cd39a9e0a5de11ce841bb185 Author: Robin Dapp Date: Mon Dec 3

[Bug target/115375] [15 Regression] RISCV scan failures since 2024-05-04

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115375 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/115375] [15 Regression] RISCV scan failures since 2024-05-04

2024-12-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115375 --- Comment #2 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:d369ddca549b5ff7d868b8f5ee139835b1f9382a commit r15-6475-gd369ddca549b5ff7d868b8f5ee139835b1f9382a Author: Jeff Law Date: Mon Dec 30

[Bug fortran/106692] [12/13/14/15 Regression] Cray pointer comparison wrongly optimized away

2024-12-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106692 --- Comment #10 from Paul Thomas --- (In reply to anlauf from comment #9) . o we want to fix this, given Jakub and Tobias's remarks? > > I have no stock in Cray pointers. If there were a simple fix, then we > just do it. But the above doe

[Bug c++/118245] [14/15 Regression] ICE: in convert_nontype_argument, Passing a lambda as a template argument and base class

2024-12-30 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 --- Comment #6 from terryinzaghi --- x86-64 gcc 14.2 -std=c++23 -O3 https://godbolt.org/z/PcM9aMM95

[Bug c++/118245] [14/15 Regression] ICE: in convert_nontype_argument, Passing a lambda as a template argument and base class

2024-12-30 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 --- Comment #5 from terryinzaghi --- /*Minimize Reproduce Code Based On Andrew Pinski's Example:*/ //-- can NOT work template struct Cask {}; struct CanNOTWork : Cask<([]{})> { Cask<([]{})> c10{}; }; //-- can work struct CanWork

[Bug target/118036] [15 Regression] RISC-V: gcc.dg/vect/vect-alias-check-1[12].c abort

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118036 --- Comment #3 from Jeffrey A. Law --- This is fixed by Robin's varasm.cc patch. I'm doing some testing on the updated version of that patch now.

[Bug tree-optimization/118220] [15 regression] Optimization of malloc/free Produces Undefined Behavior

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118220 --- Comment #4 from Andrew Pinski --- (In reply to Jonathan Gruber from comment #3) > (In reply to Richard Biener from comment #2). > > Not sure if this completely answers the question, but, as far as I know, the > PTRDIFF_MAX request-size limi

[Bug tree-optimization/118220] [15 regression] Optimization of malloc/free Produces Undefined Behavior

2024-12-30 Thread jonathan.gruber.jg at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118220 --- Comment #3 from Jonathan Gruber --- (In reply to Richard Biener from comment #2) > I think we discussed replacing if (!p) with if (size > N) with some special N > but disregarded it with a reason I don't exactly remember. > > Yes, the testc

[Bug target/117688] [15 Regression] RISC-V: Wrong code for .SAT_SUB

2024-12-30 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117688 --- Comment #3 from Krister Walfridsson --- The test still fails for me when running on qemu with a compiler built from today's source code (64d31343d4676d8ceef9232dcd33824bc2eff330). FWIW, the function foo is generated as: foo: lui

[Bug target/111814] [SH] __builtin_nan* returns signalling NaNs instead of quiet NaNs and vice versa

2024-12-30 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111814 --- Comment #7 from Oleg Endo --- (In reply to Jiaxun Yang from comment #6) > (In reply to Andrew Pinski from comment #4) > > Note it might need to be under the check of -mieee too > > I'm preparing patch for this issue Thanks! > and IM

[Bug tree-optimization/85316] [meta-bug] VRP range propagation missed cases

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85316 Bug 85316 depends on bug 101186, which changed state. Bug 101186 Summary: predictable comparison of integer variables not folded https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101186 What|Removed |Added --

[Bug tree-optimization/101186] predictable comparison of integer variables not folded

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101186 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/113662] [13/14/15 Regression] Wrong code for std::sort with fancy pointer since r13-6945-g429a7a88438cc8

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113662 --- Comment #15 from Andrew Pinski --- Created attachment 60008 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60008&action=edit Slightly more With some added debug statements that can be turned off.

[Bug tree-optimization/113662] [13/14/15 Regression] Wrong code for std::sort with fancy pointer since r13-6945-g429a7a88438cc8

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113662 --- Comment #14 from Andrew Pinski --- (In reply to Andrew Pinski from comment #13) > So I think the way offset_type is used here is incorrect. > > > > boost::interprocess::offset_ptr allocate( std::size_t n ) { > return boost::interp

[Bug tree-optimization/118254] missed knowing lower bits of a variable when using comparison of shorter type

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118254 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/110931] [14 Regression] Dead Code Elimination Regression since r14-2890-gcc2003cd875

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110931 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/118254] New: missed knowing lower bits of a variable when using comparison of shorter type

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118254 Bug ID: 118254 Summary: missed knowing lower bits of a variable when using comparison of shorter type Product: gcc Version: 14.2.0 Status: UNCONFIRMED Keywords

[Bug tree-optimization/110931] [14 Regression] Dead Code Elimination Regression since r14-2890-gcc2003cd875

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110931 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/85316] [meta-bug] VRP range propagation missed cases

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85316 Bug 85316 depends on bug 110931, which changed state. Bug 110931 Summary: [14 Regression] Dead Code Elimination Regression since r14-2890-gcc2003cd875 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110931 What|Removed

[Bug tree-optimization/118253] libstdc++: array subscript 0 is outside array bounds of ‘std::__shared_count<> [0]’

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118253 --- Comment #1 from Andrew Pinski --- >-fsanitize=address,undefined That is documented to cause extra warnings. See slightly below https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Instrumentation-Options.html#index-fsanitize_003dbuiltin: Note that

[Bug tree-optimization/118250] missed optimization in multiple integer comparisons (like errno tests)

2024-12-30 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118250 --- Comment #2 from Andi Kleen --- With --param=switch-lower-slow-alg-max-cases=1 (so using greedy) trunk includes "38" in the first bit cluster, but the LLVM code is still better. I've seen the dynamic programing algorithm miss clusters like

[Bug c++/118253] New: libstdc++: array subscript 0 is outside array bounds of ‘std::__shared_count<> [0]’

2024-12-30 Thread jengelh at inai dot de via Gcc-bugs
FIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jengelh at inai dot de Target Milestone: --- Version: gcc version 15.0.0 20241230 (experimental) (SUSE Linux) amd64-linux Input: --- #include #include st

[Bug tree-optimization/110931] [14 Regression] Dead Code Elimination Regression since r14-2890-gcc2003cd875

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110931 Jeffrey A. Law changed: What|Removed |Added Summary|[14/15 Regression] Dead |[14 Regression] Dead Code

[Bug target/112109] riscv vectorized strcmp (and other) expanders should honor TARGET_MAX_LMUL

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112109 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug testsuite/114182] gcc.c-torture/compile/attr-complex-method-2.c fails for H8/300

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114182 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug testsuite/114182] gcc.c-torture/compile/attr-complex-method-2.c fails for H8/300

2024-12-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114182 --- Comment #6 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:b739efa05d96edbc1468043a630bf29d38a0c30b commit r15-6473-gb739efa05d96edbc1468043a630bf29d38a0c30b Author: Jeff Law Date: Mon Dec 30

[Bug tree-optimization/118194] [12/13/14/15 regression] spurious warning with -Wmaybe-uninitialized with mlock since r11-959-gb825a22890740f

2024-12-30 Thread sshannin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118194 --- Comment #3 from sshannin at gmail dot com --- > The wording is also quite confusing - it should probably say 'dereferencing 'p' would access uninitialized memory'. Oh, indeed. I can certainly confirm that's how I interpreted it when filing t

[Bug target/111814] on sh4, __builtin_nan* returns signalling NaNs instead of quiet NaNs and vice versa

2024-12-30 Thread jiaxun.yang at flygoat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111814 Jiaxun Yang changed: What|Removed |Added CC||jiaxun.yang at flygoat dot com --- Commen

[Bug tree-optimization/113662] [13/14/15 Regression] Wrong code for std::sort with fancy pointer since r13-6945-g429a7a88438cc8

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113662 --- Comment #13 from Andrew Pinski --- So I think the way offset_type is used here is incorrect. boost::interprocess::offset_ptr allocate( std::size_t n ) { return boost::interprocess::offset_ptr(a.allocate(n)); } That stores the o

[Bug tree-optimization/113662] [13/14/15 Regression] Wrong code for std::sort with fancy pointer since r13-6945-g429a7a88438cc8

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113662 Andrew Pinski changed: What|Removed |Added Attachment #60005|0 |1 is obsolete|

[Bug tree-optimization/113662] [13/14/15 Regression] Wrong code for std::sort with fancy pointer since r13-6945-g429a7a88438cc8

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113662 --- Comment #11 from Andrew Pinski --- (In reply to Andrew Pinski from comment #10) > (In reply to Andrew Pinski from comment #9) > > There is something off by this offset_ptr. > > I am almost want to say this code is undefined; it is at least

[Bug tree-optimization/113662] [13/14/15 Regression] Wrong code for std::sort with fancy pointer since r13-6945-g429a7a88438cc8

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113662 --- Comment #10 from Andrew Pinski --- (In reply to Andrew Pinski from comment #9) > There is something off by this offset_ptr. I am almost want to say this code is undefined; it is at least questionable. >From the looks of it, it does: offse

[Bug tree-optimization/113662] [13/14/15 Regression] Wrong code for std::sort with fancy pointer since r13-6945-g429a7a88438cc8

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113662 --- Comment #9 from Andrew Pinski --- There is something off by this offset_ptr.

[Bug target/113828] ICE: in riscv_expand_mult_with_const_int, at config/riscv/riscv.cc:2587 with -march=rv64ifv and vfloat32m1_t/vfloat32m4_t function args

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113828 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug fortran/106692] [12/13/14/15 Regression] Cray pointer comparison wrongly optimized away

2024-12-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106692 --- Comment #9 from anlauf at gcc dot gnu.org --- (In reply to Paul Thomas from comment #8) > Following your remarks, I tried setting the pointer decl tree static. That > resulted in the test succeeding for -O but it crashed at higher levels of >

[Bug c++/118245] [14/15 Regression] internal compiler error: in convert_nontype_argument, at cp/pt.cc:7881 WHEN use lambda AS template-arg

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 Andrew Pinski changed: What|Removed |Added Keywords||c++-lambda Summary|internal

[Bug c++/118245] internal compiler error: in convert_nontype_argument, at cp/pt.cc:7881 WHEN use lambda AS template-arg

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 Andrew Pinski changed: What|Removed |Added Status|WAITING |NEW Keywords|needs-source

[Bug target/106544] riscv_print_operand does not check to see if the operands are valid to do INTVAL on them

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106544 Jeffrey A. Law changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/106544] riscv_print_operand does not check to see if the operands are valid to do INTVAL on them

2024-12-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106544 --- Comment #3 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:07e532a0608640b9e57ae6fc3a0ca83c9afc75a1 commit r15-6472-g07e532a0608640b9e57ae6fc3a0ca83c9afc75a1 Author: Jeff Law Date: Mon Dec 30

[Bug c++/118245] internal compiler error: in convert_nontype_argument, at cp/pt.cc:7881 WHEN use lambda AS template-arg

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 Andrew Pinski changed: What|Removed |Added Keywords||needs-source Last reconfirmed|

[Bug target/114222] gcc.c-torture/execute/builtin-bitops-1.c fails for H8/300

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114222 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug tree-optimization/118250] missed optimization in multiple integer comparisons (like errno tests)

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118250 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Target|

[Bug target/116662] The value of __GCC_DESTRUCTIVE_SIZE for riscv64 could be improved

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116662 Jeffrey A. Law changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug target/118188] aarch64: worse code with -mtune=grace (vs -mtune=generic) in TSVC s4115

2024-12-30 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118188 --- Comment #3 from Tamar Christina --- This is an existing bug that's due to the backend not having been expanded to support costing of emulated gathers and scatters. Basically Adv. Simd has no gather and scatters and the vectorizer emulated t

[Bug tree-optimization/118211] tree-vectorize: vectorize input.cc, find_end_of_line

2024-12-30 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118211 --- Comment #3 from Tamar Christina --- (In reply to Richard Biener from comment #2) > Looks like the alignment peeling enablement for early break didn't go in in > time? That should have fixed this by peeling scalar iterations until 's' is > a

[Bug rtl-optimization/109592] Failure to recognize shifts as sign/zero extension

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109592 Jeffrey A. Law changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |law at gcc dot gnu.org --- Comm

[Bug target/118252] New: i386 should implement CASE_VECTOR_SHORTEN_MODE

2024-12-30 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118252 Bug ID: 118252 Summary: i386 should implement CASE_VECTOR_SHORTEN_MODE Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: t

[Bug target/118251] New: i386: Use carry bits of shifts

2024-12-30 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118251 Bug ID: 118251 Summary: i386: Use carry bits of shifts Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug tree-optimization/118250] New: missed optimization in multiple integer comparisons

2024-12-30 Thread jannik.glueckert at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118250 Bug ID: 118250 Summary: missed optimization in multiple integer comparisons Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug tree-optimization/89579] -Wclobbered warning false positive when compiling with -Og

2024-12-30 Thread abigail.buccaneer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89579 AbigailBuccaneer changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug debug/82738] [meta-bug] issues with the -Og optimization level

2024-12-30 Thread abigail.buccaneer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82738 Bug 82738 depends on bug 89579, which changed state. Bug 89579 Summary: -Wclobbered warning false positive when compiling with -Og https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89579 What|Removed |Added -

[Bug fortran/117643] F_C_STRING from F23 is missing

2024-12-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117643 --- Comment #30 from GCC Commits --- The master branch has been updated by Jerry DeLisle : https://gcc.gnu.org/g:efc0981077a70c4de4596f682c4aeade07ec2f17 commit r15-6471-gefc0981077a70c4de4596f682c4aeade07ec2f17 Author: Steven G. Kargl Date:

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

2024-12-30 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118249 --- Comment #1 from Barry Revzin --- Pretend the example had declared outer as extern array<10>& outer; Since otherwise the usage has nothing to do with P2280. gcc does correctly allow that case too.

[Bug target/117818] [12/13/14/15 regression] vec_add incorrectly generates vadduwm for vector char const inputs.

2024-12-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117818 Sam James changed: What|Removed |Added Summary|vec_add incorrectly |[12/13/14/15 regression]

[Bug fortran/106692] [12/13/14/15 Regression] Cray pointer comparison wrongly optimized away

2024-12-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106692 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #8 f

[Bug c/118246] FLT128_TRUE_MIN not defined?

2024-12-30 Thread newbie-02 at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118246 --- Comment #5 from newbie-02 --- (In reply to Richard Biener from comment #4) > quadmath.h does not contain FLT128_TRUE_MIN or MAX I see them in float.h, also see FLT128_TRUE_MIN there as pointing define to __FLT128_DENORM_MIN__ , guarded by

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

2024-12-30 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118249 Bug ID: 118249 Summary: Misdiagnosing use of 'this' while doing class member access in constant evaluation Product: gcc Version: 14.1.0 Status: UNCONFIRMED Sev

[Bug rtl-optimization/117836] [meta-bug] favoid-store-forwarding issues

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117836 Bug 117836 depends on bug 117835, which changed state. Bug 117835 Summary: wrong code with -O -favoid-store-forwarding -mno-push-args --param=store-forwarding-max-distance=0 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117835 What

[Bug target/117835] wrong code with -O -favoid-store-forwarding -mno-push-args --param=store-forwarding-max-distance=0

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117835 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug target/106544] riscv_print_operand does not check to see if the operands are valid to do INTVAL on them

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106544 Jeffrey A. Law changed: What|Removed |Added Last reconfirmed||2024-12-30 Status|UNCONFIR

[Bug target/118122] [15 Regression] ICE: in extract_insn, at recog.cc:2869 (unrecognizable insn) (ior:DI (reg:SI) (reg:DI)) with -O -fno-tree-ter -fno-forward-propagate

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118122 Jeffrey A. Law changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/118122] [15 Regression] ICE: in extract_insn, at recog.cc:2869 (unrecognizable insn) (ior:DI (reg:SI) (reg:DI)) with -O -fno-tree-ter -fno-forward-propagate

2024-12-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118122 --- Comment #2 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:64d31343d4676d8ceef9232dcd33824bc2eff330 commit r15-6470-g64d31343d4676d8ceef9232dcd33824bc2eff330 Author: Jeff Law Date: Mon Dec 30

[Bug debug/118221] gdb and objdump referencing functions that do no exist in binary

2024-12-30 Thread trampas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118221 --- Comment #8 from Trampas Stern --- I also have the same bug in binutils: https://sourceware.org/bugzilla/show_bug.cgi?id=32506 I do not fully understand the internals what is happening but from and external perspective it appears to me that

[Bug d/118248] [15 Regression] gdc ICE (segfault) building a riscv64 cross compiler on s390x-linux-gnu

2024-12-30 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118248 --- Comment #2 from Matthias Klose --- it's the first I was building that for 15

[Bug d/118248] [15 Regression] gdc ICE (segfault) building a riscv64 cross compiler on s390x-linux-gnu

2024-12-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118248 --- Comment #1 from Sam James --- When did it last work? The D FE hasn't changed in a while.

[Bug d/118248] [15 Regression] gdc ICE (segfault) building a riscv64 cross compiler on s390x-linux-gnu

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118248 Richard Biener changed: What|Removed |Added Host||s390x-linux-gnu Target|

[Bug ada/118247] [15 Regression] gnatbind fails to relink in the install target for powerpc64-linux-gnu and powerpc64le-linux-gnu in a cross build

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118247 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0

[Bug c/118246] FLT128_TRUE_MIN not defined?

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118246 --- Comment #4 from Richard Biener --- quadmath.h does not contain FLT128_TRUE_MIN or MAX

[Bug c++/118245] internal compiler error: in convert_nontype_argument, at cp/pt.cc:7881 WHEN use lambda AS template-arg

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 Richard Biener changed: What|Removed |Added Known to fail||14.2.0 Keywords|

[Bug ipa/118243] [13/14/15 Regression] Incorrect behaviour of complex types with -O3 since r13-5681-ge8109bd87766be

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118243 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug lto/118238] [15 Regression] gcc/lto-wrapper.cc uses link which is not recommend and does not exist on mingw

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118238 Richard Biener changed: What|Removed |Added Priority|P3 |P1 CC|

[Bug ada/118247] New: [15 Regression] gnatbind fails to relink in the install target for powerpc64-linux-gnu and powerpc64le-linux-gnu in a cross build

2024-12-30 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118247 Bug ID: 118247 Summary: [15 Regression] gnatbind fails to relink in the install target for powerpc64-linux-gnu and powerpc64le-linux-gnu in a cross build Product: gcc

[Bug c++/118225] [12/13/14/15 Regression] ICE: in build_class_member_access_expr, at cp/typeck.cc:2983

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118225 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug tree-optimization/118224] [15 Regression] Incorrect optimization with calloc when the size exceeds SIZE_MAX

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118224 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug debug/118221] gdb and objdump referencing functions that do no exist in binary

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118221 --- Comment #7 from Richard Biener --- I'll note that while -ffunction-sections produces different .text sections for different functions but there's still only a single .debug_info section and the behavior when GCing sections might end up havin

[Bug d/118248] New: [15 Regression] gdc ICE (segfault) building a riscv64 cross compiler on s390x-linux-gnu

2024-12-30 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118248 Bug ID: 118248 Summary: [15 Regression] gdc ICE (segfault) building a riscv64 cross compiler on s390x-linux-gnu Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug tree-optimization/118220] [15 regression] Optimization of malloc/free Produces Undefined Behavior

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118220 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

[Bug tree-optimization/118217] Dot-product for square on difference of two small type integers

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

[Bug tree-optimization/118215] Miss runtime alias check for vectorization

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118215 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Version|unknown

[Bug target/118213] IVOPT causes superfluous IVs

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118213 Richard Biener changed: What|Removed |Added Version|unknown |15.0 --- Comment #1 from Richard Biene

[Bug tree-optimization/118211] tree-vectorize: vectorize input.cc, find_end_of_line

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118211 Richard Biener changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org --- Commen

[Bug tree-optimization/118207] [15 regression] ICE when building dosbox-staging-0.82.0 (in fold_convert_loc, at fold-const.cc:2779) since r15-6339-g40f243e9179667

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118207 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/118206] [15 regression] libdeflate miscompiled by ifcombine since r15-6360-g6d5df5133c5dd8

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118206 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug c++/118202] [12/13/14/15 regression] ICE segmentation fault when instantiating a derived template class with default template argument and special overloaded ctor

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118202 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug middle-end/118200] note_simd_array_uses crashes in SIMT region with offloading to nvptx

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118200 --- Comment #1 from Richard Biener --- Looks like a missed copy propagation or "invalid" (unexpected) GIMPLE by having the copy in the first place. The code needs to follow the copy to the actual SIMD uid var, though simduid.12_73 = simduid.

[Bug tree-optimization/118194] [12/13/14/15 regression] spurious warning with -Wmaybe-uninitialized with mlock since r11-959-gb825a22890740f

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

[Bug c++/118214] [15 regression] OpenTTD test failure with C++ large initializer since r15-6339-g40f243e9179667

2024-12-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118214 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug ipa/118243] [13/14/15 Regression] Incorrect behaviour of complex types with -O3 since r13-5681-ge8109bd87766be

2024-12-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118243 --- Comment #6 from Sam James --- .. and -fno-ipa-sra works

[Bug ipa/118243] [13/14/15 Regression] Incorrect behaviour of complex types with -O3 since r13-5681-ge8109bd87766be

2024-12-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118243 Sam James changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug libstdc++/118244] Errors building libstdc++-v3 for MinGW-w64

2024-12-30 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118244 --- Comment #7 from Brecht Sanders --- This somehow did allow the build to proceed: make -Cbuild_mingw/$RUNPLATFORM/libstdc++-v3 LDFLAGS="-L$PWD/build_mingw/gcc -lcommon"

[Bug c/118246] FLT128_TRUE_MIN not defined?

2024-12-30 Thread newbie-02 at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118246 --- Comment #3 from newbie-02 --- hello @ Andrew Pinski, thanks for fast reaction, a snippet that fails, compile with '-lquadmath' option, change commenting between FLT128_MIN and FLT128_TRUE_MIN and see that all is ok, except FLT128_T

[Bug target/117835] wrong code with -O -favoid-store-forwarding -mno-push-args --param=store-forwarding-max-distance=0

2024-12-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117835 --- Comment #4 from GCC Commits --- The master branch has been updated by Philipp Tomsich : https://gcc.gnu.org/g:c86e1c54c6f8771d08a8c070717b80607f990f8a commit r15-6464-gc86e1c54c6f8771d08a8c070717b80607f990f8a Author: kelefth Date: Mon D

[Bug rtl-optimization/117872] wrong code with -O -maccumulate-outgoing-args --param=store-forwarding-max-distance=1000 -favoid-store-forwarding

2024-12-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117872 --- Comment #3 from GCC Commits --- The master branch has been updated by Philipp Tomsich : https://gcc.gnu.org/g:c86e1c54c6f8771d08a8c070717b80607f990f8a commit r15-6464-gc86e1c54c6f8771d08a8c070717b80607f990f8a Author: kelefth Date: Mon D

[Bug c/118191] missing option to read __float128 from command line argument or string

2024-12-30 Thread newbie-02 at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118191 --- Comment #5 from newbie-02 --- (In reply to Jonathan Wakely from comment #4) > This bug database is still the wrong place for your questions. > > You probably need a newer glibc, strtof128 is relatively new. :-) Thank you, i'll not try

  1   2   >