[Bug target/105815] New: [x86] Extend ix86_vectorize_vec_perm_const which now accept different input and output modes by r13-745

2022-06-01 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105815 Bug ID: 105815 Summary: [x86] Extend ix86_vectorize_vec_perm_const which now accept different input and output modes by r13-745 Product: gcc Version: 13.0 Status: UNCONF

[Bug rtl-optimization/105799] Miss optimization to simplify (v + A) * B + C -> B * v + ABC in rtl.

2022-06-01 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105799 --- Comment #1 from Hongtao.liu --- ((v * A) + B) * C is handled in distribute_and_simplify_rtx. -cut from combine.c--- 6090case MULT: 6091 /* If we have (mult (plus A B) C), apply the distributive law and then 6092

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

2022-06-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 101668, which changed state. Bug 101668 Summary: BB vectorizer doesn't handle lowpart of existing vector https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101668 What|Removed |Added -

[Bug tree-optimization/101668] BB vectorizer doesn't handle lowpart of existing vector

2022-06-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101668 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/101668] BB vectorizer doesn't handle lowpart of existing vector

2022-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101668 --- Comment #7 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:08afab6f8642f58f702010ec196dce3b00955627 commit r13-926-g08afab6f8642f58f702010ec196dce3b00955627 Author: Richard Biener Date:

[Bug c++/105593] avx512 math function raises uninitialized variable warning

2022-06-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105593 Richard Biener changed: What|Removed |Added Target Milestone|12.2|--- Known to fail|

[Bug tree-optimization/105802] [13 Regression] ICE: in irange_intersect, at value-range.cc:1955 with -funswitch-loops

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

[Bug tree-optimization/105802] [13 Regression] ICE: in irange_intersect, at value-range.cc:1955 with -funswitch-loops

2022-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105802 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:4a6b8d9aad9f68eec223cc126d9effbf45e37271 commit r13-925-g4a6b8d9aad9f68eec223cc126d9effbf45e37271 Author: Richard Biener Date:

[Bug middle-end/105814] [12/13 Regression] 16 "=rm" use in inline-asm is rejected at -O0

2022-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105814 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Target Milestone|---

[Bug target/105814] 16 "=rm" use in inline-asm is rejected at -O0

2022-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105814 Andrew Pinski changed: What|Removed |Added Summary|operand has impossible |16 "=rm" use in inline-asm

[Bug c/105814] New: operand has impossible constraints - worked with previous releases

2022-06-01 Thread bruce.fleming at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105814 Bug ID: 105814 Summary: operand has impossible constraints - worked with previous releases Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity: normal

[Bug fortran/105813] New: ICE in gfc_simplify_unpack, at fortran/simplify.cc:8490

2022-06-01 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105813 Bug ID: 105813 Summary: ICE in gfc_simplify_unpack, at fortran/simplify.cc:8490 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code

[Bug c++/105803] [13 regression] ICE at gcc/cp/pt.cc:27737 after r13-860-gff91735a5b861d

2022-06-01 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105803 --- Comment #10 from Hongtao.liu --- (In reply to Hongtao.liu from comment #9) > Similar error observed for x86 on ICX. > With option `-march=icx -Ofast -flto` for 510.parest_r. -march=icelake-server

[Bug c++/105803] [13 regression] ICE at gcc/cp/pt.cc:27737 after r13-860-gff91735a5b861d

2022-06-01 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105803 --- Comment #9 from Hongtao.liu --- Similar error observed for x86 on ICX. With option `-march=icx -Ofast -flto` for 510.parest_r.

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

2022-06-01 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105459 --- Comment #12 from Kewen Lin --- Created attachment 53068 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53068&action=edit tested patch Once the optimization node of the caller has changed, we need to rebuild the target node in the cont

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

2022-06-01 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105459 --- Comment #11 from Kewen Lin --- (In reply to Kewen Lin from comment #9) > inline_call will force reload global optimization. > > /* Reload global optimization flags. */ > if (reload_optimization_node && DECL_STRUCT_FUNCTION (to->decl) =

[Bug jit/105812] type mismatch in binary expression

2022-06-01 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105812 --- Comment #1 from Antoni --- Created attachment 53067 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53067&action=edit Patch

[Bug jit/105812] New: type mismatch in binary expression

2022-06-01 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105812 Bug ID: 105812 Summary: type mismatch in binary expression Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: jit

[Bug c++/105811] New: Diagnostics for template class member call with missing template parameters can be improved

2022-06-01 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105811 Bug ID: 105811 Summary: Diagnostics for template class member call with missing template parameters can be improved Product: gcc Version: 12.1.0 Status: UNCONFIRMED

[Bug target/105782] [sparc64] Emission of questionable movxtod/movdtox with -mvis3

2022-06-01 Thread koachan+gccbugs at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105782 --- Comment #2 from Koakuma --- Created attachment 53066 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53066&action=edit Vectorization log from -fopt-info-vec-all (In reply to Richard Biener from comment #1) > You can check -fopt-info-ve

[Bug c++/105734] [12/13 Regression]: Incorrect "error: invalid use of 'auto'" for explicit destructor inside a template

2022-06-01 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105734 --- Comment #14 from Jeremy R. --- Thank you for the quick patch :)

[Bug c++/105798] Add new -Wshadow for data member

2022-06-01 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105798 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug libgcc/27576] The .eh_frame section in crtend.o has wrong aligment

2022-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27576 --- Comment #4 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:2d546ff69455f7deadab65309de89d19380a8864 commit r13-923-g2d546ff69455f7deadab65309de89d19380a8864 Author: H.J. Lu Date: Mon Jan 17 16:1

[Bug c++/105809] [10/11/12/13 Regression] GCC ICE when deal with __PRETTY_FUNCTION__ inside macro

2022-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105809 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code, |

[Bug c++/105809] [10/11/12/13 Regression] GCC ICE when deal with __PRETTY_FUNCTION__ inside macro

2022-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105809 --- Comment #3 from Andrew Pinski --- Reduced testcase: template void hh() { ss t; } template int f(void) { constexpr char const* cc = __PRETTY_FUNCTION__; struct j{ char const* kk=cc; }; hh(); } int t = f<1>();

[Bug libstdc++/105810] __glibcxx_assert can be improved greatly.

2022-06-01 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105810 --- Comment #1 from cqwrteur --- You can see this generates extremely good assembly even under -Os https://godbolt.org/z/oaerzYeo6

[Bug c++/105809] [10/11/12/13 Regression] GCC ICE when deal with __PRETTY_FUNCTION__ inside macro

2022-06-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105809 Marek Polacek changed: What|Removed |Added Target Milestone|--- |10.4 CC|

[Bug libstdc++/105810] New: __glibcxx_assert can be improved greatly.

2022-06-01 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105810 Bug ID: 105810 Summary: __glibcxx_assert can be improved greatly. Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstd

[Bug plugins/95648] gcc/configure: line 26509: objdump: command not found: config/gcc-plugin.m4 uses 'objdump' instead of ${host}-objdump

2022-06-01 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95648 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug plugins/95648] gcc/configure: line 26509: objdump: command not found: config/gcc-plugin.m4 uses 'objdump' instead of ${host}-objdump

2022-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95648 --- Comment #2 from CVS Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:c4c3cd5ca5fe13724253d4270dc643fbc6b7f557 commit r13-922-gc4c3cd5ca5fe13724253d4270dc643fbc6b7f557 Author: David Seifert Date: Wed Jun

[Bug c++/105809] GCC ICE when deal with __PRETTY_FUNCTION__ inside macro

2022-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105809 --- Comment #1 from Andrew Pinski --- Created attachment 53065 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53065&action=edit testcase from the URL

[Bug middle-end/105638] Redundant stores aren't removed by DSE

2022-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105638 --- Comment #2 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:a743a72714fc4a9d7036d28d0cacdf2a3621f629 commit r13-921-ga743a72714fc4a9d7036d28d0cacdf2a3621f629 Author: H.J. Lu Date: Wed May 18 13:

[Bug c++/105809] New: GCC ICE when deal with __PRETTY_FUNCTION__ inside macro

2022-06-01 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105809 Bug ID: 105809 Summary: GCC ICE when deal with __PRETTY_FUNCTION__ inside macro Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Prior

[Bug c++/105808] Internal unsafe integer narrowing conversion during non-type template argument value deduction

2022-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105808 --- Comment #1 from Andrew Pinski --- Removing the include: using size_t = decltype(sizeof(0)); template struct extent { static constexpr size_t value = 0; }; template struct extent { static constexpr size_t value = size; }; static_as

[Bug c++/105803] [13 regression] ICE at gcc/cp/pt.cc:27737 after r13-860-gff91735a5b861d

2022-06-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105803 --- Comment #8 from Marek Polacek --- Reduced: namespace std { template class shared_ptr; } struct S {}; template void build_matrices() { std::shared_ptr(new S); }

[Bug c++/105808] New: Internal unsafe integer narrowing conversion during non-type template argument value deduction

2022-06-01 Thread tomilovanatoliy at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105808 Bug ID: 105808 Summary: Internal unsafe integer narrowing conversion during non-type template argument value deduction Product: gcc Version: 11.2.0 Status: UNCONFIRMED

[Bug c++/105734] [12/13 Regression]: Incorrect "error: invalid use of 'auto'" for explicit destructor inside a template

2022-06-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105734 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/105779] [12/13 Regression] static function with auto return type not being resolved correctly

2022-06-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105779 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/105734] [12/13 Regression]: Incorrect "error: invalid use of 'auto'" for explicit destructor inside a template

2022-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105734 --- Comment #12 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:b090938e61260ce841a0d51de3407881a38e3c52 commit r12-8447-gb090938e61260ce841a0d51de3407881a38e3c52 Author: Jason Merrill

[Bug c++/105779] [12/13 Regression] static function with auto return type not being resolved correctly

2022-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105779 --- Comment #8 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:819e3fda1e0fc4cc07f5fd9211cdb38cdec1b901 commit r12-8446-g819e3fda1e0fc4cc07f5fd9211cdb38cdec1b901 Author: Jason Merrill

[Bug c++/105803] [13 regression] ICE at gcc/cp/pt.cc:27737 after r13-860-gff91735a5b861d

2022-06-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105803 Marek Polacek changed: What|Removed |Added Target Milestone|--- |13.0 Keywords|

[Bug c++/105803] [13 regression] ICE at gcc/cp/pt.cc:27737 after r13-860-gff91735a5b861d

2022-06-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105803 --- Comment #6 from Marek Polacek --- Weird. Can you show your gcc -v output so that I can configure gcc the same? (Yes, checking is enabled in my build.)

[Bug c++/105795] [11/12/13 Regression] Miscompilation with [[no_unique_address]]

2022-06-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105795 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug middle-end/104787] [12/13 Regression] False positive -Wreturn-type since r12-5638-ga3e75c1491cd2d50

2022-06-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104787 Jason Merrill changed: What|Removed |Added CC||kamil.sliwak at codepoets dot it --- C

[Bug c++/105794] [12/13 Regression] Spurious "control reaches end of non-void function" warning with a combination of destructor, try/catch and if (true)

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

[Bug c++/105806] [concepts] template class specialization using concept issue

2022-06-01 Thread josephcanedo at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105806 --- Comment #2 from Joseph --- When getting symbols using readelf for get_meta() in some .o files symbol is FUNC LOCAL DEFAULT and in others FUNC WEAK HIDDEN (we use hidden visibility option).

[Bug c++/105593] avx512 math function raises uninitialized variable warning

2022-06-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105593 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Keyw

[Bug c++/105734] [12/13 Regression]: Incorrect "error: invalid use of 'auto'" for explicit destructor inside a template

2022-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105734 --- Comment #11 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:e2e471d83d16449a325315c0f33dc52b90ce0fac commit r13-920-ge2e471d83d16449a325315c0f33dc52b90ce0fac Author: Jason Merrill Date: T

[Bug c++/105779] [12/13 Regression] static function with auto return type not being resolved correctly

2022-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105779 --- Comment #7 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:72e52b88582e738c8b8bde5f85af63d3a0e15d2b commit r13-919-g72e52b88582e738c8b8bde5f85af63d3a0e15d2b Author: Jason Merrill Date: Tu

[Bug c++/105803] [13 regression] ICE at gcc/cp/pt.cc:27737 after r13-860-gff91735a5b861d

2022-06-01 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105803 --- Comment #5 from seurer at gcc dot gnu.org --- And it was that revision, too. seurer@muskie:~/gcc/git/build/gcc-test$ whichgcc Now at commit 1ad584d538d349db13cfa8440222d91d5e9aff3f, r13-859-g1ad584d538d349 seurer@muskie:~/gcc/cpu2017/benc

[Bug c++/105803] [13 regression] ICE at gcc/cp/pt.cc:27737 after r13-860-gff91735a5b861d

2022-06-01 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105803 --- Comment #4 from seurer at gcc dot gnu.org --- Yes it is: seurer@muskie:~/gcc/cpu2017/benchspec/CPU/510.parest_r/build/build_peak_none.0002$ whichgcc Now at commit ff91735a5b861dd6eaf2c1e511f26a9255898e7d, r13-860-gff91735a5b861d seurer@mus

[Bug fortran/105807] New: ICE / error when defining a class containing polymorphic components

2022-06-01 Thread bourdin at mcmaster dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105807 Bug ID: 105807 Summary: ICE / error when defining a class containing polymorphic components Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal

[Bug c++/105806] [concepts] template class specialization using concept issue

2022-06-01 Thread vincent.lextrait at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105806 Vincent changed: What|Removed |Added CC||vincent.lextrait at gmail dot com --- Commen

[Bug c++/105806] New: [concepts] template class specialization using concept issue

2022-06-01 Thread josephcanedo at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105806 Bug ID: 105806 Summary: [concepts] template class specialization using concept issue Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/105803] [13 regression] ICE at gcc/cp/pt.cc:27737 after r13-860-gff91735a5b861d

2022-06-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105803 --- Comment #3 from Marek Polacek --- I still cannot reproduce with GNU C++17 (GCC) version 13.0.0 20220530 (experimental) (powerpc64le-unknown-linux-gnu) Can you please double check that the Comment 2 test is the correct one?

[Bug lto/104237] [11 Regression] Emitted binary code changes when -g is enabled at -O1 -flto and optimize attribute since r11-3126-ga8f9b4c54cc35062

2022-06-01 Thread cnsun at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104237 --- Comment #21 from Chengnian Sun --- Thank you, Andrew and Jakub.

[Bug c++/105803] [13 regression] ICE at gcc/cp/pt.cc:27737 after r13-860-gff91735a5b861d

2022-06-01 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105803 --- Comment #2 from seurer at gcc dot gnu.org --- With a bit of hacking with a chainsaw I got it to this: #include #include class SparsityPattern { public: }; template class BlockSparsityPatternBase// : public Subscriptor { }; class Blo

[Bug lto/104237] [11 Regression] Emitted binary code changes when -g is enabled at -O1 -flto and optimize attribute since r11-3126-ga8f9b4c54cc35062

2022-06-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104237 --- Comment #20 from Jakub Jelinek --- (In reply to Andrew Pinski from comment #19) > (In reply to Chengnian Sun from comment #18) > > Hello folks, > > > > While testing gcc with -fcompare-debug, I was asked a question which puzzled > > me as w

[Bug middle-end/105805] New: -fstrict-volatile-bitfields can read beyond the end of the bitfield

2022-06-01 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105805 Bug ID: 105805 Summary: -fstrict-volatile-bitfields can read beyond the end of the bitfield Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug lto/104237] [11 Regression] Emitted binary code changes when -g is enabled at -O1 -flto and optimize attribute since r11-3126-ga8f9b4c54cc35062

2022-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104237 --- Comment #19 from Andrew Pinski --- (In reply to Chengnian Sun from comment #18) > Hello folks, > > While testing gcc with -fcompare-debug, I was asked a question which puzzled > me as well. > > What if we always enable -g, and use 'strip'

[Bug middle-end/30314] optimize multiply-by-constant overflow (wrap) test

2022-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30314 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:cf78d8411d00e21c30512d2af895e70d38bbfb77 commit r13-917-gcf78d8411d00e21c30512d2af895e70d38bbfb77 Author: Jakub Jelinek Date: Wed

[Bug rtl-optimization/105577] [12 Regression] ICE in delete_unmarked_insns, at dce.cc:653 since r12-248-gb58dc0b803057c0e

2022-06-01 Thread curdeius at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105577 --- Comment #17 from Curdeius Curdeius --- Thanks a lot for fixing this quickly!

[Bug c++/105804] New: List-initialized argument in await expression is doubly freed

2022-06-01 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105804 Bug ID: 105804 Summary: List-initialized argument in await expression is doubly freed Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug lto/104237] [11 Regression] Emitted binary code changes when -g is enabled at -O1 -flto and optimize attribute since r11-3126-ga8f9b4c54cc35062

2022-06-01 Thread cnsun at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104237 --- Comment #18 from Chengnian Sun --- Hello folks, While testing gcc with -fcompare-debug, I was asked a question which puzzled me as well. What if we always enable -g, and use 'strip' to remove debug information from the binary file? Then w

[Bug c++/105803] [13 regression] ICE at gcc/cp/pt.cc:27737 after r13-860-gff91735a5b861d

2022-06-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105803 --- Comment #1 from Marek Polacek --- Would there be a chance to get a reduced testcase?

[Bug c++/105803] New: [13 regression] ICE at gcc/cp/pt.cc:27737 after r13-860-gff91735a5b861d

2022-06-01 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105803 Bug ID: 105803 Summary: [13 regression] ICE at gcc/cp/pt.cc:27737 after r13-860-gff91735a5b861d Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/105802] [13 Regression] ICE: in irange_intersect, at value-range.cc:1955 with -funswitch-loops

2022-06-01 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105802 --- Comment #4 from Andrew Macleod --- The reason for the precision check is because doing a union or intersection with ranges of different precisions is problematic, and being sure what the user expects would be a guess normally in this sort

[Bug tree-optimization/105802] [13 Regression] ICE: in irange_intersect, at value-range.cc:1955 with -funswitch-loops

2022-06-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105802 Richard Biener changed: What|Removed |Added Known to work|12.1.1 | --- Comment #3 from Richard Biener -

[Bug tree-optimization/105802] [13 Regression] ICE: in irange_intersect, at value-range.cc:1955 with -funswitch-loops

2022-06-01 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105802 Andrew Macleod changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment

[Bug tree-optimization/105802] [13 Regression] ICE: in irange_intersect, at value-range.cc:1955 with -funswitch-loops

2022-06-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105802 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-06-01 Status|UNCONFIR

[Bug sanitizer/105697] GCC trunk failed to detect a stack buffer-overflow

2022-06-01 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105697 --- Comment #2 from Li Shaohua --- I think the volatile keyword in function parameters is critical to this bug.

[Bug tree-optimization/105786] [12/13 Regression] ICE in compute_distributive_range, at tree-data-ref.cc:593 since r12-4283-g6f966f06146be7689af471d152e18ff50c609d99

2022-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105786 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:57a8fb92ac4161ebbf9381b009e8c5af843e3e5f commit r13-913-g57a8fb92ac4161ebbf9381b009e8c5af843e3e5f Author: Richard Biener Date:

[Bug c++/105797] [11/12/13 Regression] Internal compiler error: Segmentation fault ( fn_type_unification -> satisfaction_cache::satisfaction_cache -> iterative_hash_template_arg )

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

[Bug c/93631] [10/11/12/13 Regression] ICE on an invalid strcmp call in gimple_call_arg, at gimple.h:3258

2022-06-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93631 Richard Biener changed: What|Removed |Added Keywords||needs-bisection Status|NEW

[Bug debug/47819] [meta-bug] LTO debug information issues

2022-06-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47819 Bug 47819 depends on bug 93865, which changed state. Bug 93865 Summary: .debug_line with LTO refers to bogus file-names https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93865 What|Removed |Added

[Bug debug/93865] .debug_line with LTO refers to bogus file-names

2022-06-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93865 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.3 Resolution|---

[Bug c++/105491] [10/11 Regression] Usage of __constinit with -std=c++11 does is rejected

2022-06-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105491 Patrick Palka changed: What|Removed |Added Summary|[10/11/12 Regression] Usage |[10/11 Regression] Usage of

[Bug c++/105491] [10/11/12 Regression] Usage of __constinit with -std=c++11 does is rejected

2022-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105491 --- Comment #10 from CVS Commits --- The releases/gcc-12 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:e30b73bad9486f11b6b0022ae4a3edfc0f9da4bb commit r12-8445-ge30b73bad9486f11b6b0022ae4a3edfc0f9da4bb Author: Patrick Palka

[Bug tree-optimization/105802] New: [13 Regression] ICE: in irange_intersect, at value-range.cc:1955 with -funswitch-loops

2022-06-01 Thread zsojka at seznam dot cz via Gcc-bugs
nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20220601 (experimental) (GCC)

[Bug tree-optimization/105793] Missed vectorisation with conditional-select inside loop

2022-06-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105793 Richard Biener changed: What|Removed |Added Version|unknown |13.0 Target|

[Bug tree-optimization/105770] [13 Regression] ICE in decompose, at wide-int.h:984 since r13-754

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

[Bug target/105791] [13 Regression] ICE: in extract_insn, at recog.cc:2791 (unrecognizable insn) with -mxop

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

[Bug tree-optimization/105770] [13 Regression] ICE in decompose, at wide-int.h:984 since r13-754

2022-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105770 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0d5cc976a36af07c9790c38a99a0b98110c89795 commit r13-912-g0d5cc976a36af07c9790c38a99a0b98110c89795 Author: Jakub Jelinek Date: We

[Bug tree-optimization/105786] [12/13 Regression] ICE in compute_distributive_range, at tree-data-ref.cc:593 since r12-4283-g6f966f06146be7689af471d152e18ff50c609d99

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

[Bug fortran/105785] DIEs for local types are emitted at wrong scope in DWARF debug info

2022-06-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105785 --- Comment #1 from Richard Biener --- probably missing TYPE_CONTEXT here

[Bug target/105782] [sparc64] Emission of questionable movxtod/movdtox with -mvis3

2022-06-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105782 --- Comment #1 from Richard Biener --- You can check -fopt-info-vec for vectorization. Note the sparc backend doesn't implement any of GCCs vectorizer cost modeling hooks.

[Bug middle-end/105781] GCC does not unroll auto-vectorized loops.

2022-06-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105781 --- Comment #6 from Richard Biener --- The issue is cost modeling which is what the existing -funroll-[all-]loops RTL unrolling lacks. The vectorizer meanwhile can unroll vectorized loops by means of increasing the vectorization factor which th

[Bug c/105775] GCC uses an invalid assumption in numeric limits of char

2022-06-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105775 Richard Biener changed: What|Removed |Added Version|og11 (devel/omp/gcc-11) |11.3.1 --- Comment #1 from Richard Bie

[Bug c++/105774] Bogus overflow in constant expression

2022-06-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105774 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug tree-optimization/105801] New: Missed CCP with -ftrivial-auto-var-init=zero

2022-06-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105801 Bug ID: 105801 Summary: Missed CCP with -ftrivial-auto-var-init=zero Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: t

[Bug libfortran/59227] [4.9 regression] FAIL: gfortran.dg/erf_3.F90 -O0 execution test

2022-06-01 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59227 Bug 59227 depends on bug 59230, which changed state. Bug 59230 Summary: __divtf3@@GCC_4.4.0 missing from libgcc_s.so.1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59230 What|Removed |Added -

[Bug target/59230] __divtf3@@GCC_4.4.0 missing from libgcc_s.so.1

2022-06-01 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59230 Andreas Schwab changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug fortran/105800] New: Segfault deallocating a class, dimension(:) array

2022-06-01 Thread mscfd at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105800 Bug ID: 105800 Summary: Segfault deallocating a class, dimension(:) array Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug tree-optimization/105786] [12/13 Regression] ICE in compute_distributive_range, at tree-data-ref.cc:593 since r12-4283-g6f966f06146be7689af471d152e18ff50c609d99

2022-06-01 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105786 Alex Coplan changed: What|Removed |Added CC||stefansf at linux dot ibm.com --- Comment

[Bug tree-optimization/105786] ICE in compute_distributive_range, at tree-data-ref.cc:593 since r12-4283-g6f966f06146be7689af471d152e18ff50c609d99

2022-06-01 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105786 Alex Coplan changed: What|Removed |Added Summary|ICE in |ICE in |compute_distrib

[Bug tree-optimization/105643] [13 Regression] Code-Size regression for specrate 538.imagick_r

2022-06-01 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105643 --- Comment #9 from rguenther at suse dot de --- On Tue, 31 May 2022, crazylht at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105643 > > --- Comment #8 from Hongtao.liu --- > Looks like codesize decreased after > r13-7

[Bug tree-optimization/105763] [13 Regression] ICE in outgoing_edge_range_p, at gimple-range-gori.cc:1253 since r13-754-ga1c9f779f7528342

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

[Bug tree-optimization/105763] [13 Regression] ICE in outgoing_edge_range_p, at gimple-range-gori.cc:1253 since r13-754-ga1c9f779f7528342

2022-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105763 --- Comment #7 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:ae575e93b6f7fb7077940cb7410f899da184ec2d commit r13-873-gae575e93b6f7fb7077940cb7410f899da184ec2d Author: Richard Biener Date: