[Bug tree-optimization/105903] Missed optimization for __synth3way

2022-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105903 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > After my patches for PR 96923 (and PR 100864), we get: > > > _22 = _16 > _17; > ... (some dead statements that PHI-OPT adds due to match and simplify) >

[Bug tree-optimization/106164] (a > b) & (a >= b) does not get optimized until reassoc1

2022-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106164 --- Comment #4 from Andrew Pinski --- This is the match.pd code: (for bitop (bit_and bit_ior) (for cmp (tcc_comparison) (for ocmp (tcc_comparison) (for ncmp (tcc_comparison) (simplify (bitop (cmp:c @0 @1) (ocmp @0 @1)) (with

[Bug tree-optimization/106164] (a > b) & (a >= b) does not get optimized until reassoc1

2022-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106164 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > (In reply to Andrew Pinski from comment #1) > > This is done by fold_range_test in fold-const.cc > > Actually no, it is fold_truth_andor_1. Anyways I am

[Bug tree-optimization/106164] (a > b) & (a >= b) does not get optimized until reassoc1

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

[Bug target/106165] incorrect result when using inlined asm implementation of floor() on i686

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

[Bug middle-end/323] optimized code gives strange floating point results

2022-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=323 Andrew Pinski changed: What|Removed |Added CC||xeioexception at gmail dot com ---

[Bug target/106165] incorrect result when using inlined asm implementation of floor() on i686

2022-07-01 Thread xeioexception at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106165 --- Comment #1 from xeioex --- TO fix the last confirmations 1) gcc -O2 minified_to_string_radix.i -o 507 -lm && ./507 1e+23.toString(36) = ga894a06ac8 ERROR expected "ga894a06abs" 2) gcc -O1 minified_to_string_radix.i -o 507 -lm &&

[Bug c++/106166] New: Improve diagnostic for explicit constructor

2022-07-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106166 Bug ID: 106166 Summary: Improve diagnostic for explicit constructor Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/91429] Conditional explicit not respected with out-of-line definition

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

[Bug c/106165] New: incorrect result when using inlined asm implementation of floor() on i686

2022-07-01 Thread xeioexception at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106165 Bug ID: 106165 Summary: incorrect result when using inlined asm implementation of floor() on i686 Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/106164] (a > b) & (a >= b) does not get optimized until reassoc1

2022-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106164 --- Comment #1 from Andrew Pinski --- This is done by fold_range_test in fold-const.cc

[Bug tree-optimization/106163] generic-match does not honor -fnon-call-exceptions -fno-delete-dead-exceptions

2022-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106163 --- Comment #2 from Andrew Pinski --- Most likely the code here needs to be changed slightly. fprintf_indent (f, indent, "if (TREE_SIDE_EFFECTS (captures[%d]))\n",

[Bug tree-optimization/106164] New: (a > b) & (a >= b) does not get optimized until reassoc1

2022-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106164 Bug ID: 106164 Summary: (a > b) & (a >= b) does not get optimized until reassoc1 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization

[Bug tree-optimization/106163] generic-match does not honor -fnon-call-exceptions -fno-delete-dead-exceptions

2022-07-01 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106163 --- Comment #1 from Ian Lance Taylor --- This was originally reported against gccgo at https://go.dev/issue/53019.

[Bug tree-optimization/106163] New: generic-match does not honor -fnon-call-exceptions -fno-delete-dead-exceptions

2022-07-01 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106163 Bug ID: 106163 Summary: generic-match does not honor -fnon-call-exceptions -fno-delete-dead-exceptions Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug tree-optimization/105903] Missed optimization for __synth3way

2022-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105903 --- Comment #5 from Andrew Pinski --- After my patches for PR 96923 (and PR 100864), we get: _22 = _16 > _17; ... (some dead statements that PHI-OPT adds due to match and simplify) _8 = _16 >= _17; _13 = _8 & _22; But there is nothing

[Bug tree-optimization/105903] Missed optimization for __synth3way

2022-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105903 --- Comment #4 from Andrew Pinski --- Created attachment 53237 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53237=edit testcase Even though it was included in comment #0, I am attaching it as it easier to figure out what the testcase

[Bug libstdc++/106162] libstdc++v3: bits/largefile-config.h.tmp: No such file or directory race condition

2022-07-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106162 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |10.5

[Bug libstdc++/106162] libstdc++v3: bits/largefile-config.h.tmp: No such file or directory race condition

2022-07-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106162 --- Comment #8 from Jonathan Wakely --- Fixed on trunk, but worth backporting to all branches.

[Bug libstdc++/106162] libstdc++v3: bits/largefile-config.h.tmp: No such file or directory race condition

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106162 --- Comment #7 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:8a6ee426c2be3bd4359520e02c00ec60cac2fece commit r13-1400-g8a6ee426c2be3bd4359520e02c00ec60cac2fece Author: Jonathan Wakely

[Bug libstdc++/106162] libstdc++v3: bits/largefile-config.h.tmp: No such file or directory race condition

2022-07-01 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106162 --- Comment #6 from Sergei Trofimovich --- (In reply to Jonathan Wakely from comment #2) > (In reply to Sergei Trofimovich from comment #0) > > There is a race condition when (I speculate) libstdcv++v3 is built in > > parallel from different

[Bug libstdc++/106162] libstdc++v3: bits/largefile-config.h.tmp: No such file or directory race condition

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

[Bug libstdc++/106162] libstdc++v3: bits/largefile-config.h.tmp: No such file or directory race condition

2022-07-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106162 --- Comment #4 from Jonathan Wakely --- The header target is missing a prerequisite of stamp-${host_alias}

[Bug libstdc++/106162] libstdc++v3: bits/largefile-config.h.tmp: No such file or directory race condition

2022-07-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106162 --- Comment #3 from Jonathan Wakely --- I think the errors are actually saying the directory doesn't exist, and are coming from the three shell commands that redirect to that rule using >> $@.tmp

[Bug libstdc++/106162] libstdc++v3: bits/largefile-config.h.tmp: No such file or directory race condition

2022-07-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106162 --- Comment #2 from Jonathan Wakely --- (In reply to Sergei Trofimovich from comment #0) > There is a race condition when (I speculate) libstdcv++v3 is built in > parallel from different 'make' processes. Perhaps for c++98 | c++11 | x++17 >

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

2022-07-01 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105860 --- Comment #6 from Martin Jambor --- I proposed a fix on the mailing list: https://gcc.gnu.org/pipermail/gcc-patches/2022-July/597674.html

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

2022-07-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95107 --- Comment #9 from anlauf at gcc dot gnu.org --- The issue can be studied by playing with option -fmax-stack-var-size=n. -fno-automatic corresponds to n=0; using n=64 and higher lets the code compile. There's something weird going on here.

[Bug fortran/105954] ICE in gfc_element_size, at fortran/target-memory.cc:132

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105954 --- Comment #11 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:bac42273343bb9a198704900e2118ed4e84cb23a commit r10-10878-gbac42273343bb9a198704900e2118ed4e84cb23a Author: Harald

[Bug fortran/105954] ICE in gfc_element_size, at fortran/target-memory.cc:132

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105954 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:7296a7c9aa35a9731a73e33c29f6bbc488a0c837 commit r11-10103-g7296a7c9aa35a9731a73e33c29f6bbc488a0c837 Author: Harald

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

2022-07-01 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105860 Martin Jambor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org

[Bug libstdc++/106162] libstdc++v3: bits/largefile-config.h.tmp: No such file or directory race condition

2022-07-01 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106162 --- Comment #1 from Sergei Trofimovich --- Created attachment 53235 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53235=edit build.log.xz

[Bug libstdc++/106162] New: libstdc++v3: bits/largefile-config.h.tmp: No such file or directory race condition

2022-07-01 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106162 Bug ID: 106162 Summary: libstdc++v3: bits/largefile-config.h.tmp: No such file or directory race condition Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug fortran/105691] Incorrect calculation of INDEX(str1,str2) at compile time

2022-07-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105691 anlauf at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |10.5

[Bug fortran/105691] Incorrect calculation of INDEX(str1,str2) at compile time

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105691 --- Comment #11 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:e6db08d9183b80b0ada5122fae79412544279f56 commit r10-10877-ge6db08d9183b80b0ada5122fae79412544279f56 Author: Harald

[Bug fortran/105691] Incorrect calculation of INDEX(str1,str2) at compile time

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105691 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:614d9e76b71df6c5ad42f2b9c2a8156e8b3ebd35 commit r11-10102-g614d9e76b71df6c5ad42f2b9c2a8156e8b3ebd35 Author: Harald

[Bug tree-optimization/106126] [13 Regression] tree check fail in useless_type_conversion_p, at gimple-expr.cc:87 since r13-1184-g57424087e82db140

2022-07-01 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106126 --- Comment #20 from David Binderman --- (In reply to David Binderman from comment #19) > I have a third test case. I suspect it is a duplicate of #2, > but could I ask you to confirm this, please ? > > It is part of the same package as #2,

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

2022-07-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105813 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

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

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105813 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:1214ebb39cd250fda678ec89c785fcea86888a89 commit r10-10876-g1214ebb39cd250fda678ec89c785fcea86888a89 Author: Harald Anlauf

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

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105813 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:9902f93edd43853cd958b2e124878865da69a177 commit r11-10101-g9902f93edd43853cd958b2e124878865da69a177 Author: Harald Anlauf

[Bug c++/106024] [11/12/13 Regression] ICE on missing template keyword in template method call in pack expansion

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

[Bug c++/106024] [11/12/13 Regression] ICE on missing template keyword in template method call in pack expansion

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106024 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:252e9dfee9b1d01e0e44773ad83e0e44f3650945 commit r11-10100-g252e9dfee9b1d01e0e44773ad83e0e44f3650945 Author: Jason Merrill

[Bug c++/100252] [10/11/12 Regression] Internal compiler error during template instantiation

2022-07-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100252 Bug 100252 depends on bug 105550, which changed state. Bug 105550 Summary: Missing copy elision with conditional operator https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105550 What|Removed |Added

[Bug c++/105550] Missing copy elision with conditional operator

2022-07-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105550 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/105550] Missing copy elision with conditional operator

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105550 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:ecd11acacd6be57af930fa617d7c31ecb40e7f74 commit r13-1397-gecd11acacd6be57af930fa617d7c31ecb40e7f74 Author: Marek Polacek Date:

[Bug c++/106024] [11/12/13 Regression] ICE on missing template keyword in template method call in pack expansion

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106024 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:e748398b3ef6412ef35b85ef6b0893809aeb49cd commit r12-8537-ge748398b3ef6412ef35b85ef6b0893809aeb49cd Author: Jason Merrill

[Bug target/103722] [12 Regression] ICE in extract_constrain_insn building glibc for SH4

2022-07-01 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103722 Joseph S. Myers changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/103722] [12 Regression] ICE in extract_constrain_insn building glibc for SH4

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103722 --- Comment #7 from CVS Commits --- The releases/gcc-12 branch has been updated by Joseph Myers : https://gcc.gnu.org/g:962e7f0803f163f9cf44d64a2e199935d3f361fe commit r12-8536-g962e7f0803f163f9cf44d64a2e199935d3f361fe Author: Vladimir

[Bug c++/106111] -Wc++20-compat doesn't warn about using `requires` as an identifier

2022-07-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106111 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/106111] -Wc++20-compat doesn't warn about using `requires` as an identifier

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106111 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:2ea6c59349793761b9c00f75ef281ac413566b2f commit r13-1394-g2ea6c59349793761b9c00f75ef281ac413566b2f Author: Marek Polacek Date:

[Bug demangler/105039] rust demangler stack overflow

2022-07-01 Thread nickc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105039 Nick Clifton changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug demangler/105039] rust demangler stack overflow

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105039 --- Comment #4 from CVS Commits --- The master branch has been updated by Nick Clifton : https://gcc.gnu.org/g:9234cdca6ee88badfc00297e72f13dac4e540c79 commit r13-1393-g9234cdca6ee88badfc00297e72f13dac4e540c79 Author: Nick Clifton Date:

[Bug c++/105964] [12 Regression] Return type deduction fails during NTTP use of function dependent on template parameter

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

[Bug c++/105908] [12 Regression] out-of-class definition of templated method with decltype in trailing return type fails to compile

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

[Bug c++/105541] [12 Regression] ICE: Segmentation fault when template lambda in requires-clause

2022-07-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105541 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-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105779 --- Comment #10 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:aefe23f720a542e90ecc6629885b01d44139b043 commit r13-1392-gaefe23f720a542e90ecc6629885b01d44139b043 Author: Jason Merrill Date:

[Bug c++/105541] [12 Regression] ICE: Segmentation fault when template lambda in requires-clause

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105541 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:b1c8ee2627696717013ebdb1ca3f5f97a76b1cb9 commit r12-8535-gb1c8ee2627696717013ebdb1ca3f5f97a76b1cb9 Author: Jason Merrill

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

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105779 --- Comment #11 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:d9130880f77c7f9ffd5deaabda605bc151521be5 commit r12-8534-gd9130880f77c7f9ffd5deaabda605bc151521be5 Author: Jason Merrill

[Bug c++/106024] [11/12/13 Regression] ICE on missing template keyword in template method call in pack expansion

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106024 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:c17206709f94331e81443e2bdcf135a6ab7428ce commit r12-8533-gc17206709f94331e81443e2bdcf135a6ab7428ce Author: Jason Merrill

[Bug c++/106024] [11/12/13 Regression] ICE on missing template keyword in template method call in pack expansion

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106024 --- Comment #4 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:07ac550393d00fcadcee21b44abee6bb30c93949 commit r13-1390-g07ac550393d00fcadcee21b44abee6bb30c93949 Author: Jason Merrill Date:

[Bug analyzer/106000] RFE: -fanalyzer should complain about memory accesses that are definitely out-of-bounds

2022-07-01 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106000 David Malcolm changed: What|Removed |Added Summary|RFE: -fanalyzer should |RFE: -fanalyzer should

[Bug rtl-optimization/106082] [13 Regression] Recent change broke m68k

2022-07-01 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106082 --- Comment #6 from Jeffrey A. Law --- And I'll confirm that m68k bootstrapped and regression tested. The various failures introduced by the 105231 change have all been fixed. Thanks.

[Bug target/106161] Dubious choice of optimization strategy

2022-07-01 Thread vluchits at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106161 --- Comment #3 from Victor Luchitz --- Compilation flags used: -c -std=c11 -g -m2 -mb -Os -fomit-frame-pointer -Wall -Wextra -pedantic -Wno-unused-parameter -Wimplicit-fallthrough=0 -Wno-missing-field-initializers -Wnonnull

[Bug target/106161] Dubious choice of optimization strategy

2022-07-01 Thread vluchits at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106161 --- Comment #2 from Victor Luchitz --- Created attachment 53234 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53234=edit Test case Minimal test case. You can see in the disassembly the same pattern as described in the original report.

[Bug target/106161] Dubious choice of optimization strategy

2022-07-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106161 Richard Biener changed: What|Removed |Added Keywords||missed-optimization

[Bug tree-optimization/99918] [10/11/12/13 Regression] suboptimal code for bool bitfield tests

2022-07-01 Thread fkorta at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99918 Franek Korta changed: What|Removed |Added CC||fkorta at gmail dot com --- Comment #9

[Bug target/106161] New: Dubious choice of optimization strategy

2022-07-01 Thread vluchits at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106161 Bug ID: 106161 Summary: Dubious choice of optimization strategy Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c++/106046] GCC fails to disambiguate call to static member function when inside a class template

2022-07-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106046 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/105842] rejects-valid: static member function overload set constrained by concepts for class template results in ambiguous call

2022-07-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105842 Patrick Palka changed: What|Removed |Added CC||jlame646 at gmail dot com --- Comment

[Bug c++/104477] [C++23] Implement P2255R2, type trait to detect reference binding to temporary

2022-07-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104477 --- Comment #4 from Jonathan Wakely --- They are defined by the standard, as library traits. The intrinsics are needed to implement what the standard defines.

[Bug ada/106037] ICE with Aggregate aspect

2022-07-01 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
20220701 (experimental) [master bb6325c8ad2] (x86_64-suse-linux) | | Assert_Failure failed precondition from sinfo-nodes.ads:3970

[Bug rtl-optimization/106160] New: invariant motion DF RD problem invokes quadratic behavior

2022-07-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106160 Bug ID: 106160 Summary: invariant motion DF RD problem invokes quadratic behavior Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug ada/106031] ICE on container map empty aggregate.

2022-07-01 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106031 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug c++/106159] New: Have -Woverloaded-virtual not warn about virtual destructors?

2022-07-01 Thread adl at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106159 Bug ID: 106159 Summary: Have -Woverloaded-virtual not warn about virtual destructors? Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug ipa/106158] IPA SRA ssa_name_only_returned_p is quadratic

2022-07-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106158 --- Comment #2 from Richard Biener --- That is with -O2 -funswitch-loops -fno-thread-jumps -fno-tree-dominator-opts -fno-tree-vrp plus some changes to make unswitching SSA update cheaper

[Bug ipa/106158] IPA SRA ssa_name_only_returned_p is quadratic

2022-07-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106158 --- Comment #1 from Richard Biener --- ipa SRA: 56.58 ( 28%) 0.00 ( 0%) 56.60 ( 28%) 552 ( 0%)

[Bug testsuite/106149] [13 regression] g++.dg/warn/Warray-bounds-16.C had bogus errors after r13-1366-g1eef21ccfa5988

2022-07-01 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106149 Kito Cheng changed: What|Removed |Added CC||kito at gcc dot gnu.org --- Comment #2

[Bug ipa/106158] New: IPA SRA ssa_name_only_returned_p is quadratic

2022-07-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106158 Bug ID: 106158 Summary: IPA SRA ssa_name_only_returned_p is quadratic Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/106157] New: ICE verify_ssa failed since r13-1268-g8c99e307b20c502e

2022-07-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106157 Bug ID: 106157 Summary: ICE verify_ssa failed since r13-1268-g8c99e307b20c502e Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity:

[Bug tree-optimization/106157] [13 Regression] ICE verify_ssa failed since r13-1268-g8c99e307b20c502e

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

[Bug middle-end/106144] wide_int shifted_mask() and mask() do not agree

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106144 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e52592073f6df3d7a3acd9f0436dcc32a8b7493d commit r13-1381-ge52592073f6df3d7a3acd9f0436dcc32a8b7493d Author: Jakub Jelinek Date:

[Bug bootstrap/106145] [12/13 Regression] /usr/bin/ld: libcommon.a(input.o): copy relocation against non-copyable protected symbol `__cxa_pure_virtual' on aarch64-linux-gnu

2022-07-01 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106145 --- Comment #2 from Matthias Klose --- also reported as https://sourceware.org/bugzilla/show_bug.cgi?id=29310

[Bug target/106122] [12/13 Regression] ICE in fixup_args_size_notes, at expr.cc:4493 since r12-6106-gef26c151c14a8717

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106122 --- Comment #3 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:17419b61edd350147b0cc10c3da0b8461e51a42c commit r13-1380-g17419b61edd350147b0cc10c3da0b8461e51a42c Author: Roger Sayle Date: Fri

[Bug other/100695] Format decoder, quoting in 'dump_printf' etc.

2022-07-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100695 --- Comment #2 from Tobias Burnus --- Created attachment 53233 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53233=edit Patch which does not work (segfault during self test) – but maybe it gives an idea how to solve the issue I think

[Bug middle-end/106144] wide_int shifted_mask() and mask() do not agree

2022-07-01 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106144 --- Comment #3 from Aldy Hernandez --- (In reply to Jakub Jelinek from comment #2) > Created attachment 53228 [details] > gcc13-pr106144.patch > > Untested fix. Thanks.

[Bug middle-end/105874] [13 Regression] Incorrect codegen and ICE since g:ed6fd2aed58f2cca99f15331bf68999c0e6df370

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105874 --- Comment #10 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:90129d39ca0fc1d2ac9cf960379feccea878bd90 commit r13-1378-g90129d39ca0fc1d2ac9cf960379feccea878bd90 Author: Eric Botcazou Date:

[Bug bootstrap/106156] [13 Regression] libtool fails to link liblto_plugin.la on riscv64-linux-gnu

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

[Bug tree-optimization/106126] [13 Regression] tree check fail in useless_type_conversion_p, at gimple-expr.cc:87 since r13-1184-g57424087e82db140

2022-07-01 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106126 --- Comment #19 from David Binderman --- Created attachment 53232 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53232=edit gzipped C++ source code I have a third test case. I suspect it is a duplicate of #2, but could I ask you to

[Bug bootstrap/106156] [13 Regression] libtool fails to link liblto_plugin.la on riscv64-linux-gnu

2022-07-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106156 Richard Biener changed: What|Removed |Added CC||marxin at gcc dot gnu.org Target

[Bug lto/106118] lto-plugin/lto-plugin.c: -pthread not passed to AM_LDFLAGS

2022-07-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106118 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug lto/106118] lto-plugin/lto-plugin.c: -pthread not passed to AM_LDFLAGS

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106118 --- Comment #2 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:51debf7f857dddfb4dd2493867d2648041e7d8de commit r13-1377-g51debf7f857dddfb4dd2493867d2648041e7d8de Author: Pekka Seppänen Date:

[Bug target/106153] Generated arm64 code writing below stack pointer without updating SP

2022-07-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106153 Richard Biener changed: What|Removed |Added Resolution|--- |INVALID

[Bug testsuite/106149] [13 regression] g++.dg/warn/Warray-bounds-16.C had bogus errors after r13-1366-g1eef21ccfa5988

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

[Bug bootstrap/106145] [12/13 Regression] /usr/bin/ld: libcommon.a(input.o): copy relocation against non-copyable protected symbol `__cxa_pure_virtual' on aarch64-linux-gnu

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

[Bug tree-optimization/106131] [10/11/12/13 Regression] -fstrict-aliasing breaks normal program that does not use any pointer or reference

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106131 --- Comment #10 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:9701432ff79926a5dd3303be3417e0bd0c24140b commit r13-1376-g9701432ff79926a5dd3303be3417e0bd0c24140b Author: Richard Biener Date:

[Bug tree-optimization/106131] [10/11/12 Regression] -fstrict-aliasing breaks normal program that does not use any pointer or reference

2022-07-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106131 Richard Biener changed: What|Removed |Added Known to work||13.0 Summary|[10/11/12/13

[Bug tree-optimization/106126] [13 Regression] tree check fail in useless_type_conversion_p, at gimple-expr.cc:87 since r13-1184-g57424087e82db140

2022-07-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106126 --- Comment #18 from Martin Liška --- (In reply to David Binderman from comment #15) > Created attachment 53230 [details] > gzipped C++ source code > > > Please find attached an additional C++ test case. -O3 required this time: > > $

[Bug tree-optimization/106126] [13 Regression] tree check fail in useless_type_conversion_p, at gimple-expr.cc:87 since r13-1184-g57424087e82db140

2022-07-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106126 Martin Liška changed: What|Removed |Added Summary|[12 Regression] tree check |[13 Regression] tree check

[Bug tree-optimization/106126] [12 Regression] tree check fail in useless_type_conversion_p, at gimple-expr.cc:87 since r13-1184-g57424087e82db140

2022-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106126 --- Comment #16 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:618bac5b486832edd3f8eb3ada74740e389dfcb8 commit r13-1375-g618bac5b486832edd3f8eb3ada74740e389dfcb8 Author: Martin Liska Date:

[Bug c++/106150] [DR 2084] union with more than one variant and non-trivial constructor is not accepted

2022-07-01 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106150 --- Comment #6 from Jens Maurer --- Related clang bug: https://github.com/llvm/llvm-project/issues/56313