[Bug c++/109205] New: vector.resize( v.size() + 100 ) does unnecessary comparison

2023-03-20 Thread joerg.richter--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109205 Bug ID: 109205 Summary: vector.resize( v.size() + 100 ) does unnecessary comparison Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/109206] New: [13 Regression] gcc/fortran/class.cc:2768:14: runtime error: load of value 4139789424, which is not a valid value for type 'bt' since r13-6747-gd7caf313525a46

2023-03-20 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109206 Bug ID: 109206 Summary: [13 Regression] gcc/fortran/class.cc:2768:14: runtime error: load of value 4139789424, which is not a valid value for type 'bt' since r13-6747-gd7caf313525a46

[Bug fortran/109206] [13 Regression] gcc/fortran/class.cc:2768:14: runtime error: load of value 4139789424, which is not a valid value for type 'bt' since r13-6747-gd7caf313525a46

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

[Bug target/109189] Format string warnings in gcc/config/h8300/h8300.cc under MigW-W64/MSYS2

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

[Bug target/104713] gcc does not reject -march=i686 -fcf-protection

2023-03-20 Thread jay+ggcc--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104713 James Addison changed: What|Removed |Added CC||jay+g...@jp-hosting.net --- Comment #5

[Bug target/104713] gcc does not reject -march=i686 -fcf-protection

2023-03-20 Thread bunk at stusta dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104713 --- Comment #6 from Adrian Bunk --- (In reply to James Addison from comment #5) > Could the findings indicate that there are two bugs here? > > - The Geode LX target capable of supporting fcf-protection but GCC-11 > currently rejects that arc

[Bug libfortran/109207] New: Uninitialised static variables in unit.c

2023-03-20 Thread carsten.dehning at scai dot fraunhofer.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109207 Bug ID: 109207 Summary: Uninitialised static variables in unit.c Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfo

[Bug c/109208] New: gcc doesn't detect when sizes are booleans

2023-03-20 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109208 Bug ID: 109208 Summary: gcc doesn't detect when sizes are booleans Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/109176] [13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-03-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Keywords|

[Bug target/109178] ICE using __builtin_vec_xst_trunc built-in

2023-03-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109178 Richard Biener changed: What|Removed |Added Target Milestone|13.0|---

[Bug preprocessor/109183] [regression?] since GCC 11.1, -MM -MMD generates "a-" prefixed dependency files

2023-03-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109183 Richard Biener changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment

[Bug tree-optimization/109184] [10/11/12/13 Regression] csmith: 2017 bug with -floop-interchange

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

[Bug fortran/109209] New: [13.0 regression] erroneous error on assignment of alloctables

2023-03-20 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109209 Bug ID: 109209 Summary: [13.0 regression] erroneous error on assignment of alloctables Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/109206] [13 Regression] gcc/fortran/class.cc:2768:14: runtime error: load of value 4139789424, which is not a valid value for type 'bt' since r13-6747-gd7caf313525a46

2023-03-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109206 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug fortran/109209] [13 regression] erroneous error on assignment of alloctables

2023-03-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109209 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Summary|[13.0 regression

[Bug libstdc++/109182] unused parameter pack is in expected(in_place_t)

2023-03-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109182 --- Comment #1 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5194ad1958cbfe800357571fad68be8bc8b7d915 commit r13-6759-g5194ad1958cbfe800357571fad68be8bc8b7d915 Author: Jonathan Wakely Date:

[Bug tree-optimization/109176] [13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-03-20 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 --- Comment #3 from ktkachov at gcc dot gnu.org --- Created attachment 54708 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54708&action=edit Reduced testcase Reduced testcase ICEs at -O2

[Bug libstdc++/109182] unused parameter pack is in expected(in_place_t)

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

[Bug c++/99934] bad_array_new_length thrown when non-throwing allocation function would have been used

2023-03-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99934 Jonathan Wakely changed: What|Removed |Added CC||barry.revzin at gmail dot com --- Comm

[Bug c++/93016] erroneous new (nothrow_t) still throws an exception

2023-03-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93016 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/109203] sort(zip(v1, v2)) fails to compile

2023-03-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109203 --- Comment #4 from Jonathan Wakely --- Technically, that's needed for libstdc++ too, it just happens to work "by accident" without it.

[Bug gcov-profile/109210] New: Bogus use of __builtin_expect defined by PHI arguments

2023-03-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109210 Bug ID: 109210 Summary: Bogus use of __builtin_expect defined by PHI arguments Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug c++/93016] erroneous new (nothrow_t) still throws an exception

2023-03-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93016 --- Comment #4 from Jonathan Wakely --- (In reply to Nikita Kniazev from comment #2) > This is a regression since GCC 6 https://godbolt.org/z/7WbYb9a7j Not really. The difference is that GCC 6 defaults to -std=gnu++14 but if you use that (or -st

[Bug c++/102514] The allocation function shall not be called when existing an erroneous expression in noptr-new-declarator

2023-03-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102514 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/99934] bad_array_new_length thrown when non-throwing allocation function would have been used

2023-03-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99934 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug fortran/109211] New: f951: internal compiler error: in gfc_current_interface_head

2023-03-20 Thread volker.weissmann at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109211 Bug ID: 109211 Summary: f951: internal compiler error: in gfc_current_interface_head Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal

[Bug c++/99934] bad_array_new_length thrown when non-throwing allocation function would have been used

2023-03-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99934 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2022-03-28 00:00:00 |2023-3-20 --- Comment #4 from Jonathan

[Bug libstdc++/106477] With -fno-exception operator new(nothrow) aborts instead of returning null

2023-03-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106477 --- Comment #9 from Jonathan Wakely --- (In reply to Nikita Kniazev from comment #8) > bug 93016 might be related? Not really. This is about the behaviour of the library's operator new. In 93016 the compiler should never even call the library f

[Bug tree-optimization/109192] [13 Regression] timeout with -O3 since r13-5579

2023-03-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109192 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/108819] [12 Regression] ICE on valid code at -O1 with "-fno-tree-ccp -fno-tree-forwprop" on x86_64-linux-gnu: tree check: expected ssa_name, have integer_cst in number_of_iterat

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

[Bug target/108881] "__builtin_ia32_cvtne2ps2bf16_v16hi" compiled only with option -mavx512bf16 report ICE.

2023-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108881 --- Comment #8 from Jakub Jelinek --- Fixed for 12.3 too.

[Bug middle-end/108854] [10/11 Regression] tbb-2021.8.0 fails on i686-linux (32-bit), internal compiler error: in expand_expr_real_1, at expr.c:10281 since r10-4511-g6cf67b62c8cda035dccac

2023-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108854 Jakub Jelinek changed: What|Removed |Added Summary|[10/11/12 Regression] |[10/11 Regression] |t

[Bug debug/108967] [11 Regression] internal compiler error: in expand_debug_expr, at cfgexpand.cc:5450

2023-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108967 Jakub Jelinek changed: What|Removed |Added Summary|[11/12 Regression] internal |[11 Regression] internal

[Bug libquadmath/87204] strtoflt128 produces different results for subnormals with -m32 and -m64

2023-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87204 --- Comment #6 from Jakub Jelinek --- Fixed for 12.3 too.

[Bug debug/108716] [10/11 Regression] Incorrect DW_AT_decl_{line,column} in DW_TAG_imported_decl

2023-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108716 Jakub Jelinek changed: What|Removed |Added Summary|[10/11/12 Regression] |[10/11 Regression] |I

[Bug c++/108934] [12 Regression] bit_cast'ing to long double errors out with "the argument cannot be interpreted" since gcc-12

2023-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108934 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libquadmath/94756] strtoflt128 assigns some subnormals incorrectly on MS Windows

2023-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94756 --- Comment #20 from Jakub Jelinek --- Fixed for 12.3 too.

[Bug c/107465] [10/11 Regression] Bogus warning: promoted bitwise complement of an unsigned value is always nonzero

2023-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107465 Jakub Jelinek changed: What|Removed |Added Summary|[10/11/12 Regression] Bogus |[10/11 Regression] Bogus

[Bug c/108986] [11 Regression] Incorrect warning for [static] array parameter

2023-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108986 Jakub Jelinek changed: What|Removed |Added Summary|[11/12 Regression] |[11 Regression] Incorrect

[Bug c/109151] UBsan misses a divide-by-zero

2023-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109151 --- Comment #6 from Jakub Jelinek --- Fixed for 12.3 too.

[Bug c++/109039] [12 Regression] Miscompilation with no_unique_address and bitfields

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

[Bug testsuite/108973] [10/11 Regression] Sufficiently narrow terminal window causes selftest failure

2023-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108973 Jakub Jelinek changed: What|Removed |Added Summary|[10/11/12 Regression] |[10/11 Regression] |S

[Bug target/105554] [10/11 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554 Jakub Jelinek changed: What|Removed |Added Summary|[10/11/12 Regression] ICE: |[10/11 Regression] ICE: in

[Bug c/108079] [10/11 Regression] -Wunused-variable gives misleading duplicate warning for unused static local variable

2023-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108079 Jakub Jelinek changed: What|Removed |Added Summary|[10/11/12 Regression] |[10/11 Regression] |-

[Bug c++/107558] [10/11 Regression] ICE in fld_incomplete_type_of with -fmerge-all-constants and openmp and LTO since r11-16-ga2f32550a085984f

2023-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107558 Jakub Jelinek changed: What|Removed |Added Summary|[10/11/12 Regression] ICE |[10/11 Regression] ICE in

[Bug middle-end/108685] [10/11 Regression] ICE in verify_loop_structure, at cfgloop.cc:1748 since r13-2388-ga651e6d59188da

2023-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108685 Jakub Jelinek changed: What|Removed |Added Summary|[10/11/12 Regression] ICE |[10/11 Regression] ICE in

[Bug c++/109096] __has_unique_object_representations does not account for unnamed bitfield

2023-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109096 --- Comment #7 from Jakub Jelinek --- Fixed for 12.3 too.

[Bug tree-optimization/109184] [10/11/12/13 Regression] csmith: 2017 bug with -floop-interchange

2023-03-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109184 --- Comment #6 from Richard Biener --- Confirmed with -O2 -floop-interchange. There's just a single interchange done: runData/keep/in.713.c:648:32: optimized: loops interchanged in loop nest that's in func_2 for the nest for (g_149 =

[Bug tree-optimization/109192] [13 Regression] timeout with -O3 since r13-5579

2023-03-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109192 --- Comment #6 from Richard Biener --- On a fast machine compile eventually finishes and a time-report looks like dominator optimization : 156.84 ( 52%) 0.00 ( 0%) 156.86 ( 52%) 112k ( 1%) backwards jump threading

[Bug tree-optimization/105867] [12/13 Regression] incorrect dangling-pointer warning

2023-03-20 Thread wielkiegie at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105867 Gustaw Smolarczyk changed: What|Removed |Added CC||wielkiegie at gmail dot com --- Com

[Bug ada/109212] New: Ada "for" expression generates gcc error

2023-03-20 Thread vawasthi at acm dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109212 Bug ID: 109212 Summary: Ada "for" expression generates gcc error Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada

[Bug tree-optimization/109184] [10/11/12/13 Regression] csmith: 2017 bug with -floop-interchange

2023-03-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109184 --- Comment #7 from Richard Biener --- (In reply to Richard Biener from comment #6) > Confirmed with -O2 -floop-interchange. There's just a single interchange > done: > > runData/keep/in.713.c:648:32: optimized: loops interchanged in loop nest

[Bug c++/109177] Call to C++ function marked unavailable gets diagnosed twice

2023-03-20 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109177 --- Comment #2 from Alex Coplan --- Part of the problem here seems to be that dg-error doesn't care how many times the same diagnostic is emitted, so it doesn't seem able to detect this failure mode. Otherwise, I expect this would have shown up

[Bug target/104713] gcc does not reject -march=i686 -fcf-protection

2023-03-20 Thread jay+ggcc--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104713 --- Comment #7 from James Addison --- (In reply to Adrian Bunk from comment #6) > (In reply to James Addison from comment #5) > > Could the findings indicate that there are two bugs here? > > > > - The Geode LX target capable of supporting fc

[Bug fortran/109209] [13 regression] erroneous error on assignment of alloctables

2023-03-20 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109209 --- Comment #1 from Jürgen Reuter --- Created attachment 54710 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54710&action=edit First still pretty large reproducer I will provide a smaller reproducer soon.

[Bug ada/109212] Ada "for" expression generates gcc error

2023-03-20 Thread dkm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109212 --- Comment #1 from Marc Poulhiès --- Yes, but this has been fixed in later 11.x and above versions of the compiler, see for example: https://ada.godbolt.org/z/6KraGY965 I don't think we'll try to backport the Ada 202x features/bugfixes in old

[Bug tree-optimization/109213] New: [13 Regression] -Os generates significantly more code

2023-03-20 Thread theodort at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109213 Bug ID: 109213 Summary: [13 Regression] -Os generates significantly more code Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug libstdc++/109165] std::hash>::operator() should be const

2023-03-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109165 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:2a9e6f58c4d9d63dde6c4d53d10f686bf71fb435 commit r12-9296-g2a9e6f58c4d9d63dde6c4d53d10f686bf71fb435 Author: Jonathan Wake

[Bug target/108443] arm: MVE wrongly re-interprets predicate constants

2023-03-20 Thread stammark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108443 Stam Markianos-Wright changed: What|Removed |Added CC||stammark at gcc dot gnu.org ---

[Bug libstdc++/109064] Maximum recursion depth exceeded in std::shared_ptr xmethod

2023-03-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109064 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:07246eee2393312c187dcb4fa70d0e0785d75ae6 commit r12-9298-g07246eee2393312c187dcb4fa70d0e0785d75ae6 Author: Jonathan Wake

[Bug libstdc++/109182] unused parameter pack is in expected(in_place_t)

2023-03-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109182 --- Comment #3 from CVS Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:03f745992715872982d86bf2085f956bf0173b50 commit r12-9297-g03f745992715872982d86bf2085f956bf0173b50 Author: Jonathan Wake

[Bug libstdc++/109182] unused parameter pack is in expected(in_place_t)

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

[Bug libstdc++/109165] std::hash>::operator() should be const

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

[Bug ada/109212] Ada "for" expression generates gcc error

2023-03-20 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109212 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug tree-optimization/109184] [10/11/12/13 Regression] csmith: 2017 bug with -floop-interchange

2023-03-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109184 --- Comment #8 from Richard Biener --- Reduced testcase: typedef __UINT64_TYPE__ uint64_t; static uint64_t g_1731[7][1] = {{0xF75EE82FC4736923LL},{0UL}, {0xF75EE82FC4736923LL},{0UL}, {0xF75EE82FC4736923LL},{0UL}, {0xF75EE82FC

[Bug tree-optimization/109184] [10/11/12/13 Regression] csmith: 2017 bug with -floop-interchange

2023-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109184 --- Comment #9 from Jakub Jelinek --- I've tried to deobfuscate the innermost loop's body: int32_t l_1942 = (-3L); int32_t *l_1947 = &l_1946[0][6]; int i, j;

[Bug tree-optimization/109184] [10/11/12/13 Regression] csmith: 2017 bug with -floop-interchange

2023-03-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109184 --- Comment #10 from Richard Biener --- Somewhat more reduced: typedef __UINT64_TYPE__ uint64_t; static uint64_t g_1731[7] = {0xF75EE82FC4736923LL, 0, 0xF75EE82FC4736923LL, 0, 0xF75EE82FC4736923LL, 0, 0xF75EE82FC4736923LL}; void __attribu

[Bug c++/101361] Bogus -Wstringop-overread warning with -O3

2023-03-20 Thread mail+gnu at tzik dot jp via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101361 Taiju Tsuiki changed: What|Removed |Added CC||mail+gnu at tzik dot jp --- Comment #12

[Bug tree-optimization/109184] [10/11/12/13 Regression] csmith: 2017 bug with -floop-interchange

2023-03-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109184 --- Comment #11 from Richard Biener --- Fails even with -O2 -floop-interchange -fno-move-loop-stores (otherwise we complicate the IL by applying store-motion to g_1731). (compute_affine_dependence ref_a: l_1930[k_33], stmt_a: _1 = l_1930[k_33

[Bug tree-optimization/109213] [13 Regression] -Os generates significantly more code

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

[Bug c++/101361] Bogus -Wstringop-overread warning with -O3

2023-03-20 Thread mail+gnu at tzik dot jp via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101361 --- Comment #13 from Taiju Tsuiki --- I saw a similar inaccurate -Wstringop-overread warning with a smaller reproducer (attached). https://wandbox.org/permlink/EPjH0ZPoA4EWky0e Reproducing gcc was tip of trunk ( https://github.com/gcc-mirror/gc

[Bug tree-optimization/109184] [10/11/12/13 Regression] csmith: 2017 bug with -floop-interchange

2023-03-20 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109184 Alex Coplan changed: What|Removed |Added CC||acoplan at gcc dot gnu.org --- Comment #1

[Bug c/109214] New: extension to C language allowing void * to be cast to function pointer should be documented

2023-03-20 Thread rouca at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109214 Bug ID: 109214 Summary: extension to C language allowing void * to be cast to function pointer should be documented Product: gcc Version: unknown Status: UNCONFIRMED

[Bug rtl-optimization/109187] [13 Regression] ICE: qsort checking failed: qsort comparator non-negative on sorted output: 1736258160 at -O2 since r13-5154-g733a1b777f16cd

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

[Bug tree-optimization/109176] [13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Keyw

[Bug target/109178] ICE using __builtin_vec_xst_trunc built-in

2023-03-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109178 --- Comment #3 from CVS Commits --- The master branch has been updated by Peter Bergner : https://gcc.gnu.org/g:fbd50e867e6a782c7b56c9727bf7e1e74dae4b94 commit r13-6761-gfbd50e867e6a782c7b56c9727bf7e1e74dae4b94 Author: Peter Bergner Date: M

[Bug c/109215] New: warning: array subscript 0 is outside the bounds of an interior zero-length array ‘struct lock_class_key[3]’

2023-03-20 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109215 Bug ID: 109215 Summary: warning: array subscript 0 is outside the bounds of an interior zero-length array ‘struct lock_class_key[3]’ Product: gcc Version: 13.0 Status: U

[Bug c/109215] warning: array subscript 0 is outside the bounds of an interior zero-length array ‘struct lock_class_key[3]’

2023-03-20 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109215 --- Comment #1 from Uroš Bizjak --- The minimized testcase: --cut here-- #define SB_FREEZE_COMPLETE 4 struct lock_class_key { }; struct file_system_type { struct lock_class_key s_writers_key[(SB_FREEZE_COMPLETE - 1)]; struct lock_class_key

[Bug fortran/109209] [13 regression] erroneous error on assignment of alloctables

2023-03-20 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109209 --- Comment #2 from Jürgen Reuter --- Created attachment 54712 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54712&action=edit Second, single-file reproducer, still 6295 lines Still further reducing, stay tuned.

[Bug fortran/82943] [F03] Error with type-bound procedure of parametrized derived type

2023-03-20 Thread vegard.g.j at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82943 vegard changed: What|Removed |Added CC||vegard.g.j at icloud dot com --- Comment #10 fr

[Bug tree-optimization/109215] [13 Regression] wrong warning: array subscript 0 is outside the bounds of an interior zero-length array ‘struct lock_class_key[3]’

2023-03-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109215 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0 Summary|warning: array

[Bug tree-optimization/109215] [13 Regression] wrong warning: array subscript 0 is outside the bounds of an interior zero-length array ‘struct lock_class_key[3]’

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

[Bug target/109178] ICE using __builtin_vec_xst_trunc built-in

2023-03-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109178 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Peter Bergner : https://gcc.gnu.org/g:19ad58ef1f09373b0f75eded8f0b12da381a1190 commit r12-9302-g19ad58ef1f09373b0f75eded8f0b12da381a1190 Author: Peter Bergner

[Bug target/109178] ICE using __builtin_vec_xst_trunc built-in

2023-03-20 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109178 Peter Bergner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/109176] [13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 Jakub Jelinek changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Comment

[Bug fortran/109216] New: Wrong behaviour explained in -fno-underscoring documentation

2023-03-20 Thread rhidalgochar at bloomberg dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109216 Bug ID: 109216 Summary: Wrong behaviour explained in -fno-underscoring documentation Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/109209] [13 regression] erroneous error on assignment of alloctables

2023-03-20 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109209 --- Comment #3 from Jürgen Reuter --- Created attachment 54713 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54713&action=edit Promised short reproducer, 73 lines

[Bug fortran/109209] [13 regression] erroneous error on assignment of alloctables

2023-03-20 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109209 --- Comment #4 from Jürgen Reuter --- Here is the promised reproducer, which fails even when not using submodules: $ gfortran -c reproducer.f90 reproducer.f90:69:4: 69 | history_new(1:s) = res_set%history(1:s) |1 Error: Compon

[Bug fortran/109209] [13 regression] erroneous error on assignment of alloctables

2023-03-20 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109209 --- Comment #5 from Jürgen Reuter --- This could be either this commit commit d7caf313525a46f200d7f5db1ba893f853774aee Author: Paul Thomas Date: Sat Mar 18 07:56:23 2023 + /Fortran I think, it is NOT this one: commit 5889c7bd46a45dc07ff

[Bug fortran/109209] [13 regression] erroneous error on assignment of alloctables

2023-03-20 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109209 --- Comment #6 from Jürgen Reuter --- Actually could be also this commit here: commit 901edd99b44976b3c2b13a7d525d9e315540186a Author: Harald Anlauf Date: Tue Mar 14 20:23:06 2023 +0100 Fortran: rank checking with explicit-/assumed-size

[Bug rtl-optimization/109187] [13 Regression] ICE: qsort checking failed: qsort comparator non-negative on sorted output: 1736258160 at -O2 since r13-5154-g733a1b777f16cd

2023-03-20 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109187 --- Comment #2 from Alexander Monakov --- This is caused by overflowing subtraction in autopref_rank_for_schedule: if (!irrel1 && !irrel2) /* Sort memory references from lowest offset to the largest. */ r = data1->offset

[Bug libstdc++/109203] sort(zip(v1, v2)) fails to compile

2023-03-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109203 Patrick Palka changed: What|Removed |Added Last reconfirmed||2023-03-20 Ever confirmed|0

[Bug c/109214] extension to C language allowing void * to be cast to function pointer should be documented

2023-03-20 Thread rouca at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109214 --- Comment #1 from rouca --- According to my C standard: 6.3.2.3 Pointers 1 A pointer to void may be converted to or from a pointer to any incomplete or object type. A pointer to any incomplete or object type may be converted to a p

[Bug fortran/109209] [13 regression] erroneous error on assignment of alloctables

2023-03-20 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109209 --- Comment #7 from Jürgen Reuter --- It looks like it is NOT Harald's and Tobias' commit, https://github.com/gcc-mirror/gcc/commit/901edd99b44976b3c2b13a7d525d9e315540186a I reverted that one, and still get the error.

[Bug fortran/109206] [13 Regression] gcc/fortran/class.cc:2768:14: runtime error: load of value 4139789424, which is not a valid value for type 'bt' since r13-6747-gd7caf313525a46

2023-03-20 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109206 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Comme

[Bug tree-optimization/109215] [13 Regression] wrong warning: array subscript 0 is outside the bounds of an interior zero-length array ‘struct lock_class_key[3]’

2023-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109215 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug fortran/109209] [13 regression] erroneous error on assignment of alloctables

2023-03-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109209 --- Comment #8 from Tobias Burnus --- The debugger shows for the example in comment 4 for the line 69 | history_new(1:s) = res_set%history(1:s) the following expression: (gdb) p gfc_debug_expr(expr) t3_set_expand:history_new(1:__conver

[Bug tree-optimization/109119] missing loading fre with branch comparing two pointers

2023-03-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109119 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug target/109130] [13 Regression] 464.h264ref regressed by 6.5% on a Neoverse-N1 CPU with PGO, LTO, -Ofast and -march=native

2023-03-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109130 Andrew Pinski changed: What|Removed |Added Summary|464.h264ref regressed by|[13 Regression] 464.h264ref

[Bug libfortran/109207] Uninitialised static variables in unit.c

2023-03-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109207 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-03-20 Ever confirmed|0

  1   2   3   >