[Bug sanitizer/100114] libasan built against latest glibc doesn't work

2023-02-06 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100114 --- Comment #13 from Florian Weimer --- (In reply to Alexander Enaldiev from comment #12) > But here I see status 'RESOLVED FIXED'. Do you presume, my today's issue > isn't connected? It could still be the same bug. It's supposed to be fixed

[Bug testsuite/108675] FAIL: gcc.c-torture/execute/builtins/*printf.c when stdio.h includes definitions

2023-02-06 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108675 --- Comment #8 from nightstrike --- (In reply to LIU Hao from comment #7) > (In reply to nightstrike from comment #5) > > (In reply to LIU Hao from comment #4) > > > Does it make any sense to remove `#include ` from > > >

[Bug sanitizer/100114] libasan built against latest glibc doesn't work

2023-02-06 Thread alexander.enaldiev at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100114 Alexander Enaldiev changed: What|Removed |Added CC||alexander.enaldiev at gmail dot

[Bug preprocessor/61638] "warning: multi-line comment" unclear and has false positives

2023-02-06 Thread adrianh.bsc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61638 --- Comment #11 from Jack Adrian Zappa --- That's great. Too bad I'm stuck on 7.5. :D :'(

[Bug c/108690] -Wstrict-prototypes too picky for C23

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

[Bug c/108690] New: -Wstrict-prototypes too picky for C23

2023-02-06 Thread eggert at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108690 Bug ID: 108690 Summary: -Wstrict-prototypes too picky for C23 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug testsuite/108675] FAIL: gcc.c-torture/execute/builtins/*printf.c when stdio.h includes definitions

2023-02-06 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108675 --- Comment #7 from LIU Hao --- (In reply to nightstrike from comment #5) > (In reply to LIU Hao from comment #4) > > Does it make any sense to remove `#include ` from > > 'gcc.c-torture/execute/builtins/lib/fprintf.c' ? > > That will prevent

[Bug analyzer/108689] New: RFE: more precise handling of "fread"-style functions in -fanalyzer

2023-02-06 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108689 Bug ID: 108689 Summary: RFE: more precise handling of "fread"-style functions in -fanalyzer Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/103259] [11/12/13 Regression] ICE in resolve_common_vars, at fortran/resolve.c:956 since r11-3866-g4d2a56a0f7135469

2023-02-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103259 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug tree-optimization/108677] no vectorization when copy constructor is present

2023-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108677 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug modula2/108135] Modula2 meets clang

2023-02-06 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108135 Gaius Mulley changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug modula2/108135] Modula2 meets clang

2023-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108135 --- Comment #7 from CVS Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:d5f933d2c046478c05b463be23021875d08dc647 commit r13-5723-gd5f933d2c046478c05b463be23021875d08dc647 Author: Gaius Mulley Date:

[Bug tree-optimization/108687] [13 Regression] Non-termination since r13-5630-g881bf8de9b0

2023-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108687 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 CC|

[Bug middle-end/108657] [13 Regression] csmith: possible wrong checksum with -O3 and -ftrivial-auto-var-init=zero

2023-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108657 Andrew Pinski changed: What|Removed |Added Summary|csmith: possible wrong |[13 Regression] csmith:

[Bug tree-optimization/108684] [13 Regression] ICE: verify_ssa failed

2023-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108684 Andrew Pinski changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment

[Bug tree-optimization/108684] [13 Regression] ICE: verify_ssa failed

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

[Bug middle-end/108685] [13 Regression] ICE in verify_loop_structure, at cfgloop.cc:1748

2023-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108685 --- Comment #1 from Andrew Pinski --- Most likely r13-2388-ga651e6d59188da

[Bug tree-optimization/108688] [13 Regression] error: ‘bit_field_ref’ of non-mode-precision operand

2023-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108688 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/95107] ICE in hash_operand, at fold-const.c:3768

2023-02-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95107 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot

[Bug tree-optimization/108688] [13 Regression] error: ‘bit_field_ref’ of non-mode-precision operand

2023-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108688 --- Comment #1 from Andrew Pinski --- Most likely r13-3219-g25413fdb2ac2493321

[Bug tree-optimization/108688] [13 Regression] error: ‘bit_field_ref’ of non-mode-precision operand

2023-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108688 Andrew Pinski changed: What|Removed |Added Component|c |tree-optimization Target

[Bug c/108688] New: error: ‘bit_field_ref’ of non-mode-precision operand

2023-02-06 Thread dcb314 at hotmail dot com via Gcc-bugs
, 2, 0>; during GIMPLE pass: ifcvt bug882.c:6:1: internal compiler error: verify_gimple failed $ ~/gcc/results/bin/gcc -v 2>&1 | fgrep exp gcc version 13.0.1 20230206 (experimental) (45e01229af33a3dc) $ The bug first seems to occur sometime between date 20221002 and 20221028.

[Bug middle-end/108687] [13 Regression] Non-termination since r13-5630-g881bf8de9b0

2023-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108687 Andrew Pinski changed: What|Removed |Added Summary|Non-termination since |[13 Regression]

[Bug middle-end/108687] Non-termination since r13-5630-g881bf8de9b0

2023-02-06 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108687 --- Comment #4 from Stefan Schulze Frielinghaus --- I have added a backtrace from GDB where I randomly interrupted. Hope this helps to narrow it down.

[Bug middle-end/108687] Non-termination since r13-5630-g881bf8de9b0

2023-02-06 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108687 --- Comment #3 from Stefan Schulze Frielinghaus --- Created attachment 54415 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54415=edit Random backtrace after some time

[Bug middle-end/108687] Non-termination since r13-5630-g881bf8de9b0

2023-02-06 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108687 --- Comment #2 from Stefan Schulze Frielinghaus --- (In reply to Stefan Schulze Frielinghaus from comment #0) > Running gcc -O3 -c t.c on s390x does not terminate. More specifically: gcc -O3 -march=z13 -c t.c

[Bug middle-end/108687] Non-termination since r13-5630-g881bf8de9b0

2023-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108687 Andrew Pinski changed: What|Removed |Added Summary|Non-termination since |Non-termination since

[Bug middle-end/108687] New: Non-termination since gcc-13-5630-g881bf8de9b0

2023-02-06 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108687 Bug ID: 108687 Summary: Non-termination since gcc-13-5630-g881bf8de9b0 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/108686] New: Spurious -Wc-binding-type diagnostics when including omp_lib.h

2023-02-06 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108686 Bug ID: 108686 Summary: Spurious -Wc-binding-type diagnostics when including omp_lib.h Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/108684] [13 Regression] ICE: verify_ssa failed

2023-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108684 Andrew Pinski changed: What|Removed |Added Version|unknown |13.0 Target Milestone|---

[Bug modula2/107234] Format error in m2pp.cc (m2pp_integer_cst)

2023-02-06 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107234 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c/108685] New: [13 Regression] ICE in verify_loop_structure, at cfgloop.cc:1748

2023-02-06 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108685 Bug ID: 108685 Summary: [13 Regression] ICE in verify_loop_structure, at cfgloop.cc:1748 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug modula2/107234] Format error in m2pp.cc (m2pp_integer_cst)

2023-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107234 --- Comment #2 from CVS Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:17d0892d61a82a338925c81853b45eb8b4929fc0 commit r13-5721-g17d0892d61a82a338925c81853b45eb8b4929fc0 Author: Gaius Mulley Date:

[Bug c++/108684] New: [13 Regression] ICE: verify_ssa failed

2023-02-06 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108684 Bug ID: 108684 Summary: [13 Regression] ICE: verify_ssa failed Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug testsuite/108675] FAIL: gcc.c-torture/execute/builtins/*printf.c when stdio.h includes definitions

2023-02-06 Thread zack+srcbugz at owlfolio dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108675 --- Comment #6 from Zack Weinberg --- Note that what you (mingw) have in this header is a pretty serious anti-optimization. Functions that call __builtin_va_start cannot be inlined under any circumstances whatsoever (try tagging it

[Bug middle-end/108657] csmith: possible wrong checksum with -O3 and -ftrivial-auto-var-init=zero

2023-02-06 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108657 --- Comment #10 from David Binderman --- Bingo ! >From snapshot 20220703, with g:f3a5e75cb66dc96e, to 20220807, with g:ef54eb74cab17737, it goes wrong. Perhaps someone who has the git history would like to bisect this.

[Bug middle-end/108657] csmith: possible wrong checksum with -O3 and -ftrivial-auto-var-init=zero

2023-02-06 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108657 --- Comment #9 from David Binderman --- Same thing, back to 20220807.

[Bug fortran/108680] Wrong DTIO arguments with -fdefault-integer-8

2023-02-06 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug testsuite/108675] FAIL: gcc.c-torture/execute/builtins/*printf.c when stdio.h includes definitions

2023-02-06 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108675 --- Comment #5 from nightstrike --- (In reply to LIU Hao from comment #4) > Does it make any sense to remove `#include ` from > 'gcc.c-torture/execute/builtins/lib/fprintf.c' ? That will prevent the FILE type from existing, so the replacement

[Bug modula2/107234] Format error in m2pp.cc (m2pp_integer_cst)

2023-02-06 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107234 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug c++/107461] [12 Regression] ambiguity error for friend with templated constexpr argument

2023-02-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107461 Patrick Palka changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug c++/107461] [12 Regression] ambiguity error for friend with templated constexpr argument

2023-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107461 --- Comment #14 from CVS Commits --- The releases/gcc-12 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:eda24f6c12b6d3777ff3bf3656187e695a3e8dc2 commit r12-9110-geda24f6c12b6d3777ff3bf3656187e695a3e8dc2 Author: Patrick Palka

[Bug c++/108683] Move Occurs when initializing an aggregate base

2023-02-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108683 --- Comment #3 from Jonathan Wakely --- Pretend I didn't say empty then :) I think the problem is for any potentially overlapping subobject, which includes bases. Empty or not.

[Bug tree-optimization/108667] Spurious "may be used uninitialized [-Wmaybe-uninitialized]" warning

2023-02-06 Thread alvaro.begue at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108667 --- Comment #4 from Alvaro Begue --- Original code: #include #include #include template class Signal { public: using Slot = std::function; using FoldingFunction = std::function; Signal(FoldingFunction fold, ReturnType initial)

[Bug c++/108683] Move Occurs when initializing an aggregate base

2023-02-06 Thread davidledger at live dot com.au via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108683 --- Comment #2 from David Ledger --- Bar stores an int, it isn't empty.

[Bug target/108316] [13 Regression] ICE in maybe_gen_insn via expand_SCATTER_STORE when vectorizing for SVE since r13-2737-g4a773bf2f08656

2023-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108316 --- Comment #3 from Jakub Jelinek --- Seems vect_check_gather_scatter sees that there is no scatter_storevnx2qivnx2si nor mask_scatter_storevnx2qivnx2si and loops (in vect_gather_scatter_fn_p) to try scatter_storevnx2qivnx2di instead which does

[Bug c++/108620] internal compiler error: in instantiate_type, at cp/class.cc:8742 when assign the return value of co_yield to a member of class/struct

2023-02-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108620 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/104921] aarch64: Assembler failure with vbfmlalbq_lane_f32 intrinsic

2023-02-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104921 --- Comment #5 from CVS Commits --- The master branch has been updated by Alex Coplan : https://gcc.gnu.org/g:277e1f30a5e4e634304a7b8a532825119f0ea47f commit r13-5718-g277e1f30a5e4e634304a7b8a532825119f0ea47f Author: Alex Coplan Date: Mon

[Bug target/108603] [12/13 Regression] ICE in output_operand_lossage with SVE and ilp32

2023-02-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108603 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment

[Bug c/108660] Wrong location for first statement of for loop (-Wunused-value)

2023-02-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108660 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Ever

[Bug c++/108683] Move Occurs when initializing an aggregate base

2023-02-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108683 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/98995] [10/11/12/13 Regression] Copy elision not applied to members declared with [[no_unique_address]] or a empty base class

2023-02-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98995 Jonathan Wakely changed: What|Removed |Added CC||davidledger at live dot com.au ---

[Bug rtl-optimization/108681] [13 Regression] gcc hangs compiling opencv/channels_combine.cpp for aarch64

2023-02-06 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108681 rsandifo at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc

[Bug libstdc++/108630] build failure with LTO enabled

2023-02-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108630 --- Comment #4 from Jonathan Wakely --- The uses of .symver in src/c++98/compatibility.cc are hard to change, so this isn't going to be fixed any time soon. I suggest simply not using LTO for libstdc++.

[Bug c++/108563] [10/11/12/13 Regression] [concepts] ICE (segfault) when requiring sizeof(variable_tempalate_v) since r10-7441-ga7ea3d2ced786c45

2023-02-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108563 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/108566] [11/12/13 Regression] ICE: tree check: expected tree that contains 'decl with visibility' structure, have 'field_decl' in write_unqualified_name with anonymous struct inside an anonym

2023-02-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108566 Martin Liška changed: What|Removed |Added Summary|ICE: tree check: expected |[11/12/13 Regression] ICE:

[Bug target/108316] [13 Regression] ICE in maybe_gen_insn via expand_SCATTER_STORE when vectorizing for SVE since r13-2737-g4a773bf2f08656

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

[Bug c++/108563] [10/11/12/13 Regression] [concepts] ICE (segfault) when requiring sizeof(variable_tempalate_v) since r10-7441-ga7ea3d2ced786c45

2023-02-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108563 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|[concepts] ICE

[Bug middle-end/108657] csmith: possible wrong checksum with -O3 and -ftrivial-auto-var-init=zero

2023-02-06 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108657 --- Comment #8 from David Binderman --- (In reply to David Binderman from comment #7) > I will have a look at how to get at dates before the clone date. I used snapshots instead. I tried 20221002, and got $ ./results.20221002/bin/gcc -w -O3

[Bug fortran/107214] [13 Regression] ICE: base pointer cycle detected since r13-2661-gb57abd072dd319a7

2023-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107214 Jakub Jelinek changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug tree-optimization/106923] [13 Regression] ICE in eliminate_unnecessary_stmts, at tree-ssa-dce.cc:1512 since r13-2518-ga262f969d6fd936f

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

[Bug c++/108683] New: Move Occurs when initializing an aggregate base

2023-02-06 Thread davidledger at live dot com.au via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108683 Bug ID: 108683 Summary: Move Occurs when initializing an aggregate base Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug preprocessor/28388] stringify (#) operator broken

2023-02-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28388 --- Comment #8 from Jonathan Wakely --- r239175 seemed to fix it: "On-demand locations within string-literals"

[Bug middle-end/28614] gcc.c-torture/compile/20001226-1.c times out

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

[Bug tree-optimization/106912] [13 Regression] ICE in vect_transform_loops, at tree-vectorizer.cc:1032 since r13-1575-gcf3a120084e94614

2023-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106912 --- Comment #10 from Jakub Jelinek --- Also, the other PR is about a function being made const late when it previously wasn't, while in this case it is being made non-const after it has been const before. /* Drop pure/const flags from

[Bug preprocessor/28388] stringify (#) operator broken

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

[Bug middle-end/27800] extra temprorary created when gimplifying return

2023-02-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27800 --- Comment #3 from Richard Biener --- (In reply to Dan Nicolaescu from comment #1) > An even simpler example which occurs quite frequently in programs: > > int jjj (int a){ return bar (a); } > > jjj (a) > { > int D.1891; > int D.1892; >

[Bug tree-optimization/26854] Inordinate compile times on large routines

2023-02-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26854 --- Comment #143 from Richard Biener --- Checking with GCC 13, _num.i now behaves very nice with no obvious badness. compiler.i behaves OK-ish, peaks are the following now alias stmt walking : 10.33 ( 8%) parser function

[Bug tree-optimization/106912] [13 Regression] ICE in vect_transform_loops, at tree-vectorizer.cc:1032 since r13-1575-gcf3a120084e94614

2023-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106912 --- Comment #9 from Jakub Jelinek --- (In reply to Andrew Pinski from comment #8) > I think PR 106433 is the same exact issue. It is not. The PR106433 patch doesn't fix this, the bug there is late set_const_flag, while in this case it is an

[Bug tree-optimization/18687] >200% compile time regression compared to gcc-3.4

2023-02-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18687 --- Comment #56 from Richard Biener --- GCC 12 now takes sub-second time for the larger testcases and with optimization it's now early VRP taking most of the time.

[Bug tree-optimization/106896] [13 Regression] ICE in to_sreal_scale, at profile-count.cc:339 since r13-2288-g61c4c989034548f4

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

[Bug tree-optimization/106433] [13 Regression] ICE in vect_transform_loops, at tree-vectorizer.cc:1032

2023-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106433 --- Comment #4 from Jakub Jelinek --- Created attachment 54413 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54413=edit gcc13-pr106433.patch Seems in this case the set_const_call happens far later, during the local-pure-const2 pass very

[Bug ipa/108383] g++ ICE with -O3 and -flto and -fdeclone-ctor-dtor on simple function

2023-02-06 Thread eebssk1 at godaftwithebk dot pub via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108383 --- Comment #6 from BBK --- I will try modify gcc's code to simply return instead of assert error if the condition does not match to allow the compilation, and then check if the result binary still woking as expected. This is only solution I

[Bug c++/24208] C++ front-end can still be sped up

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

[Bug rtl-optimization/108681] [13 Regression] gcc hangs compiling opencv/channels_combine.cpp for aarch64

2023-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108681 Jakub Jelinek changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org ---

[Bug testsuite/108675] FAIL: gcc.c-torture/execute/builtins/*printf.c when stdio.h includes definitions

2023-02-06 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108675 --- Comment #4 from LIU Hao --- Does it make any sense to remove `#include ` from 'gcc.c-torture/execute/builtins/lib/fprintf.c' ?

[Bug debug/108656] [12/13 Regression] '-fcompare-debug' failure (length) w/ -O2 -fno-ipa-pure-const -fno-tree-dce --param early-inlining-insns=0 since r12-5236

2023-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108656 --- Comment #12 from Jakub Jelinek --- (In reply to rguent...@suse.de from comment #11) > On Mon, 6 Feb 2023, jakub at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108656 > > > > --- Comment #10 from Jakub Jelinek

[Bug debug/108656] [12/13 Regression] '-fcompare-debug' failure (length) w/ -O2 -fno-ipa-pure-const -fno-tree-dce --param early-inlining-insns=0 since r12-5236

2023-02-06 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108656 --- Comment #11 from rguenther at suse dot de --- On Mon, 6 Feb 2023, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108656 > > --- Comment #10 from Jakub Jelinek --- > Anyway, if we decided that it is ok to

[Bug c++/66968] Incorrect template argument shown in diagnostic

2023-02-06 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66968 --- Comment #10 from Ivan Sorokin --- One more case (from 108676): template struct X {}; template X f(); template X g(); int main() { g(); } Here 'X' is printed in the error message instead of 'X'.

[Bug rtl-optimization/108681] [13 Regression] gcc hangs compiling opencv/channels_combine.cpp for aarch64

2023-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108681 --- Comment #5 from Jakub Jelinek --- The peephole2 dump keeps repeating Finished finding needed instructions: processing block 3 lr out = 31 [sp] 34 [v2] 35 [v3] 36 [v4] 37 [v5] 40 [v8] Adding insn 12 to worklist Adding insn 36 to

[Bug c++/108676] template parameters are misprinted in function signature

2023-02-06 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108676 Ivan Sorokin changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/66968] Incorrect template argument shown in diagnostic

2023-02-06 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66968 Ivan Sorokin changed: What|Removed |Added CC||vanyacpp at gmail dot com --- Comment #9

[Bug debug/108656] [12/13 Regression] '-fcompare-debug' failure (length) w/ -O2 -fno-ipa-pure-const -fno-tree-dce --param early-inlining-insns=0 since r12-5236

2023-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108656 --- Comment #10 from Jakub Jelinek --- Anyway, if we decided that it is ok to have just the incoming ab edges, we'd need to change any code that can DCE or inline calls to update abnormal edges not just for the case where the last stmt used to

[Bug testsuite/108675] FAIL: gcc.c-torture/execute/builtins/*printf.c when stdio.h includes definitions

2023-02-06 Thread 10walls at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108675 --- Comment #3 from jon_y <10walls at gmail dot com> --- I'm fine with something like __HIDE_PRINTF_PROTOTYPES to prevent them from being exposed, though there may be places that needs to be fixed up from assuming the prototypes exist.

[Bug debug/108656] [12/13 Regression] '-fcompare-debug' failure (length) w/ -O2 -fno-ipa-pure-const -fno-tree-dce --param early-inlining-insns=0 since r12-5236

2023-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108656 --- Comment #9 from Jakub Jelinek --- In the setjmp/longjmp case obviously you need some other function that will do the longjmp, on the other side setjmp as pure makes no sense because setjmp has to remember pc/sp etc. in some jump buffer, so

[Bug libffi/108682] New: libffi needs to merge upstream to get LoongArch support

2023-02-06 Thread robinlee.sysu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108682 Bug ID: 108682 Summary: libffi needs to merge upstream to get LoongArch support Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/108681] [13 Regression] gcc hangs compiling opencv/channels_combine.cpp for aarch64

2023-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108681 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug debug/108656] [12/13 Regression] '-fcompare-debug' failure (length) w/ -O2 -fno-ipa-pure-const -fno-tree-dce --param early-inlining-insns=0 since r12-5236

2023-02-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108656 --- Comment #8 from Richard Biener --- (In reply to Jakub Jelinek from comment #7) > (In reply to Richard Biener from comment #6) > > (In reply to Jakub Jelinek from comment #5) > > > Created attachment 54412 [details] > > >

[Bug gcov-profile/108658] [GCOV] Function entry is not recorded in a function containing an infinite loop from another thread depending on the optimization level

2023-02-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108658 --- Comment #7 from Richard Biener --- -fno-move-loop-stores disables the store motion.

[Bug gcov-profile/108658] [GCOV] Function entry is not recorded in a function containing an infinite loop from another thread depending on the optimization level

2023-02-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108658 --- Comment #6 from Richard Biener --- The relevant optimization happens in invariant motion which applies store-motion to void * idle (void * ignored) { long int PROF_edge_counter_1; long int PROF_edge_counter_2; [local count:

[Bug debug/108656] [12/13 Regression] '-fcompare-debug' failure (length) w/ -O2 -fno-ipa-pure-const -fno-tree-dce --param early-inlining-insns=0 since r12-5236

2023-02-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108656 --- Comment #7 from Jakub Jelinek --- (In reply to Richard Biener from comment #6) > (In reply to Jakub Jelinek from comment #5) > > Created attachment 54412 [details] > > gcc13-pr108656.patch > > > > So shall we fix it like this then? > >

[Bug libstdc++/108674] [wish] *Please* silence *intentional* (non-UB!) unsigned overflow in an libstdc++ header

2023-02-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108674 --- Comment #12 from Jonathan Wakely --- (In reply to Roman Lebedev from comment #10) > I'm not at all familiar with the GCC's preferred patch protocol, See https://gcc.gnu.org/contribute.html#patches > this is the result of `git format-patch

[Bug tree-optimization/108677] no vectorization when copy constructor is present

2023-02-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108677 Richard Biener changed: What|Removed |Added Summary|wrong vectorization (when |no vectorization when copy

[Bug debug/108656] [12/13 Regression] '-fcompare-debug' failure (length) w/ -O2 -fno-ipa-pure-const -fno-tree-dce --param early-inlining-insns=0 since r12-5236

2023-02-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108656 --- Comment #6 from Richard Biener --- (In reply to Jakub Jelinek from comment #5) > Created attachment 54412 [details] > gcc13-pr108656.patch > > So shall we fix it like this then? But isn't this the wrong "side"? returns_twice means it is

[Bug libstdc++/108674] [wish] *Please* silence *intentional* (non-UB!) unsigned overflow in an libstdc++ header

2023-02-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108674 --- Comment #11 from Jonathan Wakely --- (In reply to Roman Lebedev from comment #9) > (In reply to Jonathan Wakely from comment #7) > > (In reply to Roman Lebedev from comment #0) > > > I believe in the version 12, a new instance of such

[Bug c++/108676] template parameters are misprinted in function signature

2023-02-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108676 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug ipa/108679] [13 Regression] ice in modify_call, at ipa-param-manipulation.cc:656 since r13-4685-g4834e9360f7bf42f

2023-02-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108679 Martin Liška changed: What|Removed |Added Summary|[13 Regression] ice in |[13 Regression] ice in

[Bug gcov-profile/108658] [GCOV] Function entry is not recorded in a function containing an infinite loop from another thread depending on the optimization level

2023-02-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108658 Martin Liška changed: What|Removed |Added CC||rguenth at gcc dot gnu.org

[Bug testsuite/108675] FAIL: gcc.c-torture/execute/builtins/*printf.c when stdio.h includes definitions

2023-02-06 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108675 --- Comment #2 from nightstrike --- (In reply to Richard Biener from comment #1) > These tests are known to be a bit awkwardly implemented to check for > optimizations done ... How would you do it if you were writing the test today? > There

[Bug tree-optimization/108677] wrong vectorization (when copy constructor is present?)

2023-02-06 Thread vincenzo.innocente at cern dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108677 --- Comment #3 from vincenzo Innocente --- sorry. the original internal bug report was for gcc 7.5 https://godbolt.org/z/9crafbqen where I think the generated code is indeed wrong (and does not depend on the presence of the constructor!) SO,

  1   2   >