[Bug target/106265] RISC-V SPEC2017 507.cactu code bloat due to address generation

2022-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106265 --- Comment #5 from Richard Biener --- So why do we even emit unsupported 'li 4096' and leave it to the linker to "optimize(?)"? At least the cost of this should be reflected - IIRC powerpc recently got improvements for similar cases by changin

[Bug c/106264] [10/11/12/13 Regression] spurious -Wunused-value on a folded frexp, modf, and remquo calls with unused result

2022-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106264 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug testsuite/106262] [13 regression] test case g++.dg/modules/loc-prune-4.C fails

2022-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106262 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0 Keywords|

[Bug debug/106261] [10/11/12/13 Regression] ICE in output_call_frame_info, at dwarf2out.cc:943

2022-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106261 --- Comment #2 from Richard Biener --- @item -dx @opindex dx Just generate RTL for a function instead of compiling it. Usually used with @option{-fdump-rtl-expand}. @end table so possibly some side-effect of not doing things something we do la

[Bug ipa/106260] [10/11/12/13 Regression] ICE in initialize_node_lattices, at ipa-cp.cc:1289 since r8-1887-g0eaf0bfe94ff5a7c

2022-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106260 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug middle-end/106258] [13 Regression] ICE in ipa_verify_edge_has_no_modifications, at ipa-param-manipulation.cc:139 since r13-1204-gd68d366425369649

2022-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106258 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug middle-end/106257] [13 Regression] ICE in expand_builtin_unreachable, at builtins.cc:5189 since r13-1204-gd68d366425369649

2022-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106257 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug middle-end/101551] [offloading] Differences in diagnostics etc.

2022-07-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101551 --- Comment #3 from CVS Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:3723aedaad20a129741c2f6f3c22b3dd1220a3fc commit r13-1611-g3723aedaad20a129741c2f6f3c22b3dd1220a3fc Author: Thomas Schwinge Date:

[Bug target/106240] [13 Regression] missed vectorization opportunity (cond move) on mips since r13-707-g68e0063397ba82

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

[Bug rtl-optimization/42612] post-increment addressing not used

2022-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42612 --- Comment #7 from Andrew Pinski --- (In reply to Dmitry Baksheev from comment #6) > Please consider fixing this issue. Here is another example where not using > post-increment for loops produces suboptimal code on AArch64. The code is 4x > slow

[Bug rtl-optimization/42612] post-increment addressing not used

2022-07-11 Thread bd at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42612 Dmitry Baksheev changed: What|Removed |Added CC||bd at mail dot ru --- Comment #6 from

[Bug target/106265] RISC-V SPEC2017 507.cactu code bloat due to address generation

2022-07-11 Thread vineet.gupta at linux dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106265 --- Comment #4 from Vineet Gupta --- Going back to first dump (upstream 6abe341558a w/o riscv_rtx_costs() adj): the 3rd instruction addi is marking a2 REG_DEAD at 315 cprop.hardreg --->8 314r.rnreg (insn 2663 2662 1714 3 (set (reg:DI 13 a3

[Bug target/106265] RISC-V SPEC2017 507.cactu code bloat due to address generation

2022-07-11 Thread vineet.gupta at linux dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106265 --- Comment #3 from Vineet Gupta --- Digging into RTL dumps, the li instructions are introduced by 300r reload.

[Bug target/106265] RISC-V SPEC2017 507.cactu code bloat due to address generation

2022-07-11 Thread vineet.gupta at linux dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106265 --- Comment #2 from Vineet Gupta --- I've experimented with riscv_rtx_costs() setting cost of const to 1 as discussed in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98596. This does reduce the number of li 4096 instances to 10 (from 14), but th

[Bug target/106265] RISC-V SPEC2017 507.cactu code bloat due to address generation

2022-07-11 Thread vineet.gupta at linux dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106265 --- Comment #1 from Vineet Gupta --- Analyzed a section of -dP dump where reg a2 is setup with exact same value while being live. rhs-cred.cc:42: (*(double *)((char *)&ao)[k] + *(double *)((char *)0)[12] + #(insn 2662 1711 76 (set (reg:DI 12 a2

[Bug target/106265] New: RISC-V SPEC2017 507.cactu code bloat due to address generation

2022-07-11 Thread vineet.gupta at linux dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106265 Bug ID: 106265 Summary: RISC-V SPEC2017 507.cactu code bloat due to address generation Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal

[Bug target/106146] a redundant movprfx insn compare to llvm

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

[Bug target/106146] a redundant movprfx insn compare to llvm

2022-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106146 --- Comment #1 from Andrew Pinski --- -march=armv8-a+sve2 -O3 -ffast-math

[Bug middle-end/106123] ICE in walk_tree_1, at tree.cc:11243

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

[Bug tree-optimization/106119] [12/13 Regression] Bogus use-after-free warning triggered by optimizer

2022-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106119 Andrew Pinski changed: What|Removed |Added Summary|Bogus use-after-free|[12/13 Regression] Bogus

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

2022-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106253 --- Comment #5 from Andrew Pinski --- (In reply to rsand...@gcc.gnu.org from comment #4) > I think for those we have to honour the prevailing > flush-to-zero mode, which makes the > functions at best pure rather than const. GCC does handle chan

[Bug c++/66290] wrong location for -Wunused-macros

2022-07-11 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66290 Lewis Hyatt changed: What|Removed |Added CC||lhyatt at gcc dot gnu.org --- Comment #3 f

[Bug c/106264] [10/11/12/13 Regression] spurious -Wunused-value on a folded frexp, modf, and remquo calls with unused result

2022-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106264 --- Comment #3 from Andrew Pinski --- (In reply to Martin Sebor from comment #2) > The most likely culprit is r261705. Yes this part: (fold_builtin_n): Avoid setting TREE_NO_WARNING.

[Bug debug/106261] [10/11/12/13 Regression] ICE in output_call_frame_info, at dwarf2out.cc:943

2022-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106261 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.5 Known to fail|

[Bug c/106264] [10/11/12/13 Regression] spurious -Wunused-value on a folded frexp, modf, and remquo calls with unused result

2022-07-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106264 --- Comment #2 from Martin Sebor --- The most likely culprit is r261705.

[Bug debug/106261] ICE in output_call_frame_info, at dwarf2out.cc:943

2022-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106261 --- Comment #1 from Andrew Pinski --- Created attachment 53289 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53289&action=edit testcase

[Bug c/106264] [10/11/12/13 Regression] spurious -Wunused-value on a folded frexp, modf, and remquo calls with unused result

2022-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106264 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c/106264] [10/11/12/13 Regression] spurious -Wunused-value on a folded frexp, modf, and remquo calls with unused result

2022-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106264 Andrew Pinski changed: What|Removed |Added Summary|spurious -Wunused-value on |[10/11/12/13 Regression]

[Bug c/106264] New: spurious -Wunused-value on a folded frexp, modf, and remquo calls with unused result

2022-07-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106264 Bug ID: 106264 Summary: spurious -Wunused-value on a folded frexp, modf, and remquo calls with unused result Product: gcc Version: 12.0 Status: UNCONFIRMED Sev

[Bug ipa/106260] [10/11/12/13 Regression] ICE in initialize_node_lattices, at ipa-cp.cc:1289 since r8-1887-g0eaf0bfe94ff5a7c

2022-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106260 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.5

[Bug target/106240] [13 Regression] missed vectorization opportunity (cond move) on mips since r13-707-g68e0063397ba82

2022-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106240 --- Comment #3 from Andrew Pinski --- (In reply to Jeffrey A. Law from comment #2) > I don't mind deferring this -- I *think* the .ps variants are deprecated in > newer versions of the ISA. So we could easily move this to P4 and let the > MIPS

[Bug target/106240] [13 Regression] missed vectorization opportunity (cond move) on mips since r13-707-g68e0063397ba82

2022-07-11 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106240 --- Comment #2 from Jeffrey A. Law --- I don't mind deferring this -- I *think* the .ps variants are deprecated in newer versions of the ISA. So we could easily move this to P4 and let the MIPS folks take care of it if/when they feel the need.

[Bug debug/106263] New: BTF_KIND_FUNC type does not encode linkage

2022-07-11 Thread ibhagat at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106263 Bug ID: 106263 Summary: BTF_KIND_FUNC type does not encode linkage Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug

[Bug middle-end/106257] [13 Regression] ICE in expand_builtin_unreachable, at builtins.cc:5189 since r13-1204-gd68d366425369649

2022-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106257 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug debug/106261] ICE in output_call_frame_info, at dwarf2out.cc:943

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

[Bug ipa/106260] [10/11/12/13 Regression] ICE in initialize_node_lattices, at ipa-cp.cc:1289 since r8-1887-g0eaf0bfe94ff5a7c

2022-07-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106260 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-07-11 Status|UNCONFIRME

[Bug ipa/106258] [13 Regression] ICE in ipa_verify_edge_has_no_modifications, at ipa-param-manipulation.cc:139 since r13-1204-gd68d366425369649

2022-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106258 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug middle-end/106257] [13 Regression] ICE in expand_builtin_unreachable, at builtins.cc:5189 since r13-1204-gd68d366425369649

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

[Bug ipa/106258] [13 Regression] ICE in ipa_verify_edge_has_no_modifications, at ipa-param-manipulation.cc:139 since r13-1204-gd68d366425369649

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

[Bug testsuite/106262] New: [13 regression] test case g++.dg/modules/loc-prune-4.C fails

2022-07-11 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106262 Bug ID: 106262 Summary: [13 regression] test case g++.dg/modules/loc-prune-4.C fails Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c++/106259] [10/11/12/13 Regression] ICE in diag_mismatched_tags, at cp/parser.cc:33896

2022-07-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106259 --- Comment #2 from Marek Polacek --- Looks like struct A::W isn't in the class2loc hash table so we crash here: 33894 tree spec = specialization_of (type); 33895 cdlguide = class2loc.get (spec); 33896 gcc_assert (cdlguide !=

[Bug c++/106259] [10/11/12/13 Regression] ICE in diag_mismatched_tags, at cp/parser.cc:33896

2022-07-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106259 Marek Polacek changed: What|Removed |Added Summary|ICE in |[10/11/12/13 Regression]

[Bug c++/106261] New: ICE in output_call_frame_info, at dwarf2out.cc:943

2022-07-11 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106261 Bug ID: 106261 Summary: ICE in output_call_frame_info, at dwarf2out.cc:943 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug c++/106260] New: [10/11/12/13 Regression] ICE in initialize_node_lattices, at ipa-cp.cc:1289

2022-07-11 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106260 Bug ID: 106260 Summary: [10/11/12/13 Regression] ICE in initialize_node_lattices, at ipa-cp.cc:1289 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: no

[Bug c++/106259] New: ICE in diag_mismatched_tags, at cp/parser.cc:33896

2022-07-11 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106259 Bug ID: 106259 Summary: ICE in diag_mismatched_tags, at cp/parser.cc:33896 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug c++/106258] New: ICE in ipa_verify_edge_has_no_modifications, at ipa-param-manipulation.cc:139

2022-07-11 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106258 Bug ID: 106258 Summary: ICE in ipa_verify_edge_has_no_modifications, at ipa-param-manipulation.cc:139 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug c/106257] New: [13 Regression] ICE in expand_builtin_unreachable, at builtins.cc:5189

2022-07-11 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106257 Bug ID: 106257 Summary: [13 Regression] ICE in expand_builtin_unreachable, at builtins.cc:5189 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/106234] [13 Regression] stack overflow from range_from_dom

2022-07-11 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106234 Andrew Macleod changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/106234] [13 Regression] stack overflow from range_from_dom

2022-07-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106234 --- Comment #4 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:12a9b98ac574bc8092a75849b5c462135d35c31d commit r13-1608-g12a9b98ac574bc8092a75849b5c462135d35c31d Author: Andrew MacLeod Date:

[Bug tree-optimization/106254] complex float copy loop is not vectorized

2022-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106254 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/106010] Miss vectorization for complex type copy.

2022-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106010 Andrew Pinski changed: What|Removed |Added CC||zhongyunde at huawei dot com --- Commen

[Bug tree-optimization/106254] complex float copy loop is not vectorized

2022-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106254 --- Comment #2 from Andrew Pinski --- /app/example.c:6:21: note: === vect_analyze_data_refs === /app/example.c:6:21: missed: not vectorized: no vectype for stmt: _5 = *_3; scalar_type: complex double /app/example.c:7:13: missed: not vect

[Bug tree-optimization/106238] Inline optimization causes dangling pointer on "include/c++/12.1.0/bits/stl_tree.h"

2022-07-11 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106238 --- Comment #4 from Rogério de Souza Moraes --- Hi Andrew, thank you for the quick reply. The "getLocalCopy" on this example is just to provide a quick way to reproduce the issue. Here is the getLocalCopy function of this example. extern void

[Bug tree-optimization/106238] Inline optimization causes dangling pointer on "include/c++/12.1.0/bits/stl_tree.h"

2022-07-11 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106238 --- Comment #3 from Rogério de Souza Moraes --- Created attachment 53288 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53288&action=edit Second example to reproduce the issue

[Bug tree-optimization/105860] [10/11/12/13 Regression] Miscompilation causing clobbered union contents since r10-918-gc56c86024f8fba0c

2022-07-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105860 --- Comment #8 from CVS Commits --- The releases/gcc-12 branch has been updated by Martin Jambor : https://gcc.gnu.org/g:1a78fffb3845f879e36ba33b4d15e75b3df8d5a7 commit r12-8564-g1a78fffb3845f879e36ba33b4d15e75b3df8d5a7 Author: Martin Jambor

[Bug c++/106256] New: Custom diagnostics for unsatisified standard concepts

2022-07-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106256 Bug ID: 106256 Summary: Custom diagnostics for unsatisified standard concepts Product: gcc Version: unknown Status: UNCONFIRMED Keywords: diagnostic Severity: normal

[Bug tree-optimization/106238] Inline optimization causes dangling pointer on "include/c++/12.1.0/bits/stl_tree.h"

2022-07-11 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106238 --- Comment #2 from Rogério de Souza Moraes --- Created attachment 53287 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53287&action=edit C++ code to reproduce the issue. C++ code to reproduce the issue.

[Bug c++/105838] [10/11/12/13 Regression] g++ 12.1.0 runs out of memory or time when building const std::vector of std::strings

2022-07-11 Thread luydorarko at vusra dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105838 luydorarko at vusra dot com changed: What|Removed |Added CC||luydorarko at vusra dot co

[Bug tree-optimization/106237] [13 regression] serveral tests begin ICEing starting with r13-1575-gcf3a120084e946

2022-07-11 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106237 --- Comment #2 from seurer at gcc dot gnu.org --- They use whichever mcpu matches the machine. The ICEs are fixed but there is a different problem introduced with your fix g:79f18ac6b7ab7744fcf8937ea4bc0c40f3efc629, r13-1599-g79f18ac6b7ab77 mak

[Bug tree-optimization/106250] [13 Regression] ICE in optab_for_tree_code, at optabs-tree.cc:96 since r13-1468-g76c3041b856cb0

2022-07-11 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106250 rsandifo at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|

[Bug tree-optimization/106250] [13 Regression] ICE in optab_for_tree_code, at optabs-tree.cc:96 since r13-1468-g76c3041b856cb0

2022-07-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106250 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:e7a7fed818d238d45b18dfd927cde93b4711052d commit r13-1606-ge7a7fed818d238d45b18dfd927cde93b4711052d Author: Richard Sandiford Da

[Bug libstdc++/105616] Using regex_replace throws "maybe-uninitialized" warnings

2022-07-11 Thread christian.morales.vega at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105616 --- Comment #2 from Cristian Morales Vega --- I don't think so. Supposedly it was fixed 2 months ago in trunk (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562#c14). But in https://godbolt.org/z/8a979Gha8 the warnings are still present (even

[Bug preprocessor/106252] [13 Regression] AddressSanitizer: global-buffer-overflow on address since r13-1544-ge46f4d7430c521

2022-07-11 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106252 Lewis Hyatt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug preprocessor/106252] [13 Regression] AddressSanitizer: global-buffer-overflow on address since r13-1544-ge46f4d7430c521

2022-07-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106252 --- Comment #3 from CVS Commits --- The master branch has been updated by Lewis Hyatt : https://gcc.gnu.org/g:cb7b01db7a1979a45fd1dce87a8738e80568520e commit r13-1605-gcb7b01db7a1979a45fd1dce87a8738e80568520e Author: Lewis Hyatt Date: Mon J

[Bug c/106255] [suboptinal] llvm uses instructions with larger access bit width

2022-07-11 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106255 Andreas Schwab changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRM

[Bug c/106254] [suboptinal] llvm uses instructions with larger access bit width

2022-07-11 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106254 --- Comment #1 from Andreas Schwab --- *** Bug 106255 has been marked as a duplicate of this bug. ***

[Bug libstdc++/106248] [11/12/13 Regression] operator>>std::basic_istream at boundary condition behave differently in different opt levels

2022-07-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106248 --- Comment #7 from Jonathan Wakely --- Comment 6 isn't right (it should be sgetc not snextc, and it needs to consider the stream's field width) but I'm testing a working patch now.

[Bug tree-optimization/99416] s211 benchmark of TSVC is vectorized by icc and not by gcc

2022-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99416 --- Comment #3 from Richard Biener --- Note it's only the outer loop that confuses us here. With that removed we have the following because of yet another "heuristic" to disable distribution. Possible alias data dependence to break: Fuse partit

[Bug tree-optimization/99416] s211 benchmark of TSVC is vectorized by icc and not by gcc

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

[Bug c/106255] New: [suboptinal] llvm uses instructions with larger access bit width

2022-07-11 Thread zhongyunde at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106255 Bug ID: 106255 Summary: [suboptinal] llvm uses instructions with larger access bit width Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c/106254] New: [suboptinal] llvm uses instructions with larger access bit width

2022-07-11 Thread zhongyunde at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106254 Bug ID: 106254 Summary: [suboptinal] llvm uses instructions with larger access bit width Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

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

2022-07-11 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106253 --- Comment #4 from rsandifo at gcc dot gnu.org --- I guess we'll need different patterns in that case. These builtins are also used to expand ACLE intrinsics, and I think for those we have to honour the prevailing flush-to-zero mode, which ma

[Bug target/106240] [13 Regression] missed vectorization opportunity (cond move) on mips since r13-707-g68e0063397ba82

2022-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106240 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-07-11 Ever confirmed|0

[Bug libstdc++/106248] [11/12/13 Regression] operator>>std::basic_istream at boundary condition behave differently in different opt levels

2022-07-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106248 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

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

2022-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106253 --- Comment #3 from Richard Biener --- aarch64_builtin_vectorized_function is what returns these, but the decls seem to be generated elsewhere.

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

2022-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106253 Richard Biener changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|rguenth at gcc

[Bug preprocessor/106252] [13 Regression] AddressSanitizer: global-buffer-overflow on address since r13-1544-ge46f4d7430c521

2022-07-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106252 --- Comment #2 from Martin Liška --- It's a ASAN bootstrap that needs the following configure option: --with-build-config=bootstrap-asan

[Bug libstdc++/106248] [11/12/13 Regression] operator>>std::basic_istream at boundary condition behave differently in different opt levels

2022-07-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106248 --- Comment #6 from Jonathan Wakely --- I think this would restore the previous behaviour without losing the overflow prevention: --- a/libstdc++-v3/include/std/istream +++ b/libstdc++-v3/include/std/istream @@ -813,8 +813,17 @@ _GLIBCXX_BEGIN_

[Bug preprocessor/106252] [13 Regression] AddressSanitizer: global-buffer-overflow on address since r13-1544-ge46f4d7430c521

2022-07-11 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106252 Lewis Hyatt changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |lhyatt at gcc dot gnu.org --- Com

[Bug libstdc++/106248] [11/12/13 Regression] operator>>std::basic_istream at boundary condition behave differently in different opt levels

2022-07-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106248 --- Comment #5 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #1) > This is interesting because I get the same behavior in clang with LLVM's > libc++. Are you sure? I do not see any dependency on optimization level when using

[Bug libstdc++/106248] [11/12/13 Regression] operator>>std::basic_istream at boundary condition behave differently in different opt levels

2022-07-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106248 --- Comment #4 from Jonathan Wakely --- To put it another way, in C++17 and earlier, writing the buffer stops because we reach EOF when reading from the istream. If it *didn't* stop there, it would overflow the buffer and have undefined behaviou

[Bug libstdc++/106248] [11/12/13 Regression] operator>>std::basic_istream at boundary condition behave differently in different opt levels

2022-07-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106248 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2022-07-11 Status|UNCONFI

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

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

[Bug tree-optimization/106250] [13 Regression] ICE in optab_for_tree_code, at optabs-tree.cc:96 since r13-1468-g76c3041b856cb0

2022-07-11 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106250 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assign

[Bug libstdc++/106248] operator>>std::basic_istream at boundary condition behave differently in different opt levels

2022-07-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106248 --- Comment #2 from Jonathan Wakely --- I haven't analyzed it yet but this is probably due to r11-2581-g17abcc77341584

[Bug c++/106241] compiler can't handle large array of strings

2022-07-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106241 --- Comment #7 from Jonathan Wakely --- (In reply to Robert Durkacz from comment #3) > So I guess the compiler just does not address this particular kind of use > case but it seems to me that, on the contrary, there should be a compilation > cap

[Bug tree-optimization/106250] [13 Regression] ICE in optab_for_tree_code, at optabs-tree.cc:96 since r13-1468-g76c3041b856cb0

2022-07-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106250 Martin Liška changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org S

[Bug gcov-profile/106251] gcov indicates actually executed line as not covered by the test

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

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

2022-07-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106253 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-07-11 Target Milestone|---

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

2022-07-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106253 Bug ID: 106253 Summary: [13 Regression] ICE in vect_transform_loops, at tree-vectorizer.cc:1032x Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-o

[Bug target/106228] [13 regression] r13-1457-g10b502fb78351a causes bootstrap failure

2022-07-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106228 --- Comment #16 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:415d2c38edadf97950eb14b8d7e6b1491c98cdd5 commit r13-1603-g415d2c38edadf97950eb14b8d7e6b1491c98cdd5 Author: Richard Biener Date:

[Bug tree-optimization/106250] [13 Regression] ICE in optab_for_tree_code, at optabs-tree.cc:96

2022-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106250 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0 Keywords|

[Bug preprocessor/106252] [13 Regression] AddressSanitizer: global-buffer-overflow on address since r13-1544-ge46f4d7430c521

2022-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106252 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/106250] [13 Regression] ICE in optab_for_tree_code, at optabs-tree.cc:96

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

[Bug preprocessor/106252] [13 Regression] AddressSanitizer: global-buffer-overflow on address since r13-1544-ge46f4d7430c521

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

[Bug tree-optimization/106246] [13 Regression] powerpc-darwin9 bootstrap fails after r13-1575-gcf3a120084e946 ICE vect_transform_loops, at tree-vectorizer.cc:1032

2022-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106246 --- Comment #7 from Richard Biener --- OK, indeed this is caused by my most recent change. The following should fix this, I'm going to test this on x86_64-linux (no convenient ppc testing machine available for me right now) diff --git a/gcc/tr

[Bug preprocessor/106252] New: [13 Regression] AddressSanitizer: global-buffer-overflow on address since r13-1544-ge46f4d7430c521

2022-07-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106252 Bug ID: 106252 Summary: [13 Regression] AddressSanitizer: global-buffer-overflow on address since r13-1544-ge46f4d7430c521 Product: gcc Version: 13.0

[Bug rtl-optimization/105459] [12 Regression] ICE: Segmentation fault (in record_operand_costs) since r12-3721-g63c6446f77b9001d

2022-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105459 Richard Biener changed: What|Removed |Added Assignee|linkw at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug rtl-optimization/105459] [12/13 Regression] ICE: Segmentation fault (in record_operand_costs) since r12-3721-g63c6446f77b9001d

2022-07-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105459 --- Comment #13 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:4c94382a132a4b2b9d020806549a006fa6764d1b commit r13-1600-g4c94382a132a4b2b9d020806549a006fa6764d1b Author: Richard Biener Date:

[Bug lto/106170] [13 Regression] x86_64-w64-mingw32 host GCC with win32 thread model does not provide pthread.h. lto-plugin fails with canadian compilation

2022-07-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106170 Martin Liška changed: What|Removed |Added Assignee|marxin at gcc dot gnu.org |unassigned at gcc dot gnu.org

  1   2   >