[Bug middle-end/100508] ICE with '-g -O3': in expand_debug_locations, at cfgexpand.c:5618

2021-05-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100508 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code, openmp

[Bug tree-optimization/100509] ICE at -O3: in fold_convert_loc with variable (attribute) alias of different types

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

[Bug middle-end/100471] #pragma omp taskloop with custom reduction

2021-05-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100471 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:98acbb3111fcb5e57d5e63d46c0d92f4e53e3c2a commit r12-706-g98acbb3111fcb5e57d5e63d46c0d92f4e53e3c2a Author: Jakub Jelinek Date: Tu

[Bug tree-optimization/100511] Fail to remove dead code in loop

2021-05-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100511 --- Comment #4 from Richard Biener --- I don't see how we can say x->count is loop invariant, the GIMPLE memory model allows aliasing of 'g' via 'x->count' since the effective type of 'g' can be a struct XX (and the store via 'g' doesn't change

[Bug tree-optimization/100512] [12 Regression] ICE during GIMPLE pass: cddce in mark_operand_necessary, at tree-ssa-dce.c:173 (under -O2 to -Os)

2021-05-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100512 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-05-11 CC|

[Bug ipa/100513] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3

2021-05-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 Richard Biener changed: What|Removed |Added Target||powerpc64le-linux CC|

[Bug ipa/100513] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug ipa/100513] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #10 from Martin Liška --- Reproduced with master on gcc112 machine (ppc64le).

[Bug target/100152] [10/11/12 Regression] used caller-saved register not preserved across a call.

2021-05-11 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100152 --- Comment #53 from Iain Sandoe --- on macOS 10.15 (Darwin19) with r12-637-g56103737 comparing unpatched / patched. -WARNING: 29_atomics/atomic_float/wait_notify.cc execution test program timed out. -FAIL: 29_atomics/atomic_float/wait_notify.c

[Bug tree-optimization/100511] Fail to remove dead code in loop

2021-05-11 Thread jiangning.liu at amperecomputing dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100511 --- Comment #5 from Jiangning Liu --- If we change "c3 = a" to "c3 = x->b", GCC can optimize it without IPA. It seems VRP is working for this case. $ cat tt7.c #include int a; typedef struct { int b; int count; } XX; int g; __attrib

[Bug tree-optimization/100512] [12 Regression] ICE during GIMPLE pass: cddce in mark_operand_necessary, at tree-ssa-dce.c:173 (under -O2 to -Os) since r12-623-g1416a1434c43de0b

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100512 Martin Liška changed: What|Removed |Added Summary|[12 Regression] ICE during |[12 Regression] ICE during

[Bug tree-optimization/100509] ICE at -O3: in fold_convert_loc with variable (attribute) alias of different types

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100509 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #3

[Bug middle-end/100508] ICE with '-g -O3': in expand_debug_locations, at cfgexpand.c:5618

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100508 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #2

[Bug c/100504] ICE: tree check: expected string_cst, have integer_cst in get_attr_len, at multiple_target.c:198

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100504 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org St

[Bug c++/100502] [11/12 Regression] ICE in enforce_access at cp/semantics.c:368 since r11-6800-g29853c653245c37e

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100502 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/100502] [11/12 Regression] ICE in enforce_access at cp/semantics.c:368 since r11-6800-g29853c653245c37e

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100502 Martin Liška changed: What|Removed |Added Priority|P3 |P1

[Bug middle-end/100508] ICE with '-g -O3': in expand_debug_locations, at cfgexpand.c:5618

2021-05-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100508 --- Comment #3 from Jakub Jelinek --- If you change it to #pragma omp declare simd it will start certainly earlier. I think the bug is in the inliner. Before dse1 we have: V m; : m_2 = j; # DEBUG m => m_2 and dse1 turns that into: #

[Bug ipa/100513] [11/12 Regression] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3 since r11-6411-gae99b315ba5b9e1c

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 Martin Liška changed: What|Removed |Added CC||hubicka at gcc dot gnu.org Su

[Bug ipa/100513] [11/12 Regression] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3 since r11-6411-gae99b315ba5b9e1c

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 Martin Liška changed: What|Removed |Added Target Milestone|--- |11.2 Priority|P3

[Bug debug/100515] New: [12 Regression] ICE in output_rnglists, at dwarf2out.c:12294

2021-05-11 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100515 Bug ID: 100515 Summary: [12 Regression] ICE in output_rnglists, at dwarf2out.c:12294 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug debug/100515] [12 Regression] ICE in output_rnglists, at dwarf2out.c:12294

2021-05-11 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100515 --- Comment #1 from Arseny Solokha --- (In reply to Arseny Solokha from comment #0) > reduced from > clang/testsuite/AST/ast-dump-openmp-taskloop-simd.c Reduced from test/AST/ast-dump-openmp-taskloop-simd.c from the clang 11.1.0 test suite.

[Bug tree-optimization/100499] Different results with -fpeel-loops -ftree-loop-vectorize options

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100499 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug tree-optimization/100499] Different results with -fpeel-loops -ftree-loop-vectorize options

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100499 --- Comment #3 from Martin Liška --- But expected result is end g_2823 = 32768, right? Clang returns the same result 32768.

[Bug tree-optimization/100499] Different results with -fpeel-loops -ftree-loop-vectorize options

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100499 Martin Liška changed: What|Removed |Added CC||amker at gcc dot gnu.org --- Comment #4

[Bug tree-optimization/100499] Different results with -fpeel-loops -ftree-loop-vectorize options

2021-05-11 Thread dongjianqiang2 at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100499 --- Comment #5 from John Dong --- (In reply to Martin Liška from comment #3) > But expected result is end g_2823 = 32768, right? > Clang returns the same result 32768. Yes, I think so.

[Bug debug/100515] [12 Regression] ICE in output_rnglists, at dwarf2out.c:12294 since r12-574-ge69ac0203725fb8d

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100515 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-05-11 Summary|[12 Regres

[Bug target/96005] Add possibility to use newer ptx isa

2021-05-11 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96005 --- Comment #2 from Tom de Vries --- On my usual machine, using system cuda I don't get beyond 6.1: ... diff --git a/gcc/config/nvptx/nvptx.c b/gcc/config/nvptx/nvptx.c index 7a7a9130e84..ecf3803df3c 100644 --- a/gcc/config/nvptx/nvptx.c +++ b/gc

[Bug c++/100516] New: Unexpected -Wstringop-overread in deque initialization from empty initializer_list

2021-05-11 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100516 Bug ID: 100516 Summary: Unexpected -Wstringop-overread in deque initialization from empty initializer_list Product: gcc Version: 11.1.0 Status: UNCONFIRMED Key

[Bug c++/100516] Unexpected -Wstringop-overread in deque initialization from empty initializer_list

2021-05-11 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100516 --- Comment #1 from vopl at bk dot ru --- Please look at the following code, it throws an unexpected warning [-Wstringop-overread]. $ cat b11.cpp && echo EOF #include void f() { std::initializer_list il{}; std::deque{il}; } EOF

[Bug target/100497] [OpenMP][nvptx] libgomp.c-c++-common/reduction-5.c - fails on some nvptx systems

2021-05-11 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100497 --- Comment #9 from Tom de Vries --- (In reply to Tobias Burnus from comment #8) > I am wondering whether it has something to do with shfl now requiring .sync, > especially for sm_70. (Non-sync version was deprecated in ISA 6.0 and for > sm_70 r

[Bug middle-end/100508] ICE with '-g -O3': in expand_debug_locations, at cfgexpand.c:5618

2021-05-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100508 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug ipa/100513] [11/12 Regression] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3 since r11-6411-gae99b315ba5b9e1c

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #12 from Martin Liška --- Created attachment 50789 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50789&action=edit Reduced test-case (x86_64) Fails on master with: $ g++ tree-cfg.ii -O3 --param ggc-min-expand=1 --param ggc-m

[Bug tree-optimization/100499] Different results with -fpeel-loops -ftree-loop-vectorize options

2021-05-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100499 Richard Biener changed: What|Removed |Added Known to work|11.1.0 | Known to fail|

[Bug target/100419] Arm: arm_mve.h generates warning when compiled with -Wsystem-headers.

2021-05-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100419 --- Comment #1 from CVS Commits --- The master branch has been updated by SRINATH PARVATHANENI : https://gcc.gnu.org/g:9b905ba9ebba8d2cc805c26351225e7f74c02333 commit r12-711-g9b905ba9ebba8d2cc805c26351225e7f74c02333 Author: Srinath Parvathane

[Bug libgomp/100390] FAIL: libgomp.fortran/depobj-1.f90 -O execution test

2021-05-11 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100390 Thomas Schwinge changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug ipa/100513] [11/12 Regression] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3 since r11-6411-gae99b315ba5b9e1c

2021-05-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #13 from Richard Biener --- So we're reaching a unreleased SSA names def_stmt which points to a ggc_freed CFG block. Referenced from a function decls symtab node and edge call stmts. And we're collecting after PRE. The basic-block

[Bug c++/100517] New: [12 Regression] ICE in rvalue, at cp/tree.c:946

2021-05-11 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100517 Bug ID: 100517 Summary: [12 Regression] ICE in rvalue, at cp/tree.c:946 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal

[Bug ipa/100513] [11/12 Regression] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3 since r11-6411-gae99b315ba5b9e1c

2021-05-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug c++/54835] [C++11][DR 1518] Explicit default constructors not respected during copy-list-initialization

2021-05-11 Thread davveston at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54835 David Friberg changed: What|Removed |Added CC||davveston at gmail dot com --- Comment #

[Bug tree-optimization/100499] Different results with -fpeel-loops -ftree-loop-vectorize options

2021-05-11 Thread amker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100499 bin cheng changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |amker at gcc dot gnu.org --- Comment

[Bug ipa/100513] [11/12 Regression] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3 since r11-6411-gae99b315ba5b9e1c

2021-05-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #15 from Richard Biener --- (In reply to Jakub Jelinek from comment #14) > If you want to avoid that > if (lhs && TREE_CODE (lhs) == SSA_NAME) > SSA_NAME_DEF_STMT (lhs) = gs; > in gimple_call_set_lhs, I think it deserves a comm

[Bug tree-optimization/100509] ICE at -O3: in fold_convert_loc with variable (attribute) alias of different types

2021-05-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100509 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:ca8e8301180fa71de1a76769fc038df2ab85dfeb commit r12-712-gca8e8301180fa71de1a76769fc038df2ab85dfeb Author: Richard Biener Date:

[Bug tree-optimization/100509] [9/10/11 Regression] ICE at -O3: in fold_convert_loc with variable (attribute) alias of different types

2021-05-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100509 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.4 Summary|ICE at -O3: in

[Bug c++/100517] [12 Regression] ICE in rvalue, at cp/tree.c:946

2021-05-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100517 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0

[Bug c++/54835] [C++11][DR 1518] Explicit default constructors not respected during copy-list-initialization

2021-05-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54835 Jonathan Wakely changed: What|Removed |Added Status|SUSPENDED |ASSIGNED --- Comment #20 from Jonathan

[Bug ipa/100513] [11/12 Regression] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3 since r11-6411-gae99b315ba5b9e1c

2021-05-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #16 from Richard Biener --- Created attachment 50790 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50790&action=edit patch

[Bug ipa/100513] [11/12 Regression] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3 since r11-6411-gae99b315ba5b9e1c

2021-05-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #17 from Richard Biener --- Jiu, can you test whether the proposed patch fixes the bootstrap-O3 issue on ppc64le?

[Bug tree-optimization/100499] Different results with -fpeel-loops -ftree-loop-vectorize options

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100499 --- Comment #8 from Martin Liška --- (In reply to bin cheng from comment #7) > (In reply to Martin Liška from comment #4) > > (In reply to Martin Liška from comment #3) > > > But expected result is end g_2823 = 32768, right? > > > Clang returns

[Bug c++/100517] [12 Regression] ICE in rvalue, at cp/tree.c:946 since r12-620-g7a5dd3ed49d1b328

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100517 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libgomp/100390] FAIL: libgomp.fortran/depobj-1.f90 -O execution test

2021-05-11 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100390 Tom de Vries changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug testsuite/100397] New test case libgomp.fortran/depobj-1.f90 fails erratically since its introduction in r12-20

2021-05-11 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100397 Tom de Vries changed: What|Removed |Added CC||vries at gcc dot gnu.org --- Comment #3

[Bug target/100445] [12 Regression] ice during RTL pass: vregs

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100445 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #1

[Bug tree-optimization/100400] ICE in visit_loops_in_gang_single_region

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

[Bug jit/100380] Segfault when using inline asm

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100380 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Ever confi

[Bug target/99725] arm: ICE in dwarf2out_frame_debug_adjust_cfa with -mcmse

2021-05-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99725 --- Comment #2 from CVS Commits --- The master branch has been updated by Alex Coplan : https://gcc.gnu.org/g:2ac1f0eb3887335b7a7e845812956fa436e72a91 commit r12-715-g2ac1f0eb3887335b7a7e845812956fa436e72a91 Author: Alex Coplan Date: Tue May

[Bug target/99725] arm: ICE in dwarf2out_frame_debug_adjust_cfa with -mcmse

2021-05-11 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99725 --- Comment #3 from Alex Coplan --- Fixed on trunk, keeping open for backports.

[Bug jit/100242] libgccjit.so: error: in expmed_mode_index, at expmed.h:249

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100242 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/100453] [12 Regression] wrong code at -O1 and above since r12-434

2021-05-11 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100453 --- Comment #2 from Eric Botcazou --- It's SRA writing into a TREE_READONLY parameter: void g (const struct a h) { const h$b; int c.0_1; int _2; int c.1_3; _4; int _5; _6; int _7; : h$b_14 = MEM[(struct a *)&h].b; got

[Bug c++/100448] internal compiler error: Segmentation fault

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100448 Martin Liška changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug target/100518] New: ICE in copy_to_mode_reg, at explow.c:651

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100518 Bug ID: 100518 Summary: ICE in copy_to_mode_reg, at explow.c:651 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Pr

[Bug regression/100519] New: ICE in insert_stmt_after, at tree-ssa-reassoc.c:1452

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100519 Bug ID: 100519 Summary: ICE in insert_stmt_after, at tree-ssa-reassoc.c:1452 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug tree-optimization/100519] ICE in insert_stmt_after, at tree-ssa-reassoc.c:1452

2021-05-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100519 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-05-11 Assignee|unassign

[Bug ipa/100513] [11/12 Regression] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3 since r11-6411-gae99b315ba5b9e1c

2021-05-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #18 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:7e0fe7761da9255c9342788956c37b426875d872 commit r12-716-g7e0fe7761da9255c9342788956c37b426875d872 Author: Richard Biener Date:

[Bug ipa/100513] [10/11 Regression] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3 since r11-6411-gae99b315ba5b9e1c

2021-05-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 Richard Biener changed: What|Removed |Added Target Milestone|11.2|10.4 Assignee|hubicka at gcc

[Bug target/100497] [OpenMP][nvptx] libgomp.c-c++-common/reduction-5.c - fails on some nvptx systems

2021-05-11 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100497 Tobias Burnus changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug target/100497] [OpenMP][nvptx] libgomp.c-c++-common/reduction-5.c - fails on some nvptx systems

2021-05-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100497 --- Comment #11 from Jakub Jelinek --- (In reply to Tobias Burnus from comment #10) > Oddly, if one replaces > > #pragma omp target teams distribute parallel for reduction(||: orfc) > map(orfc) > > by > > #pragma omp target map(orfc) > { >

[Bug ipa/100513] [10/11 Regression] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3 since r11-6411-gae99b315ba5b9e1c

2021-05-11 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #20 from Jiu Fu Guo --- Yes, with the patch, bootstrap-O3 pass on ppc64le too. Thanks!

[Bug tree-optimization/100400] ICE in visit_loops_in_gang_single_region

2021-05-11 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100400 --- Comment #2 from Arseny Solokha --- % g++-12.0.0 -v Using built-in specs. COLLECT_GCC=g++-12.0.0 COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux-gnu/12.0.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /var/tmp/porta

[Bug tree-optimization/100400] ICE in visit_loops_in_gang_single_region

2021-05-11 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100400 --- Comment #3 from Arseny Solokha --- % cat .c.008t.omp_oacc_kernels_decompose ;; Function foo (_Z3foov, funcdef_no=0, decl_uid=2487, cgraph_uid=1, symbol_order=1) EMERGENCY DUMP: void foo () { # DEBUG BEGIN_STMT #pragma omp targe

[Bug tree-optimization/100400] ICE in visit_loops_in_gang_single_region

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100400 Martin Liška changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug ipa/100513] [10/11 Regression] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3 since r11-6411-gae99b315ba5b9e1c

2021-05-11 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #21 from Jiu Fu Guo --- When build the go on trunk with the patch, an error occur: In function 'syscall.forkExec': go1: error: address taken, but ADDRESSABLE bit not set PHI argument &go..C479; for PHI node err$__object_77 = PHI dur

[Bug ipa/100513] [10/11 Regression] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3 since r11-6411-gae99b315ba5b9e1c

2021-05-11 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #22 from rguenther at suse dot de --- On Tue, 11 May 2021, guojiufu at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 > > --- Comment #21 from Jiu Fu Guo --- > When build the go on trunk with the patc

[Bug bootstrap/100431] Fixes to enable compiling with -Werror=format-security

2021-05-11 Thread joey.dumont at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100431 --- Comment #3 from Joey Dumont --- I had tested with a simple printf: #include #ifndef N_ # define N_(msgid) msgid #endif int main(int argc, char* argv[]) { printf(N_("use of C++23 % integer constant")); printf(N_("use of C++23 %%> int

[Bug ipa/100513] [10/11 Regression] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3 since r11-6411-gae99b315ba5b9e1c

2021-05-11 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #23 from Jiu Fu Guo --- Created attachment 50791 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50791&action=edit the command to build syscall.o

[Bug c++/100516] Unexpected -Wstringop-overread in deque initialization from empty initializer_list

2021-05-11 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100516 --- Comment #2 from vopl at bk dot ru --- minimal reproduce code I have: using size_t = decltype(sizeof(char)); class initializer { const char* _array; size_t _len; public: constexpr initializer() : _array{}, _len{} { } co

[Bug ipa/100513] [10/11 Regression] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3 since r11-6411-gae99b315ba5b9e1c

2021-05-11 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #24 from Jiu Fu Guo --- (In reply to rguent...@suse.de from comment #22) > On Tue, 11 May 2021, guojiufu at gcc dot gnu.org wrote: > cut.. > > Makefile:3001: recipe for target 'syscall.lo' failed > > Yes, this was reported by Maxim

[Bug debug/100520] New: [11/12 Regression] aarch64: ‘-fcompare-debug’ failure with -fprofile-generate

2021-05-11 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100520 Bug ID: 100520 Summary: [11/12 Regression] aarch64: ‘-fcompare-debug’ failure with -fprofile-generate Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug bootstrap/100431] Fixes to enable compiling with -Werror=format-security

2021-05-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100431 --- Comment #4 from Jakub Jelinek --- %< and %> are GCC diagnostics format specifiers, not printf. They are more similar to e.g. GNU printf %m , something that doesn't take any va_arg, but is interpreted. Try printf ("%m\n"); vs. printf ("%s", "

[Bug c++/100517] [12 Regression] ICE in rvalue, at cp/tree.c:946 since r12-620-g7a5dd3ed49d1b328

2021-05-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100517 --- Comment #2 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:010d4a5047166037b316ed22331f3d99742f1f1d commit r12-721-g010d4a5047166037b316ed22331f3d99742f1f1d Author: Jason Merrill Date: Tu

[Bug c++/100517] [12 Regression] ICE in rvalue, at cp/tree.c:946 since r12-620-g7a5dd3ed49d1b328

2021-05-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100517 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/100521] New: ICE at -O2 and above: in verify_range, at value-range.cc:384

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
gcc version 12.0.0 20210511 (experimental) [master revision :7db32cac8:aa891c56f25baac94db004e309d1b6e40b770a95] (GCC) $ cat mutant.c __builtin_clz(int a) { return __builtin_clz(a); } $ gcc-trunk -O2 mutant.c mutant.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1

[Bug c/100522] New: ICE: in extract_ops_from_tree, at gimple-expr.c:556

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
: x86_64-pc-linux-gnu Configured with: /tmp/tmp.FUbEknNORK-gcc-builder/gcc/configure --enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch --prefix=/scratch/software/gcc-trunk --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210511

[Bug debug/100523] New: [11/12 Regression] armv8.1-m.main -fcompare-debug failure with -O -fmodulo-sched -mtune=cortex-a53

2021-05-11 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100523 Bug ID: 100523 Summary: [11/12 Regression] armv8.1-m.main -fcompare-debug failure with -O -fmodulo-sched -mtune=cortex-a53 Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug analyzer/100524] New: pragma GCC diagnostic ignored "-Wanalyzer-too-complex" ignored by cc1

2021-05-11 Thread andrew at ishiboo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100524 Bug ID: 100524 Summary: pragma GCC diagnostic ignored "-Wanalyzer-too-complex" ignored by cc1 Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal

[Bug target/99988] aarch64: GCC generates excessive consecutive bti j instructions

2021-05-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99988 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Alex Coplan : https://gcc.gnu.org/g:1011bb8bc67cf34c45a9237d72a801a14ad9ef0f commit r11-8379-g1011bb8bc67cf34c45a9237d72a801a14ad9ef0f Author: Alex Coplan Date:

[Bug c/100525] New: ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c:87

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
--disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210511 (experimental) [master revision :7db32cac8:aa891c56f25baac94db004e309d1b6e40b770a95] (GCC) $ cat mutant.c __GIMPLE foo() { __builtin_abs(a); } $ gcc-trunk -O0 mutant.c mutant.c:1:1: error

[Bug c/100526] New: ICE: segmentation fault in gimple-parser.c2049

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
-pc-linux-gnu Configured with: /tmp/tmp.FUbEknNORK-gcc-builder/gcc/configure --enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch --prefix=/scratch/software/gcc-trunk --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210511

[Bug libstdc++/100479] range adaptors handle cached iterators incorrectly

2021-05-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100479 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c/100527] New: ICE: Segmentation fault, flags_from_decl_or_type(tree_node const*)

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
: zlib gcc version 12.0.0 20210511 (experimental) [master revision :7db32cac8:aa891c56f25baac94db004e309d1b6e40b770a95] (GCC) $ cat mutant.c __GIMPLE foo() { int __builtin_abs; __builtin_abs(); } $ gcc-trunk -O0 mutant.c mutant.c:1:1: error: ‘__GIMPLE’ only valid with ‘-fgimple’ 1

[Bug c/100528] New: ICE: tree check: expected string_cst, have plus_expr in get_attr_len, at multiple_target.c:198

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
LTO compression algorithms: zlib gcc version 12.0.0 20210511 (experimental) [master revision :7db32cac8:aa891c56f25baac94db004e309d1b6e40b770a95] (GCC) $ cat mutant.c a; __attribute__((target_clones(a + 0x12345U))) fast_clamp() {} $ gcc-trunk -O0 mutant.c mutant.c:1:1: warning: data definition

[Bug c/100529] New: ICE at -O3: in force_constant_size, at gimplify.c:733

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
: x86_64-pc-linux-gnu Configured with: /tmp/tmp.FUbEknNORK-gcc-builder/gcc/configure --enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch --prefix=/scratch/software/gcc-trunk --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210511

[Bug c/100529] ICE at -O3: in force_constant_size, at gimplify.c:733

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
-gnu Configured with: /tmp/tmp.FUbEknNORK-gcc-builder/gcc/configure --enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch --prefix=/scratch/software/gcc-trunk --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210511 (experimental

[Bug c/100530] New: ICE with -g: in add_dwarf_attr, at dwarf2out.c:4493

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
: x86_64-pc-linux-gnu Configured with: /tmp/tmp.FUbEknNORK-gcc-builder/gcc/configure --enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch --prefix=/scratch/software/gcc-trunk --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210511

[Bug c/100531] New: ICE: tree check: expected string_cst, have ne_expr in get_attr_len, at multiple_target.c:198

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
LTO compression algorithms: zlib gcc version 12.0.0 20210511 (experimental) [master revision :7db32cac8:aa891c56f25baac94db004e309d1b6e40b770a95] (GCC) $ cat mutant.c __attribute__((target_clones(foo() != 3))) foo() {} $ gcc-trunk mutant.c mutant.c:1:30: warning: implicit declaration of function

[Bug c/100532] New: ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c:259

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
--prefix=/scratch/software/gcc-trunk --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210511 (experimental) [master revision :7db32cac8:aa891c56f25baac94db004e309d1b6e40b770a95] (GCC) $ cat mutant.c typedef __SIZE_TYPE__ size_t; void *memcpy(void

[Bug rtl-optimization/100533] New: [10/11/12 Regression] aarch64: -fcompare-debug failure with -O -fmodulo-sched

2021-05-11 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100533 Bug ID: 100533 Summary: [10/11/12 Regression] aarch64: -fcompare-debug failure with -O -fmodulo-sched Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug c/100532] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c:259

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100532 --- Comment #1 from Chengnian Sun --- Another duplicate. $ cat mutant.c void *memcpy(void[], const void *, __SIZE_TYPE__); f(x) { if (f) memcpy(x, x, x); } $ gcc-trunk mutant.c mutant.c:1:18: error: declaration of type name as array of

[Bug c++/100516] [11 Regression] Unexpected -Wstringop-overread in deque initialization from empty initializer_list

2021-05-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100516 Martin Sebor changed: What|Removed |Added Blocks||97048 Status|UNCONFIRMED

[Bug c/100534] New: ICE: internal compiler error: tree check: expected string_cst, have call_expr in get_attr_len, at multiple_target.c:198

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
--disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210511 (experimental) [master revision :7db32cac8:aa891c56f25baac94db004e309d1b6e40b770a95] (GCC) $ cat mutant.c __attribute__((target_clones(foo( baz() {} $ gcc-trunk mutant.c mutant.c:1:30

[Bug c/100535] New: ICE: tree check: expected function_type or method_type, have integer_type in gimplify_call_expr, at gimplify.c:3457

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
--disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210511 (experimental) [master revision :7db32cac8:aa891c56f25baac94db004e309d1b6e40b770a95] (GCC) $ cat mutant.c __GIMPLE foo() { int t1; t1_1 = __builtin_abs(__builtin_abs()); } $ gcc-trunk

  1   2   >