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

2022-05-31 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105793 --- Comment #2 from Hongtao.liu --- Guess vectorizer expects something like tmp1 = cond ? b : -b; a_5 = a_4 + tmp1; from ifcvt instead of current a_13 = b_10 + a_16; # DEBUG a => NULL _4 = b_10 < 1.0e+1; # DEBUG BEGIN_STMT a_12 =

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

2022-05-31 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105799 Bug ID: 105799 Summary: Miss optimization to simplify (v + A) * B + C in rtl. Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/105792] SPARC GCC 12.1.0 fails with internal compiler error: in expand_expr_real_2, at expr.cc:10160

2022-05-31 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105792 Sam James changed: What|Removed |Added CC||sam at gentoo dot org --- Comment #3 from

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

2022-05-31 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105798 Bug ID: 105798 Summary: Add new -Wshadow for data member Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++

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

2022-05-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105797 --- Comment #2 from Marek Polacek --- // PR c++/105797 namespace std { template struct integral_constant { static constexpr int value = __v; }; template struct decay { typedef _Tp type; }; template using decay_t = typename

[Bug c++/56190] GCC fails deducing a "void(*)(int, float, double)" to a "void(*)(T..., float, double)" with T={int}

2022-05-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56190 --- Comment #6 from Andrew Pinski --- Simplier example: ``` int func(int, char); template int testFunc(int (*)(TArgs..., char)); int x = testFunc(func); ```

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

2022-05-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105797 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org,

[Bug c++/56190] GCC fails deducing a "void(*)(int, float, double)" to a "void(*)(T..., float, double)" with T={int}

2022-05-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56190 Andrew Pinski changed: What|Removed |Added CC||hiraditya at msn dot com --- Comment #5

[Bug c++/105796] error: no matching function for call with variadic template function

2022-05-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105796 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/105796] error: no matching function for call with variadic template function

2022-05-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105796 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

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

2022-05-31 Thread northon_patrick3 at yahoo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105797 Bug ID: 105797 Summary: Internal compiler error: Segmentation fault ( fn_type_unification -> satisfaction_cache::satisfaction_cache -> iterative_hash_template_arg

[Bug c++/105796] New: error: no matching function for call with template function

2022-05-31 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105796 Bug ID: 105796 Summary: error: no matching function for call with template function Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity: normal

[Bug c++/105758] [12/13 Regression] ICE in build_baselink since r12-6897

2022-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105758 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:4f84f12066953186cce4328b7f178d3daa2fe96e commit r13-871-g4f84f12066953186cce4328b7f178d3daa2fe96e Author: Patrick Palka Date:

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

2022-05-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105794 --- Comment #2 from Marek Polacek --- Probably the same issue: struct C { ~C(); }; int foo() { C c; return 1; if (true) ; }

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

2022-05-31 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 Status|NEW |ASSIGNED Assignee|unassigned

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

2022-05-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105794 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/101803] CTAD fails for nested designated initializers

2022-05-31 Thread h2+bugs at fsfe dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101803 --- Comment #6 from Hannes Hauswedell --- Since it seems like 10.4 is around the corner... any chance this will make it? Thanks a lot!

[Bug libstdc++/103904] [defect fix] Please backport P2325R3 to 10 and 11

2022-05-31 Thread h2+bugs at fsfe dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103904 --- Comment #19 from Hannes Hauswedell --- Thanks a lot!

[Bug c++/102307] [10/11 Regression] internal compiler error: in reshape_init_r since r10-6388-ge98ebda074bf8fc5

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

[Bug c++/102307] [10/11 Regression] internal compiler error: in reshape_init_r since r10-6388-ge98ebda074bf8fc5

2022-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102307 --- Comment #11 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:3c10dc751e8670c7cc02a1b6db9abffb59d2fc42 commit r11-10042-g3c10dc751e8670c7cc02a1b6db9abffb59d2fc42 Author: Jason

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

2022-05-31 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 Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/105655] [12 Regression] ICE on invalid deduction

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

[Bug c++/105623] [12/13 regression][rejects valid] invalid use of auto when deducing return type of base class template

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

[Bug c++/105652] [12/13 Regression] ICE: in is_base_type, at dwarf2out.cc:13400 since r12-1937-gc28e1d288ab727de

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

[Bug c++/105652] [12/13 Regression] ICE: in is_base_type, at dwarf2out.cc:13400 since r12-1937-gc28e1d288ab727de

2022-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105652 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:102a1472ab393c89bd74c06ff92bef55fa61812c commit r12-8443-g102a1472ab393c89bd74c06ff92bef55fa61812c Author: Jason Merrill

[Bug c++/105655] [12 Regression] ICE on invalid deduction

2022-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105655 --- Comment #3 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:d81be519fd6547654f1eda6976e95524db7d39b7 commit r12-8442-gd81be519fd6547654f1eda6976e95524db7d39b7 Author: Jason Merrill

[Bug c++/105623] [12/13 regression][rejects valid] invalid use of auto when deducing return type of base class template

2022-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105623 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:d90576952356735a2152c318ef1d60221b958b15 commit r12-8441-gd90576952356735a2152c318ef1d60221b958b15 Author: Jason Merrill

[Bug c++/102307] [10/11/12 Regression] internal compiler error: in reshape_init_r since r10-6388-ge98ebda074bf8fc5

2022-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102307 --- Comment #10 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:a578b17b59651144a7b2737475d993184600a802 commit r12-8440-ga578b17b59651144a7b2737475d993184600a802 Author: Jason Merrill

[Bug c++/104111] [DR2589] Concept evaluation depends on context where it was first checked

2022-05-31 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104111 Jason Merrill changed: What|Removed |Added Summary|Concept evaluation depends |[DR2589] Concept evaluation

[Bug target/105778] Shift by register --- unnecessary AND instruction

2022-05-31 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105778 --- Comment #6 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #4) > It is the same thing done a few lines later in the preexisting code too. > Shall I all of those change to gen_lowpart (QImode, force_reg (GET_MODE >

[Bug libstdc++/103904] [defect fix] Please backport P2325R3 to 10 and 11

2022-05-31 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103904 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/101231] _CachedPosition::_M_get() should not return {} when range adapter does not model forward_range

2022-05-31 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101231 Patrick Palka changed: What|Removed |Added Target Milestone|12.0|10.4

[Bug libstdc++/101231] _CachedPosition::_M_get() should not return {} when range adapter does not model forward_range

2022-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101231 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:656cd10436260de997f5202b6737c7b8aebdfb4f commit r10-10809-g656cd10436260de997f5202b6737c7b8aebdfb4f Author: Patrick Palka

[Bug libstdc++/103904] [defect fix] Please backport P2325R3 to 10 and 11

2022-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103904 --- Comment #17 from CVS Commits --- The releases/gcc-10 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:656cd10436260de997f5202b6737c7b8aebdfb4f commit r10-10809-g656cd10436260de997f5202b6737c7b8aebdfb4f Author: Patrick

[Bug libstdc++/103904] [defect fix] Please backport P2325R3 to 10 and 11

2022-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103904 --- Comment #16 from CVS Commits --- The releases/gcc-10 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:22b86cdc4d7fddb4991a08515e47e66fe5c41def commit r10-10808-g22b86cdc4d7fddb4991a08515e47e66fe5c41def Author: Patrick

[Bug objc/101718] Objective-C frontend emits wrong code to call methods returning scalar types returned in memory

2022-05-31 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101718 --- Comment #7 from Iain Sandoe --- still needed on 11.x.

[Bug objc/101718] Objective-C frontend emits wrong code to call methods returning scalar types returned in memory

2022-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101718 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:903c18c65c4eb135eb3c67a3c14fb6c20f537feb commit r10-10807-g903c18c65c4eb135eb3c67a3c14fb6c20f537feb Author: Iain Sandoe

[Bug c++/105756] [12/13 Regression] ICE in cxx_eval_constant_expression at cp/constexpr.cc:7586: unexpected expression ‘ElemSize’ of kind template_parm_index

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

[Bug objc/97854] [11 regression] ODR violation in stub-objc.c

2022-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97854 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:5dd5507265e3b7fecd775a106a20762a5e828421 commit r10-10805-g5dd5507265e3b7fecd775a106a20762a5e828421 Author: Iain Sandoe

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

2022-05-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105795 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

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

2022-05-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105795 Marek Polacek changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug c++/105795] New: Miscompilation with [[no_unique_address]]

2022-05-31 Thread git at foonathan dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105795 Bug ID: 105795 Summary: Miscompilation with [[no_unique_address]] Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug d/105544] gdc fails to compile d source from stdin

2022-05-31 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105544 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug d/105544] gdc fails to compile d source from stdin

2022-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105544 --- Comment #13 from CVS Commits --- The releases/gcc-12 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:f106ef53024cc464ae446189fbad373caaff058e commit r12-8439-gf106ef53024cc464ae446189fbad373caaff058e Author: Iain Buclaw

[Bug d/105544] gdc fails to compile d source from stdin

2022-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105544 --- Comment #12 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:a0bc7fd42136f124726985b1ab4dcde739cd260e commit r13-867-ga0bc7fd42136f124726985b1ab4dcde739cd260e Author: Iain Buclaw Date: Tue

[Bug fortran/105759] is_contiguous(zero_size_array(2:0)) wrongly returns .true.

2022-05-31 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105759 --- Comment #3 from Steve Kargl --- On Tue, May 31, 2022 at 09:59:48AM +, anlauf at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105759 > > --- Comment #2 from anlauf at gcc dot gnu.org --- > JFTR: Cray and NAG

[Bug middle-end/105348] Overly aggressive -Warray-bounds after conditional

2022-05-31 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105348 --- Comment #4 from Thiago Macieira --- One more Qt workaround, for the record: https://codereview.qt-project.org/c/qt/qtbase/+/413730

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

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

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

2022-05-31 Thread kamil.sliwak at codepoets dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105794 Bug ID: 105794 Summary: Spurious "control reaches end of non-void function" warning with a combination of destructor, try/catch and if (true) Product: gcc

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

2022-05-31 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 Last reconfirmed||2022-05-31

[Bug rtl-optimization/88414] [9 Regression] ICE in lra_assign, at lra-assigns.c:1624

2022-05-31 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88414 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #7

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

2022-05-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105793 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #1 from Andrew

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

2022-05-31 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105793 Bug ID: 105793 Summary: Missed vectorisation with conditional-select inside loop Product: gcc Version: unknown Status: UNCONFIRMED Keywords:

[Bug target/105792] SPARC GCC 12.1.0 fails with internal compiler error: in expand_expr_real_2, at expr.cc:10160

2022-05-31 Thread sumbera at volny dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105792 --- Comment #2 from Petr Sumbera --- Created attachment 53060 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53060=edit preprocessed source

[Bug c++/105758] [12/13 Regression] ICE in build_baselink since r12-6897

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

[Bug target/105792] SPARC GCC 12.1.0 fails with internal compiler error: in expand_expr_real_2, at expr.cc:10160

2022-05-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105792 --- Comment #1 from Andrew Pinski --- Can you attach the preprocessed source ?

[Bug c/105792] New: SPARC GCC 12.1.0 fails with internal compiler error: in expand_expr_real_2, at expr.cc:10160

2022-05-31 Thread sumbera at volny dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105792 Bug ID: 105792 Summary: SPARC GCC 12.1.0 fails with internal compiler error: in expand_expr_real_2, at expr.cc:10160 Product: gcc Version: 12.1.0 Status: UNCONFIRMED

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2022-05-31 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 105762, which changed state. Bug 105762 Summary: [12/13 Regression] -Warray-bounds false positives for integer-to-pointer casts since r12-2132-ga110855667782dac https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105762

[Bug middle-end/105762] [12/13 Regression] -Warray-bounds false positives for integer-to-pointer casts since r12-2132-ga110855667782dac

2022-05-31 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105762 Martin Sebor changed: What|Removed |Added Resolution|--- |INVALID See Also|

[Bug target/105778] Shift by register --- unnecessary AND instruction

2022-05-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105778 Jakub Jelinek changed: What|Removed |Added Attachment #53058|0 |1 is obsolete|

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

2022-05-31 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105791 --- Comment #2 from Roger Sayle --- Doh! V1TI needs to be added to V_128_256. I'll spin a patch.

[Bug c++/105767] gcc 12.1 ICE but not with 11.2 compiling boost

2022-05-31 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105767 Alex Coplan changed: What|Removed |Added Status|RESOLVED|WAITING CC|

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

2022-05-31 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105791 Roger Sayle changed: What|Removed |Added Last reconfirmed||2022-05-31

[Bug target/105778] Shift by register --- unnecessary AND instruction

2022-05-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105778 --- Comment #4 from Jakub Jelinek --- It is the same thing done a few lines later in the preexisting code too. Shall I all of those change to gen_lowpart (QImode, force_reg (GET_MODE (operands[2]), operands[2])) then?

[Bug target/105778] Shift by register --- unnecessary AND instruction

2022-05-31 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105778 --- Comment #3 from Uroš Bizjak --- Comment on attachment 53058 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53058 gcc13-pr105778.patch >+ operands[2] = gen_lowpart (QImode, operands[2]); We have learned that pre-reload splits

[Bug middle-end/105777] Failure to optimize __builtin_mul_overflow with constant operand to add+cmp check

2022-05-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105777 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c++/105758] [12/13 Regression] ICE in build_baselink since r12-6897

2022-05-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105758 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-05-31 CC|

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

2022-05-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105779 Marek Polacek changed: What|Removed |Added Priority|P3 |P2

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

2022-05-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105779 Marek Polacek changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug target/105778] Shift by register --- unnecessary AND instruction

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

[Bug c++/105787] internal compiler error: tree check: expected enumeral_type, have record_type in tsubst_copy

2022-05-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105787 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

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

2022-05-31 Thread zsojka at seznam dot cz via Gcc-bugs
ng-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20220531 (experimental) (GCC)

[Bug libstdc++/105790] New: cannot constructor std::tuple of non-movable types with conversions

2022-05-31 Thread hui.xie1990 at gmail dot com via Gcc-bugs
mmovable{ operator Immovable() const { return Immovable{};} }; void test(){ std::tuple t{ConvToImmovable{}}; } ``` The above code does not compile. /opt/compiler-explorer/gcc-trunk-20220531/include/c++/13.0.0/tuple:91:11: error: use of deleted function 'Immovable::Immovable(Immovable&a

[Bug fortran/105759] is_contiguous(zero_size_array(2:0)) wrongly returns .true.

2022-05-31 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105759 --- Comment #2 from anlauf at gcc dot gnu.org --- JFTR: Cray and NAG also print T, so I guess this confirms Steve's analysis.

[Bug c++/105789] New: The instance of a deallocation function template is never a usual deallocation function

2022-05-31 Thread xmh970252187 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105789 Bug ID: 105789 Summary: The instance of a deallocation function template is never a usual deallocation function Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug c++/105788] New: ICE: trying to capture 'args#0' in instantiation of generic lambda

2022-05-31 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105788 Bug ID: 105788 Summary: ICE: trying to capture 'args#0' in instantiation of generic lambda Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug sanitizer/64234] Statically sanitized executable does not export ASan symbols

2022-05-31 Thread mkh199740 at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64234 lo1ol changed: What|Removed |Added CC||mkh199740 at mail dot ru --- Comment #6 from

[Bug c++/105787] New: internal compiler error: tree check: expected enumeral_type, have record_type in tsubst_copy

2022-05-31 Thread tamas+gcc--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105787 Bug ID: 105787 Summary: internal compiler error: tree check: expected enumeral_type, have record_type in tsubst_copy Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/105786] New: ICE in compute_distributive_range, at tree-data-ref.cc:593

2022-05-31 Thread gcc at olupton dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105786 Bug ID: 105786 Summary: ICE in compute_distributive_range, at tree-data-ref.cc:593 Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity: normal

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

2022-05-31 Thread nils-christian.kempke at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105785 Bug ID: 105785 Summary: DIEs for local types are emitted at wrong scope in DWARF debug info Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/105545] [12/13 Regression] Warning for string assignment with _GLIBCXX_ASSERTIONS since r12-3347-g8af8abfbbace49e6

2022-05-31 Thread tom at compton dot nu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105545 --- Comment #6 from Tom Hughes --- The reason it only happens with -D_GLIBCXX_ASSERTIONS or in C++20 mode is that both of those stop the use of the explicit instantiations for basic_string and cause them to be implicitly instantiated.

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

2022-05-31 Thread denis.yaroshevskij at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105781 --- Comment #5 from Denis Yaroshevskiy --- Pragma is not going to be used in 99.9% of cases. TBH I think that gcc should not require -funroll-loops at least on O3. This is not a well known flag and people expect O3 to be max speed at the