[Bug c/107802] -Wsuggest-attribute=format ignores [[gnu::format(...)]]

2022-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107802 --- Comment #4 from Andrew Pinski --- (In reply to Adam Badura from comment #3) > Why is this marked as a duplicate of bug 98487? I have seen bug 98487 before > reporting it. Furthermore, I experienced it while trying my code sample on > the

[Bug c/107802] -Wsuggest-attribute=format ignores [[gnu::format(...)]]

2022-11-22 Thread adam.f.badura at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107802 --- Comment #3 from Adam Badura --- Why is this marked as a duplicate of bug 98487? I have seen bug 98487 before reporting it. Furthermore, I experienced it while trying my code sample on the trunk version to see if the problem still exists.

[Bug libstdc++/107801] Building cross compiler for H8 family fails in libstdc++ (c++17/memory_resource.cc)

2022-11-22 Thread jdx at o2 dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107801 --- Comment #7 from Jan Dubiec --- OK, I have applied the patch manually to my 12.2.0 tree and libstdc++ has been partially build. "Partially" because everything seems to be fine for H8/300H, H8S and H8SX in "advanced mode" (let's call it

[Bug testsuite/107830] New: [13 Regression] ICE in gen_aarch64_bitmask_udiv3, at ./insn-opinit.h:813

2022-11-22 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107830 Bug ID: 107830 Summary: [13 Regression] ICE in gen_aarch64_bitmask_udiv3, at ./insn-opinit.h:813 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/107699] [12/13 Regression] False positive -Warray-bounds, non-existent offset reported by GCC

2022-11-22 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107699 Hans-Peter Nilsson changed: What|Removed |Added CC||hp at gcc dot gnu.org --- Comment

[Bug c++/97665] constexpr union array member incorrectly rejected as non-constexpr

2022-11-22 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97665 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #11 from

[Bug lto/107829] New: Trivial compile time tracking code

2022-11-22 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107829 Bug ID: 107829 Summary: Trivial compile time tracking code Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto

[Bug tree-optimization/107828] New: tree-inlining would generate SSA with incorrect def stmt

2022-11-22 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107828 Bug ID: 107828 Summary: tree-inlining would generate SSA with incorrect def stmt Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug d/98058] libphobos: Support building on *-*-darwin*

2022-11-22 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98058 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug c/107405] [13 Regression] enum change causing Linux kernel to fail to build due to Linux depending on old behavior

2022-11-22 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107405 --- Comment #19 from joseph at codesourcery dot com --- On Tue, 22 Nov 2022, macro at orcam dot me.uk via Gcc-bugs wrote: > Well, according to the assertion triggered `typeof (EM_MAX_SLOTS)' will > yield a data type of a different width

[Bug analyzer/107788] [13 Regression] ICE in wide_int_to_tree_1, at tree.cc:1757 since r13-4074-g86a90006864840c2

2022-11-22 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107788 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug analyzer/107783] [13 Regression] ICE in deref_rvalue, at analyzer/region-model.cc:3238 since r13-4074-g86a90006864840c2

2022-11-22 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107783 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug analyzer/107807] gcc.dg/analyzer/errno-1.c FAILs

2022-11-22 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107807 David Malcolm changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #5 from David

[Bug analyzer/107788] [13 Regression] ICE in wide_int_to_tree_1, at tree.cc:1757 since r13-4074-g86a90006864840c2

2022-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107788 --- Comment #5 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:ec7c796de020cb5cd955aa5b26c92b1da49d6076 commit r13-4249-gec7c796de020cb5cd955aa5b26c92b1da49d6076 Author: David Malcolm Date:

[Bug analyzer/107807] gcc.dg/analyzer/errno-1.c FAILs

2022-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107807 --- Comment #4 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:7c9717fcb5cf94ce1e7ef5c903058adf9980ff28 commit r13-4247-g7c9717fcb5cf94ce1e7ef5c903058adf9980ff28 Author: David Malcolm Date:

[Bug analyzer/107783] [13 Regression] ICE in deref_rvalue, at analyzer/region-model.cc:3238 since r13-4074-g86a90006864840c2

2022-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107783 --- Comment #5 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:64fb291c5839e1a82afb62743172b4eab1267399 commit r13-4248-g64fb291c5839e1a82afb62743172b4eab1267399 Author: David Malcolm Date:

[Bug target/107827] switch table compression could shrink large tables (but missing), testcase cerf-lib

2022-11-22 Thread aleks at physik dot tu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107827 --- Comment #5 from Alexander Kleinsorge --- And what about linear equation for same-sized cases (each case has same code-size). Which should be possible in Case 1 (I think).

[Bug target/107827] switch table compression could shrink large tables (but missing), testcase cerf-lib

2022-11-22 Thread aleks at physik dot tu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107827 --- Comment #4 from Alexander Kleinsorge --- (In reply to Andrew Pinski from comment #2) > x86_64 target does not dojump table compression at all. > But aarch64 and arm targets do: > .L4: > .2byte (.L103 - .Lrtx4) / 4 > .2byte

[Bug target/107827] switch table compression could shrink large tables (but missing), testcase cerf-lib

2022-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107827 --- Comment #3 from Andrew Pinski --- Interesting how clang does not do it either for x86_64 but does it also for aarch64 ...

[Bug target/107827] switch table compression could shrink large tables (but missing), testcase cerf-lib

2022-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107827 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug fortran/107577] [13 Regression] ICE in find_array_spec, at fortran/resolve.cc:5008 since r13-1757-gf838d15641d256e2

2022-11-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107577 --- Comment #3 from anlauf at gcc dot gnu.org --- Submitted: https://gcc.gnu.org/pipermail/fortran/2022-November/058549.html

[Bug libstdc++/106201] filesystem::directory_iterator is a borrowable range?

2022-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106201 --- Comment #12 from CVS Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:477b3f9d58589b3af7a5a7d038d78352ad66406e commit r12-8927-g477b3f9d58589b3af7a5a7d038d78352ad66406e Author: Jonathan

[Bug c/107827] switch table compression could shrink large tables (but missing), testcase cerf-lib

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

[Bug libstdc++/107814] [13 regression] experimental/filesystem/iterators/error_reporting.cc FAILs

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107814 --- Comment #2 from Jonathan Wakely --- Created attachment 53949 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53949=edit Fix unsafe use of dirent::d_name I'm unable to access the Solaris/x86 host in the compile farm (gcc210) so I can't

[Bug c/107827] New: switch table compression could shrink large tables (but missing), testcase cerf-lib

2022-11-22 Thread aleks at physik dot tu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107827 Bug ID: 107827 Summary: switch table compression could shrink large tables (but missing), testcase cerf-lib Product: gcc Version: 12.2.0 Status: UNCONFIRMED

[Bug libstdc++/107817] std/format/functions/format.cc etc. FAIL

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107817 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/107823] [13 Regression] Dead Code Elimination Regression at -Os (trunk vs. 12.2.0)

2022-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107823 Andrew Pinski changed: What|Removed |Added Summary|Dead Code Elimination |[13 Regression] Dead Code

[Bug tree-optimization/107822] [13 Regression] Dead Code Elimination Regression at -Os (trunk vs. 12.2.0)

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

[Bug analyzer/106473] [12/13 Regression] -Wanalyzer-malloc-leak false positive regression when returning heap-allocation through nested pointers

2022-11-22 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106473 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1

[Bug fortran/107819] ICE in gfc_check_argument_var_dependency, at fortran/dependency.cc:978

2022-11-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107819 --- Comment #3 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #2) > Potential patch: This regtests ok. However, > Note that we get a (correct) warning for z1 after this fix: > > pr107819-z1.f90:4:10-16: > > 4 |

[Bug tree-optimization/107826] ice during GIMPLE pass: slp

2022-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107826 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/107826] New: ice during GIMPLE pass: slp

2022-11-22 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107826 Bug ID: 107826 Summary: ice during GIMPLE pass: slp Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/98487] ICE: tree check: expected identifier_node, have tree_list in is_attribute_p, at attribs.h:155 [C2X or C++11 attribute syntax, gnu::format and -Wsuggest-attribute=format] or a suggest wa

2022-11-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98487 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug fortran/107819] ICE in gfc_check_argument_var_dependency, at fortran/dependency.cc:978

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

[Bug c/98487] ICE: tree check: expected identifier_node, have tree_list in is_attribute_p, at attribs.h:155 [C2X or C++11 attribute syntax, gnu::format and -Wsuggest-attribute=format] or a suggest wa

2022-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98487 --- Comment #5 from Andrew Pinski --- I should note this happens with both front-ends too. though the code is shared here.

[Bug fortran/107820] ICE in match_mult_operand, at fortran/matchexp.cc:296

2022-11-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107820 anlauf at gcc dot gnu.org changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/98487] ICE: tree check: expected identifier_node, have tree_list in is_attribute_p, at attribs.h:155 [C2X attribute syntax, gnu::format and -Wsuggest-attribute=format]

2022-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98487 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic --- Comment #4 from Andrew

[Bug c/107802] -Wsuggest-attribute=format ignores [[gnu::format(...)]]

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

[Bug c/98487] ICE: tree check: expected identifier_node, have tree_list in is_attribute_p, at attribs.h:155 [C2X attribute syntax, gnu::format and -Wsuggest-attribute=format]

2022-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98487 Andrew Pinski changed: What|Removed |Added CC||adam.f.badura at gmail dot com ---

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

2022-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105593 Andrew Pinski changed: What|Removed |Added CC||bill.trost at harmonicinc dot com ---

[Bug c++/107825] uninitialized variable warning in avx512fintrin.h with skylake architecture

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

[Bug c/107802] -Wsuggest-attribute=format ignores [[gnu::format(...)]]

2022-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107802 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Component|c++

[Bug tree-optimization/105616] Using regex_replace throws "maybe-uninitialized" warnings with -fsanitize=address

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105616 Jonathan Wakely changed: What|Removed |Added CC||bill.trost at harmonicinc dot com

[Bug c++/107824] maybe-uninitialized variable in std::function ctor with -Wall -fsanitize=address when constructing a regex

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107824 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/107825] uninitialized variable warning in immintrin.h with skylake architecture

2022-11-22 Thread bill.trost at harmonicinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107825 Bill T. changed: What|Removed |Added URL||https://godbolt.org/z/h8v1j

[Bug c++/107825] New: uninitialized variable warning in immintrin.h with skylake architecture

2022-11-22 Thread bill.trost at harmonicinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107825 Bug ID: 107825 Summary: uninitialized variable warning in immintrin.h with skylake architecture Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity:

[Bug fortran/107821] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.cc:3723

2022-11-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107821 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug bootstrap/107722] [13 Regression] Bootstrap failure for some locales starting with r13-4070

2022-11-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107722 --- Comment #4 from anlauf at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #3) > Created attachment 53942 [details] > gcc13-pr107722.patch > > So like this? Yes, this patch makes the compile succeed with my locale.

[Bug c++/107824] New: maybe-uninitialized variable in std::function ctor with -Wall -fsanitize=address when constructing a regex

2022-11-22 Thread bill.trost at harmonicinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107824 Bug ID: 107824 Summary: maybe-uninitialized variable in std::function ctor with -Wall -fsanitize=address when constructing a regex Product: gcc Version: 12.2.0

[Bug libstdc++/107817] std/format/functions/format.cc etc. FAIL

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107817 --- Comment #3 from Jonathan Wakely --- This should be fixed now. I'm doing a Solaris build to check.

[Bug tree-optimization/107823] New: Dead Code Elimination Regression at -Os (trunk vs. 12.2.0)

2022-11-22 Thread yann at ywg dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107823 Bug ID: 107823 Summary: Dead Code Elimination Regression at -Os (trunk vs. 12.2.0) Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/107817] std/format/functions/format.cc etc. FAIL

2022-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107817 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:dfc1ea414e0cebccfcffc771ebcefa3d24c9754c commit r13-4243-gdfc1ea414e0cebccfcffc771ebcefa3d24c9754c Author: Jonathan Wakely

[Bug libstdc++/106201] filesystem::directory_iterator is a borrowable range?

2022-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106201 --- Comment #11 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:6b859736bb1e707778627b2e58ef6088e475a54c commit r13-4242-g6b859736bb1e707778627b2e58ef6088e475a54c Author: Jonathan Wakely

[Bug tree-optimization/107822] New: Dead Code Elimination Regression at -Os (trunk vs. 12.2.0)

2022-11-22 Thread yann at ywg dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107822 Bug ID: 107822 Summary: Dead Code Elimination Regression at -Os (trunk vs. 12.2.0) Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/107821] New: ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.cc:3723

2022-11-22 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107821 Bug ID: 107821 Summary: ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.cc:3723 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/107820] New: ICE in match_mult_operand, at fortran/matchexp.cc:296

2022-11-22 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107820 Bug ID: 107820 Summary: ICE in match_mult_operand, at fortran/matchexp.cc:296 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/107819] ICE in gfc_check_argument_var_dependency, at fortran/dependency.cc:978

2022-11-22 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107819 --- Comment #1 from G. Steinmetz --- Works here with explicitly enforced evaluation (a(n)) : $ cat z3.f90 program p integer :: a(4) = [-1, -2, -3, -4] integer :: n(4) = [4, 2, 1, 3] call s ((a(n)), a) print *, a contains

[Bug fortran/107819] New: ICE in gfc_check_argument_var_dependency, at fortran/dependency.cc:978

2022-11-22 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107819 Bug ID: 107819 Summary: ICE in gfc_check_argument_var_dependency, at fortran/dependency.cc:978 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug ipa/107661] [13 Regression] lambdas get merged incorrectly in tempaltes, cause llvm-12 miscompilation since r13-3358-ge0403e95689af7

2022-11-22 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107661 Martin Jambor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug ipa/107661] [13 Regression] lambdas get merged incorrectly in tempaltes, cause llvm-12 miscompilation since r13-3358-ge0403e95689af7

2022-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107661 --- Comment #16 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:c4a92a9117a034e7cf291ae51d8b9b844fb5a88b commit r13-4238-gc4a92a9117a034e7cf291ae51d8b9b844fb5a88b Author: Martin Jambor Date:

[Bug libstdc++/107815] 20_util/to_chars/float128_c++23.cc FAILs

2022-11-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107815 --- Comment #3 from Jakub Jelinek --- (In reply to r...@cebitec.uni-bielefeld.de from comment #2) > > --- Comment #1 from Jakub Jelinek --- > > Can you please uncomment the > > //std::cout << i << ' ' << std::string_view (str1, ptr1) <<

[Bug libstdc++/107799] Wrong return type for std::bit_width

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107799 --- Comment #3 from Jonathan Wakely --- It will get updated.

[Bug libstdc++/107817] std/format/functions/format.cc etc. FAIL

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107817 Jonathan Wakely changed: What|Removed |Added Target|*-*-solaris2.11,|*-*-solaris2.11,

[Bug libstdc++/107817] std/format/functions/format.cc etc. FAIL

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107817 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug libstdc++/107801] Building cross compiler for H8 family fails in libstdc++ (c++17/memory_resource.cc)

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107801 --- Comment #6 from Jonathan Wakely --- Understood, thanks. My commit message could have been worded more precisely, but none of that matters for the purposes of the fix. What matters is that there is at least one target with 16-bit int and

[Bug libstdc++/107801] Building cross compiler for H8 family fails in libstdc++ (c++17/memory_resource.cc)

2022-11-22 Thread jdx at o2 dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107801 --- Comment #5 from jdx at o2 dot pl --- (In reply to CVS Commits from comment #4) > The releases/gcc-12 branch has been updated by Jonathan Wakely > : > > https://gcc.gnu.org/g:691012693aaa831e4cd1ab5180195792e32baceb > > commit

[Bug libstdc++/107816] 29_atomics/atomic/compare_exchange_padding.cc etc. FAIL

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

[Bug libstdc++/93687] Add mcf thread model to GCC on windows for supporting C++11 std::thread?

2022-11-22 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93687 LIU Hao changed: What|Removed |Added CC||lh_mouse at 126 dot com --- Comment #5 from

[Bug libstdc++/107784] QOI: sizeof( bind_front( Member-Function ) ) too big

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107784 --- Comment #9 from Jonathan Wakely --- I'm not interested in encouraging people to use it, that just makes my job harder. But if you want to use it, it exists.

[Bug modula2/107233] gm2 build hardcodes python3

2022-11-22 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107233 --- Comment #3 from Gaius Mulley --- ok, thanks for the suggestion. I've changed gcc/configure.ac to use AM_PATH_PYTHON and AM_CONDITIONAL: # Python3? AM_PATH_PYTHON(,, [:]) AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != :])

[Bug libstdc++/107815] 20_util/to_chars/float128_c++23.cc FAILs

2022-11-22 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107815 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #1 from Jakub Jelinek --- > Can you please uncomment the > //std::cout << i << ' ' << std::string_view (str1, ptr1) << '\n'; > and > //std::cout << i << ' ' <<

[Bug tree-optimization/107808] gcc.dg/vect/vect-bitfield-write-2.c etc.FAIL

2022-11-22 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107808 --- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #2 from avieira at gcc dot gnu.org --- > Hi Rainer, > > I suspect this means SPARC should be added to the list of targets that fail >

[Bug analyzer/107807] gcc.dg/analyzer/errno-1.c FAILs

2022-11-22 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107807 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/107818] New: Overflow of linemap breaks its chronological order

2022-11-22 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107818 Bug ID: 107818 Summary: Overflow of linemap breaks its chronological order Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/107405] [13 Regression] enum change causing Linux kernel to fail to build due to Linux depending on old behavior

2022-11-22 Thread macro at orcam dot me.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107405 --- Comment #18 from Maciej W. Rozycki --- Well, according to the assertion triggered `typeof (EM_MAX_SLOTS)' will yield a data type of a different width depending on the compiler version. Even if this GNU extension does not constitute a part

[Bug c++/107781] strchrnul' was not declared in this scope; did you mean 'strchr'? For contracts for canadian compilation

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

[Bug c++/107781] strchrnul' was not declared in this scope; did you mean 'strchr'? For contracts for canadian compilation

2022-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107781 --- Comment #7 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ac5054144bd2248e948842937448eb5f4ce36bfd commit r13-4236-gac5054144bd2248e948842937448eb5f4ce36bfd Author: Jason Merrill Date:

[Bug target/107812] [11/12/13 Regression] RTL SSA forwprop introduced regression since r11-6188

2022-11-22 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107812 rsandifo at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2022-11-22 Ever

[Bug libstdc++/107815] 20_util/to_chars/float128_c++23.cc FAILs

2022-11-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107815 --- Comment #1 from Jakub Jelinek --- Can you please uncomment the //std::cout << i << ' ' << std::string_view (str1, ptr1) << '\n'; and //std::cout << i << ' ' << std::string_view (str1, ptr5) << '\n'; lines in the test, so that it is

[Bug ipa/107661] [13 Regression] lambdas get merged incorrectly in tempaltes, cause llvm-12 miscompilation since r13-3358-ge0403e95689af7

2022-11-22 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107661 --- Comment #15 from Martin Jambor --- I have proposed a patch on the mailing list: https://gcc.gnu.org/pipermail/gcc-patches/2022-November/607017.html

[Bug libstdc++/107784] QOI: sizeof( bind_front( Member-Function ) ) too big

2022-11-22 Thread joerg.richter--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107784 --- Comment #8 from Jörg Richter --- To be honest, I can't tell from the description that this option unlocks a libstdc++ that makes no allowance for ABI incompatibilities. If you had a libstdc++ that didn't care about the ABI, similar to

[Bug libstdc++/107817] std/format/functions/format.cc etc. FAIL

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107817 Rainer Orth changed: What|Removed |Added Target Milestone|--- |13.0

[Bug libstdc++/107817] New: std/format/functions/format.cc etc. FAIL

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107817 Bug ID: 107817 Summary: std/format/functions/format.cc etc. FAIL Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/107816] 29_atomics/atomic/compare_exchange_padding.cc etc. FAIL

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107816 Rainer Orth changed: What|Removed |Added Target Milestone|--- |13.0

[Bug libstdc++/107816] New: 29_atomics/atomic/compare_exchange_padding.cc etc. FAIL

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107816 Bug ID: 107816 Summary: 29_atomics/atomic/compare_exchange_padding.cc etc. FAIL Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/107815] 20_util/to_chars/float128_c++23.cc FAILs

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107815 Rainer Orth changed: What|Removed |Added Target Milestone|--- |13.0

[Bug libstdc++/107815] New: 20_util/to_chars/float128_c++23.cc FAILs

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107815 Bug ID: 107815 Summary: 20_util/to_chars/float128_c++23.cc FAILs Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/107814] [13 regression] experimental/filesystem/iterators/error_reporting.cc FAILs

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107814 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libstdc++/107814] [13 regression] experimental/filesystem/iterators/error_reporting.cc FAILs

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107814 Rainer Orth changed: What|Removed |Added Target Milestone|--- |13.0

[Bug c++/107813] Enum with underlying type uint8_t bad promotion for unsigned char

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107813 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID

[Bug libstdc++/107814] New: [13 regression] experimental/filesystem/iterators/error_reporting.cc FAILs

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107814 Bug ID: 107814 Summary: [13 regression] experimental/filesystem/iterators/error_reporting.cc FAILs Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug c++/107813] Enum with underlying type uint8_t bad promotion for unsigned char

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107813 --- Comment #1 from Jonathan Wakely --- GCC 10 is correct. The template is a exact match for the argument, accepting any argument type, so the enum should not be converted to unsigned char. When you call this->o << t then there is no exact

[Bug libstdc++/107799] Wrong return type for std::bit_width

2022-11-22 Thread diego at baldassar dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107799 --- Comment #2 from Diego Baldassar --- Ah I see, it was a DR. My mistake. Will we see this updated for GCC 13? Or is it considered a breaking change that's too late to fix?

[Bug analyzer/107807] gcc.dg/analyzer/errno-1.c FAILs

2022-11-22 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107807 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #1 from David Malcolm --- > I've tested errno-1.c with glibc's errno.h, and with a simple "extern int > errno;". > > What does look like on your machine? In

[Bug libstdc++/107811] libstdc++-v3/src/c++17/floating_from_chars.cc:787:9: error: 'fast_float' has not been declared

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107811 --- Comment #2 from Jonathan Wakely --- Yes it does

[Bug analyzer/107807] gcc.dg/analyzer/errno-1.c FAILs

2022-11-22 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107807 --- Comment #1 from David Malcolm --- Thanks for filing this bug; sorry about the test failures. I've tested errno-1.c with glibc's errno.h, and with a simple "extern int errno;". What does look like on your machine? In particular, how is

[Bug target/107604] FAIL: gcc.target/aarch64/aapcs64/test_dfp_17.c execution, -O0 fails on aarch64_be

2022-11-22 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107604 Christophe Lyon changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/80548] -Wmaybe-uninitialized false positive when an assignment is added

2022-11-22 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80548 --- Comment #11 from Jeffrey A. Law --- Thanks! So the change in question improves the decisions in the predicate analysis code, which can be best thought of as a filter for the false positives that are still in the IL. As I said in my

[Bug target/107604] FAIL: gcc.target/aarch64/aapcs64/test_dfp_17.c execution, -O0 fails on aarch64_be

2022-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107604 --- Comment #4 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:4eb3a48698b2ca43967a4e7e7cfc0408192e85b2 commit r13-4235-g4eb3a48698b2ca43967a4e7e7cfc0408192e85b2 Author: Christophe Lyon

[Bug libstdc++/107811] libstdc++-v3/src/c++17/floating_from_chars.cc:787:9: error: 'fast_float' has not been declared

2022-11-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107811 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |13.0

  1   2   >