[Bug target/114942] [14 Regression] ICE on valid code at -O1 with "-fno-tree-sra -fno-guess-branch-probability": in extract_constrain_insn, at recog.cc:2713

2024-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114942 Richard Biener changed: What|Removed |Added Summary|[14/15 Regression] ICE on |[14 Regression] ICE on

[Bug d/117115] [14/15 regression] ICE in expand_d_format when diagnosing an empty enum declaration since r14-4663-g964fd402c9b48e

2024-10-13 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117115 --- Comment #2 from Iain Buclaw --- The assert hit is: gcc_assert (!inbacktick); One of the DMD front-end errors likely has an odd number of backticks in the format string.

[Bug tree-optimization/114972] [12/13/14/15 Regression] Missed optimization for Dead Code Elimination

2024-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114972 Richard Biener changed: What|Removed |Added Priority|P3 |P2 --- Comment #3 from Richard Biener

[Bug ipa/114985] [15 regression] internal compiler error: in discriminator_fail during stage2

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

[Bug target/114987] [14/15 Regression] floating point vector regression, x86, between gcc 14 and gcc-13 using -O3 and target clones on skylake platforms

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

[Bug c++/114992] [13/14/15 Regression] ICE during IPA pass: targetclone in add_to_same_comdat_group with calling a target clone with a lamdba in a comdat function

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

[Bug tree-optimization/115004] [12/13/14/15 Regression] Missed optimization for Dead Code Elimination

2024-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115004 Richard Biener changed: What|Removed |Added Blocks||85316 Priority|P3

[Bug sanitizer/115127] [12/13/14/15 Regression] passing zero to __builtin_ctz() check sometimes missing since r12-151

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

[Bug target/115148] [12/13/14/15 Regression][SH]: libcanberra fails with 'unaligned opcodes detected in executable segment' since r12-5944-ga7acb6dca941db

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

[Bug tree-optimization/115202] [12/13/14/15 Regression] Missed optimization: std::min(f ? (unsigned short)m : a, ~0)

2024-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115202 --- Comment #3 from Richard Biener --- It's a missed PRE: ANTIC_OUT[3] := { iftmp.0_6 (0006), {min_expr,iftmp.0_6,-1} (0011), {nop_expr,pretmp_10} (0012) } [changed] ANTIC_IN[3] := { {mem_ref<0B>,addr_expr<&m>}@.MEM_5(D) (0001), {nop_expr,m.1_1

[Bug c++/115219] [12/13/14/15 Regression] [c++17+] ICE on dependent noexcept class operator delete

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

[Bug bootstrap/115284] [15 regression] SEGV in check_format_arg on Solaris/SPARC

2024-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115284 --- Comment #15 from Richard Biener --- Is this resolved now?

[Bug target/87832] AMD pipeline models are very costly size-wise

2024-10-13 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87832 --- Comment #15 from Alexander Monakov --- No, I didn't do older AMDs (btver2 & bdver3) and newer AMD (znver4) regressed this once again. Here's the current picture of top 10: nm -CS -t d --defined-only gcc/insn-automata.o | sed 's/^[0-9]* 0*//'

[Bug libstdc++/115285] [12/13/14/15 Regression] std::unordered_set can have duplicate value

2024-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115285 Richard Biener changed: What|Removed |Added Keywords|needs-bisection |wrong-code Priority|P3

[Bug ada/115292] [15 Regression] i686-darwin17 bootstrap fails for Ada (between r15-856 and r15-889)

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

[Bug ada/115305] [15 Regression] many (162) acats regressions on i686-darwin9

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

[Bug testsuite/115365] [15 regression] New test case gcc.dg/pr100927.c from r15-1022-gb05288d1f1e4b6 fails

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

[Bug c++/115377] [12/13/14/15 Regression] Invalid typename with non nested-name-specifier accepted in specific contexts since r5-2683

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

[Bug middle-end/116290] [12/13/14/15 regression] -fcompare-debug -gno-statement-frontiers -O2 failure with evolution-data-server-3.52.4

2024-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116290 --- Comment #6 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:566740013b3445162b8c4bc2205e4e568d014968 commit r15-4308-g566740013b3445162b8c4bc2205e4e568d014968 Author: Richard Biener Date:

[Bug target/115458] [15 regression] [RISC-V] ICE in lra_split_hard_reg_for, at lra-assigns.cc:1868 unable to find a register to spill since r15-518-g99b1daae18c095

2024-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115458 Richard Biener changed: What|Removed |Added Keywords||needs-reduction Last reconfirmed|202

[Bug middle-end/116290] [12/13/14 regression] -fcompare-debug -gno-statement-frontiers -O2 failure with evolution-data-server-3.52.4

2024-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116290 Richard Biener changed: What|Removed |Added Summary|[12/13/14/15 regression]|[12/13/14 regression]

[Bug middle-end/116891] [12/13/14/15 Regression] invalid optimization of -fma(-x,x,-z) when -03 and -frounding-math are used

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

[Bug tree-optimization/117132] New: A call to a function which returns a wider result can be considered a sibling call

2024-10-13 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117132 Bug ID: 117132 Summary: A call to a function which returns a wider result can be considered a sibling call Product: gcc Version: 15.0 Status: UNCONFIRMED Sever

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2024-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 115484, which changed state. Bug 115484 Summary: [13/14/15 regression] if-to-switch prevents AVX vectorization https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115484 What|Removed |Added --

[Bug tree-optimization/116126] vectorize libcpp search_line_fast

2024-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116126 Bug 116126 depends on bug 115484, which changed state. Bug 115484 Summary: [13/14/15 regression] if-to-switch prevents AVX vectorization https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115484 What|Removed |Added

[Bug tree-optimization/115484] [13/14/15 regression] if-to-switch prevents AVX vectorization

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

[Bug target/115485] [12/13/14/15 Regression] CASEServer.cpp:203:1: internal compiler error: in require_pic_register, at config/arm/arm.c:7855 since r7-1945-gb88bd5e0ca1208

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

[Bug testsuite/115545] [15 regression] missing/excess errors after r15-1394 for targets where sizeof(int)==sizeof(long)

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

[Bug c++/115580] [12/13/14/15 regression] null pointer warning from an unevaluated context

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

[Bug target/87832] AMD pipeline models are very costly size-wise

2024-10-13 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87832 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug middle-end/117091] switch clustering takes extensive time with large switches even at -O0

2024-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117091 --- Comment #7 from Richard Biener --- (In reply to Andi Kleen from comment #6) > There are multiple issues (should probably rename the subject) > > Apart from the inefficient bit test, the jump_table clustering is also very > inefficient becau

[Bug middle-end/116065] [13/14 Regression] Function attribute optimize() might make ISA target attribute broken

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

[Bug ipa/111613] [12/13 Regression] Bit field stores can be incorrectly optimized away when -fstore-merging is in effect since r12-5383-g22c242342e38eb

2024-10-13 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111613 --- Comment #14 from rguenther at suse dot de --- On Sun, 13 Oct 2024, sjames at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111613 > > --- Comment #13 from Sam James --- > richi or honza: can I test and queue backpo

[Bug tree-optimization/116213] [14/15 regression] -Wmaybe-uninitialized in tree-ssa-loop-niter.cc since r14-3460-gabf915193fbf72

2024-10-13 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116213 --- Comment #9 from rguenther at suse dot de --- On Sun, 13 Oct 2024, sjames at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116213 > > --- Comment #6 from Sam James --- > (In reply to Richard Biener from comment #5)

[Bug target/117116] [15 regression] error: unrecognizable insn: with -march=znver3

2024-10-13 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117116 --- Comment #4 from Hongtao Liu --- (In reply to Hongtao Liu from comment #3) > A simple testcase > > typedef long long v4di __attribute__((vector_size(32))); > > v4di > foo (long long a) > { > return __extension__(v4di){(long long)foo, 1,

[Bug target/117116] [15 regression] error: unrecognizable insn: with -march=znver3

2024-10-13 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117116 --- Comment #3 from Hongtao Liu --- A simple testcase typedef long long v4di __attribute__((vector_size(32))); v4di foo (long long a) { return __extension__(v4di){(long long)foo, 1, 1, 1}; } reproduced with -O2 -mavx2, failed at least sin

[Bug middle-end/117123] [12/13/14/15 regression] Generated code at -Os on trunk is larger than GCC 14.4

2024-10-13 Thread dccitaliano at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117123 --- Comment #1 from Davide Italiano --- I'd like to point out that in GCC-13.3 this seems to emit much shorter code: i.e. https://godbolt.org/z/YEvbs14PY _Z8patatinoi: movl%edi, %eax cmpl$5, %edi jle .L2

[Bug modula2/117131] poor error message issued when missing () from a procedure function

2024-10-13 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117131 --- Comment #1 from Gaius Mulley --- Following on from the example code the bug report mentions that with gm2 gcc-14.2 proc_test.mod:3:22: In procedure «Calc»: syntax warning, «END» missing 3 | PROCEDURE Calc : CARDINAL; |

[Bug modula2/117131] New: poor error message issued when missing () from a procedure function

2024-10-13 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117131 Bug ID: 117131 Summary: poor error message issued when missing () from a procedure function Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal

[Bug target/117116] [15 regression] error: unrecognizable insn: with -march=znver3

2024-10-13 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117116 --- Comment #2 from Hongtao Liu --- Looks like it just expose an backend bug, I'll take a look.

[Bug middle-end/116065] [13/14 Regression] Function attribute optimize() might make ISA target attribute broken

2024-10-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116065 --- Comment #17 from Sam James --- Ah, fair enough - thanks!

[Bug rtl-optimization/113533] Code generation regression after change for pr111267

2024-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113533 --- Comment #20 from GCC Commits --- The master branch has been updated by Oleg Endo : https://gcc.gnu.org/g:b717c462b96e7870f8081d2bc330e4749a4b0538 commit r15-4307-gb717c462b96e7870f8081d2bc330e4749a4b0538 Author: Oleg Endo Date: Sun Oct

[Bug middle-end/116065] [13/14 Regression] Function attribute optimize() might make ISA target attribute broken

2024-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116065 --- Comment #16 from Andrew Pinski --- (In reply to Sam James from comment #15) > (In reply to Haochen Jiang from comment #14) > > (In reply to Richard Biener from comment #13) > > > Fixed on trunk sofar(?) > > > > Yes, could be closed if only

[Bug middle-end/117091] switch clustering takes extensive time with large switches even at -O0

2024-10-13 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117091 Andi Kleen changed: What|Removed |Added CC||andi-gcc at firstfloor dot org --- Comment

[Bug middle-end/116065] [13/14 Regression] Function attribute optimize() might make ISA target attribute broken

2024-10-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116065 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #15 f

[Bug middle-end/116065] [13/14 Regression] Function attribute optimize() might make ISA target attribute broken

2024-10-13 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116065 Haochen Jiang changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/64036] [SH] Evaluate re-enabling scheduling before RA

2024-10-13 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64036 Oleg Endo changed: What|Removed |Added Last reconfirmed||2024-10-14 Status|UNCONFIRMED

[Bug c++/116064] [15 Regression] SPEC 2017 523.xalancbmk_r failed to build

2024-10-13 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116064 --- Comment #11 from Hongtao Liu --- (In reply to Richard Biener from comment #10) > So - fixed? Yes.

[Bug c++/117130] New: internal compiler error: in add_stmt, at cp/semantics.cc:551

2024-10-13 Thread yihan4845 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117130 Bug ID: 117130 Summary: internal compiler error: in add_stmt, at cp/semantics.cc:551 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/117129] [14/15 Regression] internal compiler error: Segmentation fault at gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int)

2024-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117129 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 See Also|

[Bug c++/117129] [14/15 Regression] internal compiler error: Segmentation fault at gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int)

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

[Bug target/117128] [15 regression] GCC trunk generates larger code than GCC 14 at -Os/Oz

2024-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117128 Andrew Pinski changed: What|Removed |Added Target||x86_64 Component|middle-end

[Bug c++/117129] New: internal compiler error: Segmentation fault at gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int)

2024-10-13 Thread yihan4845 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117129 Bug ID: 117129 Summary: internal compiler error: Segmentation fault at gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) Product: gcc Ver

[Bug middle-end/117128] New: [15 regression] GCC trunk generates larger code than GCC 14 at -Os/OZ

2024-10-13 Thread dccitaliano at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117128 Bug ID: 117128 Summary: [15 regression] GCC trunk generates larger code than GCC 14 at -Os/OZ Product: gcc Version: unknown Status: UNCONFIRMED Severity: norma

[Bug c++/116317] [modules] checking ICE in type_node, at cp/module.cc:8693 on stream out with trailing return type based on decltype of argument

2024-10-13 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116317 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org --- Comment

[Bug ipa/115815] [13/14 Regression] ICE: in purge_all_uses, at ipa-param-manipulation.cc:632 with -O2 -flto and incorrect usage of attribute destructor

2024-10-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115815 --- Comment #8 from Sam James --- (In reply to Martin Jambor from comment #7) > Fixed on master, I plan to backport the fix (the first patch) to the > affected release branches next week. Reminder ;)

[Bug c++/113814] [modules] canonical types ICE with imported partial specialization matching existing template-id

2024-10-13 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113814 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org --- Comment

[Bug tree-optimization/116213] [14/15 regression] -Wmaybe-uninitialized in tree-ssa-loop-niter.cc since r14-3460-gabf915193fbf72

2024-10-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116213 --- Comment #8 from Sam James --- (In reply to Andrew Pinski from comment #7) > (In reply to Sam James from comment #3) > > In this case, I suspect the warning might be legit, but bisected to > > r14-3460-gabf915193fbf72 anyway. > > Was this wi

[Bug libstdc++/115444] std::copy_n generates more code than needed

2024-10-13 Thread alfredo.correa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115444 --- Comment #10 from Alfredo Correa --- Wow, that was fast! Great! (I wasn't optimistic, to be honest.)'

[Bug libstdc++/115444] std::copy_n generates more code than needed

2024-10-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115444 --- Comment #9 from Jonathan Wakely --- It will be fixed in the next few days anyway.

[Bug c++/116914] [15 regression] ICE when building plasma-nm-6.1.5 (gimplify_var_or_parm_decl, at gimplify.cc:3309) with -std=gnu++20

2024-10-13 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116914 --- Comment #18 from Iain Sandoe --- Created attachment 59340 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59340&action=edit patch under test The coroutines implementation (intentionally) did not include support for ({}) which is an ext

[Bug c++/92900] Cannot use member of packed struct in constexpr

2024-10-13 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92900 --- Comment #5 from Eric Gallager --- (In reply to Eric Gallager from comment #1) > possibly related to bug 60972 ...and, from the other direction, bug 68160 and bug 36566

[Bug libstdc++/115444] std::copy_n generates more code than needed

2024-10-13 Thread alfredo.correa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115444 --- Comment #8 from Alfredo Correa --- FWIIW, this is the origin of the problem, https://gitlab.com/correaa/boost-multi#broadcast-infinite-views, implementing an iterator type that supports stride == 0. This doesn't form a proper random access

[Bug libstdc++/117094] ranges::fill misses std::move for output_iterator

2024-10-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117094 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Ev

[Bug ipa/111613] [12/13 Regression] Bit field stores can be incorrectly optimized away when -fstore-merging is in effect since r12-5383-g22c242342e38eb

2024-10-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111613 --- Comment #13 from Sam James --- richi or honza: can I test and queue backports for the IPA fixes (the slew from the other month, inc. this one) at least for 13, possibly 12 but don't mind waiting more there?

[Bug ipa/111613] [12/13 Regression] Bit field stores can be incorrectly optimized away when -fstore-merging is in effect since r12-5383-g22c242342e38eb

2024-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111613 --- Comment #12 from GCC Commits --- The releases/gcc-14 branch has been updated by Sam James : https://gcc.gnu.org/g:d8ac855f796b0cf47d80c713d2f01943dffec0b7 commit r14-10780-gd8ac855f796b0cf47d80c713d2f01943dffec0b7 Author: Sam James Date:

[Bug target/116833] [12/13/14/15 Regression] Symbian: incorrect configuration for crtfastmath.o

2024-10-13 Thread fedor_qd at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116833 --- Comment #6 from Fiodar --- I look for floating modes in symbian SDK docs. Here link(now that site and webarchive down) - https://docs.huihoo.com/symbian/nokia-symbian3-developers-library-v0.8/GUID-D525B9A9-6B32-535B-A282-60C85A48D3FB.html

[Bug c++/117127] New: Feature request: Warning on useless 'const' in a function declaration

2024-10-13 Thread rdiez-2006 at rd10 dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117127 Bug ID: 117127 Summary: Feature request: Warning on useless 'const' in a function declaration Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/106676] [C++20] Automatic iterator_category detection misbehaves when `::reference` is an rvalue reference, refuses to accept a forward iterator

2024-10-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106676 --- Comment #7 from Jonathan Wakely --- (In reply to Avi Kivity from comment #5) > I believe this is causing application of std::views::transform() not to > model the underlying view's category, since its iterators can't return an > lvalue. No,

[Bug preprocessor/117124] Header file contents get modified when macro defined before header file inclusion

2024-10-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117124 --- Comment #6 from Sam James --- But the functions he redefines are, right?

[Bug preprocessor/117124] Header file contents get modified when macro defined before header file inclusion

2024-10-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117124 --- Comment #5 from Jonathan Wakely --- Keywords are not reserved identifiers, so for some reason C doesn't say this is undefined. I suppose you just get what you deserve when you replace 'extern' with something that makes the program ill-forme

[Bug rtl-optimization/116488] [15 Regression] wrong code at -O{s,2,3} with "-fno-forward-propagate" on x86_64-linux-gnu

2024-10-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116488 Sam James changed: What|Removed |Added Last reconfirmed|2024-10-01 00:00:00 |2024-10-13 --- Comment #4 from Sam James -

[Bug target/117126] GCC 14 generates redundant movq xmm1, xmm1 instructions with -O2 optimization, leading to code bloat (regression from GCC 13.x)

2024-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117126 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Severity|

[Bug c/117126] New: GCC 14 generates redundant movq xmm1, xmm1 instructions with -O2 optimization, leading to code bloat (regression from GCC 13.x)

2024-10-13 Thread peter.fors at mindkiller dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117126 Bug ID: 117126 Summary: GCC 14 generates redundant movq xmm1, xmm1 instructions with -O2 optimization, leading to code bloat (regression from GCC 13.x) Product: gcc

[Bug preprocessor/117125] No error by if it terminating comment only provided

2024-10-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117125 --- Comment #2 from Sam James --- Please keep in mind the comment I made wrt screenshots. It's OK if they're complementary but please try to avoid them by themselves.

[Bug preprocessor/117125] No error by if it terminating comment only provided

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

[Bug libstdc++/106676] [C++20] Automatic iterator_category detection misbehaves when `::reference` is an rvalue reference, refuses to accept a forward iterator

2024-10-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106676 Jonathan Wakely changed: What|Removed |Added Status|REOPENED|ASSIGNED Assignee|unassigne

[Bug preprocessor/117125] New: No error by if it terminating comment only provided

2024-10-13 Thread akhil.k.joyson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117125 Bug ID: 117125 Summary: No error by if it terminating comment only provided Product: gcc Version: 11.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug preprocessor/117124] Header file contents get modified when macro defined before header file inclusion

2024-10-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117124 --- Comment #4 from Sam James --- "If the program defines a reserved identifier or attribute token described in 6.7.12.1 as a macro name, or removes (with #undef) any macro definition of an identifier in the first group listed above or attribute

[Bug preprocessor/117124] Header file contents get modified when macro defined before header file inclusion

2024-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117124 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID See Also|

[Bug preprocessor/117124] Header file contents get modified when macro defined before header file inclusion

2024-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117124 --- Comment #2 from Andrew Pinski --- >If I #define with any macro which is also available in the header files, Yes that is expected and the behavior that the C standard preprocessor does. For define extern, GCC should most likely warn about

[Bug preprocessor/117124] Header file contents get modified when macro defined before header file inclusion

2024-10-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117124 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #1 fr

[Bug preprocessor/117124] New: Header file contents get modified when macro defined before header file inclusion

2024-10-13 Thread akhil.k.joyson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117124 Bug ID: 117124 Summary: Header file contents get modified when macro defined before header file inclusion Product: gcc Version: 11.4.0 Status: UNCONFIRMED Seve

[Bug target/117116] [15 regression] error: unrecognizable insn: with -march=znver3

2024-10-13 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117116 David Binderman changed: What|Removed |Added CC||rguenther at suse dot de --- Comment

[Bug preprocessor/117118] [12/13/14/15 Regression] ICE with pragma message and raw strings

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

[Bug tree-optimization/117113] ICE on valid code at -O3 with "-fno-tree-dce -fno-inline" on x86_64-linux-gnu: verify_ssa failed

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

[Bug libstdc++/106676] [C++20] Automatic iterator_category detection misbehaves when `::reference` is an rvalue reference, refuses to accept a forward iterator

2024-10-13 Thread avi at scylladb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106676 --- Comment #6 from Avi Kivity --- My reproducer: #include #include #include #include #include void f() { auto stream = std::stringstream("aaa bbb"); auto src = std::ranges::subrange(std::istream_iterator(stream), std::istream_i

[Bug libstdc++/106676] [C++20] Automatic iterator_category detection misbehaves when `::reference` is an rvalue reference, refuses to accept a forward iterator

2024-10-13 Thread avi at scylladb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106676 Avi Kivity changed: What|Removed |Added CC||avi at scylladb dot com --- Comment #5 fro

[Bug middle-end/117123] New: [12/13/14/15 regression] Generated code at -Os on trunk is larger than GCC 14.4

2024-10-13 Thread dccitaliano at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117123 Bug ID: 117123 Summary: [12/13/14/15 regression] Generated code at -Os on trunk is larger than GCC 14.4 Product: gcc Version: unknown Status: UNCONFIRMED Sever

[Bug tree-optimization/116213] [14/15 regression] -Wmaybe-uninitialized in tree-ssa-loop-niter.cc since r14-3460-gabf915193fbf72

2024-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116213 --- Comment #7 from Andrew Pinski --- (In reply to Sam James from comment #3) > In this case, I suspect the warning might be legit, but bisected to > r14-3460-gabf915193fbf72 anyway. Was this with the reduced testcase or the original one? With

[Bug target/117116] [15 regression] error: unrecognizable insn: with -march=znver3

2024-10-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117116 Sam James changed: What|Removed |Added Keywords||ice-on-valid-code Summary|error:

[Bug tree-optimization/116213] [14/15 regression] -Wmaybe-uninitialized in tree-ssa-loop-niter.cc since r14-3460-gabf915193fbf72

2024-10-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116213 --- Comment #6 from Sam James --- (In reply to Richard Biener from comment #5) > The original testcase hardly resembles the situation in the reduced one > besides the initial slew of clobbers from an unrolled loop. I could try again with some g

[Bug libstdc++/117121] [15 regression] heap-buffer-overflow in ranges::{copy,move}_backward for 1-element ranges

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

[Bug libstdc++/117121] [15 regression] heap-buffer-overflow in ranges::{copy,move}_backward for 1-element ranges

2024-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117121 --- Comment #2 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:27f6b376e8e196c7c85c8b47436cd2f2993768da commit r15-4303-g27f6b376e8e196c7c85c8b47436cd2f2993768da Author: Jonathan Wakely Date:

[Bug libstdc++/108846] std::copy, std::copy_n and std::copy_backward on potentially overlapping subobjects

2024-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108846 --- Comment #30 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:27f6b376e8e196c7c85c8b47436cd2f2993768da commit r15-4303-g27f6b376e8e196c7c85c8b47436cd2f2993768da Author: Jonathan Wakely Date

[Bug c/83294] int32_t & related definitions wrong with -funsigned-bitfields

2024-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83294 Andrew Pinski changed: What|Removed |Added CC||luigighiron at gmail dot com --- Comment

[Bug c/117122] -funsigned-bitfields has incorrect behavior with typeof and typedef redefinitions

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

[Bug c/117122] New: -funsigned-bitfields has incorrect behavior with typeof and typedef redefinitions

2024-10-13 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117122 Bug ID: 117122 Summary: -funsigned-bitfields has incorrect behavior with typeof and typedef redefinitions Product: gcc Version: 15.0 Status: UNCONFIRMED Severi

[Bug libstdc++/117121] [15 regression] heap-buffer-overflow in ranges::{copy,move}_backward for 1-element ranges

2024-10-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117121 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Target Milestone|---

[Bug libstdc++/117121] New: [15 regression] heap-buffer-overflow in ranges::{copy,move}_backward for 1-element ranges

2024-10-13 Thread enrico.seiler+gccbugs at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117121 Bug ID: 117121 Summary: [15 regression] heap-buffer-overflow in ranges::{copy,move}_backward for 1-element ranges Product: gcc Version: 15.0 Status: UNCONFIRMED

  1   2   3   >