[Bug c++/109247] New: [13 Regression] error: converting to ‘optional’ from initializer list would use explicit constructor ‘optional<_Tp>::optional(_Up) [with _Up = int; _

2023-03-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109247 Bug ID: 109247 Summary: [13 Regression] error: converting to ‘optional’ from initializer list would use explicit constructor ‘optional<_Tp>::optional(_Up) [with

[Bug c/109233] [12/13 Regression] warning: array subscript 5 is above array bounds of ‘struct tg3_napi[5]’ since r12-2591

2023-03-22 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109233 Uroš Bizjak changed: What|Removed |Added Attachment #54729|0 |1 is obsolete|

[Bug tree-optimization/109176] [13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-03-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 Jakub Jelinek changed: What|Removed |Added Attachment #54718|0 |1 is obsolete|

[Bug tree-optimization/109176] [13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-03-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 --- Comment #14 from Jakub Jelinek --- So, e.g. in the gcc.target/i386/sse4_1-pr88547-1.c testcase, we have before veclower21: v2di f13 (v2di x, v2di y) { vector(2) _1; v2di _4; [local count: 1073741824]: _1 = x_2(D) <= y_3(D); _4

[Bug ada/109212] Ada "for" expression generates gcc error

2023-03-22 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109212 --- Comment #4 from Eric Botcazou --- > Thanks for the quick check. Do I need to do anything on this bug report to > close it? No, it has already been closed.

[Bug middle-end/109246] New: Missed optimization for 2-dimensional array with equal values accessed through Enums

2023-03-22 Thread andre.schackier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109246 Bug ID: 109246 Summary: Missed optimization for 2-dimensional array with equal values accessed through Enums Product: gcc Version: 12.2.0 Status: UNCONFIRMED

[Bug c/109233] [12/13 Regression] warning: array subscript 5 is above array bounds of ‘struct tg3_napi[5]’ since r12-2591

2023-03-22 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109233 --- Comment #5 from Uroš Bizjak --- Created attachment 54731 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54731=edit Even more minimized testcase.

[Bug c/109233] [12/13 Regression] warning: array subscript 5 is above array bounds of ‘struct tg3_napi[5]’ since r12-2591

2023-03-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109233 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Target Milestone|---

[Bug c/109233] warning: array subscript 5 is above array bounds of ‘struct tg3_napi[5]’ since r12-2591

2023-03-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109233 Jakub Jelinek changed: What|Removed |Added Summary|warning: array subscript 5 |warning: array subscript 5

[Bug driver/108865] gcc on Windows fails with Unicode path to source file

2023-03-22 Thread costas.argyris at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108865 --- Comment #23 from Costas Argyris --- Created attachment 54730 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54730=edit Make symbol optional Could you please try this patch?

[Bug tree-optimization/109154] [13 regression] jump threading de-optimizes nested floating point comparisons

2023-03-22 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109154 --- Comment #5 from avieira at gcc dot gnu.org --- Im slightly confused here, on entry to BB 5 we know the opposite of _1 < 0.0 no? if we branch to BB 5 we know !(_1 < 0.0) so we can't fold _1 <= 1.0, we just know that the range of _1 is >= 0.0

[Bug c/109233] warning: array subscript 5 is above array bounds of ‘struct tg3_napi[5]’

2023-03-22 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109233 --- Comment #3 from Uroš Bizjak --- Created attachment 54729 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54729=edit Minimized testcase WIP, but *substantially* minimized. gcc -O2 -Warray-bounds: tg3-6.c: In function ‘tg3_init_one’:

[Bug libgcc/109245] aarch64 gcc defaults to -moutline-atomics but symbol ‘__aarch64_swp4_sync’ is hidden in libgcc.a

2023-03-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109245 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-03-22

[Bug tree-optimization/109154] [13 regression] jump threading de-optimizes nested floating point comparisons

2023-03-22 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109154 Aldy Hernandez changed: What|Removed |Added CC||amacleod at redhat dot com,

[Bug driver/108865] gcc on Windows fails with Unicode path to source file

2023-03-22 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108865 LIU Hao changed: What|Removed |Added CC||lh_mouse at 126 dot com --- Comment #22 from

[Bug debug/109237] csmith: another timeout with -g -O3 this time since r12-156-g8d4c374c4419a875

2023-03-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109237 --- Comment #10 from Richard Biener --- There's similar issues with GIMPLE uses of last_stmt () which generally (but not always) want to look at a possible control transfer stmt. It looks like we're not guaranteed to have no debug stmts after

[Bug libgcc/109245] aarch64 gcc defaults to -moutline-atomics but symbol ‘__aarch64_swp4_sync’ is hidden in libgcc.a

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

[Bug libgcc/109245] New: aarch64 gcc defaults to -moutline-atomics but symbol ‘__aarch64_swp4_sync’ is hidden in libgcc.a

2023-03-22 Thread songmz1999 at foxmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109245 Bug ID: 109245 Summary: aarch64 gcc defaults to -moutline-atomics but symbol ‘__aarch64_swp4_sync’ is hidden in libgcc.a Product: gcc Version: 12.2.0 Status:

[Bug tree-optimization/109240] Missed fneg/fsub optimization

2023-03-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109240 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug debug/109237] csmith: another timeout with -g -O3 this time since r12-156-g8d4c374c4419a875

2023-03-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109237 --- Comment #9 from Richard Biener --- Samples: 289K of event 'cycles:u', Event count (approx.): 384226334976 Overhead Samples Command Shared Object Symbol 3.52% 9747 cc1 cc1

[Bug tree-optimization/109008] [13 Regression] Wrong code in scipy package since r13-3926-gd4c2f1d376da6f

2023-03-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109008 --- Comment #50 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:81295d445ec569c6413fd6f7921e27420167f8fa commit r13-6797-g81295d445ec569c6413fd6f7921e27420167f8fa Author: Aldy Hernandez Date:

[Bug debug/109237] csmith: another timeout with -g -O3 this time since r12-156-g8d4c374c4419a875

2023-03-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109237 Martin Liška changed: What|Removed |Added Summary|csmith: another timeout |csmith: another timeout

[Bug tree-optimization/109176] [13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-03-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 --- Comment #13 from Jakub Jelinek --- Unfortunately the patch breaks quite a lot of tests on x86_64: +FAIL: c-c++-common/goacc/firstprivate-mappings-1.c (internal compiler error: in gimple_expand_vec_cond_expr, at gimple-isel.cc:249) +FAIL:

[Bug debug/109237] csmith: another timeout with -g -O3 this time

2023-03-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109237 --- Comment #7 from Richard Biener --- Created attachment 54727 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54727=edit patch for delete_trivially_dead_insns The attached improves that to trivially dead code: 2.16 (

[Bug target/109244] internal compiler error: in setup_preferred_alternate_classes_for_new_pseudos, at ira.cc:2892

2023-03-22 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109244 --- Comment #3 from JuzheZhong --- (In reply to Mathieu Malaterre from comment #2) > Thanks for the quick update. I'll stop my test until this is merged. > > As a side note, I am also seeing this one in my log: > > internal compiler error: in

[Bug debug/109237] csmith: another timeout with -g -O3 this time

2023-03-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109237 --- Comment #6 from Richard Biener --- For delete_trivially_dead_insns we have for (insn = get_last_insn (); insn; insn = prev) { int live_insn = 0; prev = PREV_INSN (insn); if (!INSN_P (insn)) continue;

[Bug target/109244] internal compiler error: in setup_preferred_alternate_classes_for_new_pseudos, at ira.cc:2892

2023-03-22 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109244 --- Comment #2 from Mathieu Malaterre --- Thanks for the quick update. I'll stop my test until this is merged. As a side note, I am also seeing this one in my log: internal compiler error: in finalize_new_accesses, at rtl-ssa/changes.cc:471

[Bug tree-optimization/109240] Missed fneg/fsub optimization

2023-03-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109240 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org ---

[Bug target/109244] internal compiler error: in setup_preferred_alternate_classes_for_new_pseudos, at ira.cc:2892

2023-03-22 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109244 --- Comment #1 from JuzheZhong --- Hi, thank you for reporting it. After several tries. I am pretty sure this issue has been fixed by this patch: https://gcc.gnu.org/pipermail/gcc-patches/2023-March/614393.html I have several bug fix patches

[Bug tree-optimization/109238] [13 Regression] tst-realloc.i:42:19: error: pointer ‘p’ may be used after ‘realloc’ [-Werror=use-after-free] in glibc tests

2023-03-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109238 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug debug/109237] csmith: another timeout with -g -O3 this time

2023-03-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109237 Richard Biener changed: What|Removed |Added Last reconfirmed||2023-03-22

[Bug c/80528] reimplement gnulib's "useless-if-before-free" script as a compiler warning

2023-03-22 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80528 Eric Gallager changed: What|Removed |Added CC||rep.dot.nop at gmail dot com ---

[Bug c++/109244] New: internal compiler error: in setup_preferred_alternate_classes_for_new_pseudos, at ira.cc:2892

2023-03-22 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109244 Bug ID: 109244 Summary: internal compiler error: in setup_preferred_alternate_classes_for_new_pseudos, at ira.cc:2892 Product: gcc Version: 13.0

[Bug d/109231] [13 regression] Comparison failure in libphobos/libdruntime/rt/util/typeinfo.o

2023-03-22 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109231 --- Comment #9 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #8 from ro at CeBiTec dot Uni-Bielefeld.DE Uni-Bielefeld.DE> --- >> --- Comment #7 from Jakub Jelinek --- >> No luck reproducing this using a cross. > > Ok, so I'll

[Bug target/106543] [10/11/12 Regression] *sge_ uses operand 2 but there is no operand 2

2023-03-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106543 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-03-22 Known to work|

<    1   2