[Bug target/101908] [12 regression] cray regression with -O2 -ftree-slp-vectorize compared to -O2

2022-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101908 --- Comment #48 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:e3174d6183e5c042e822d9feabb670235b737441 commit r12-7990-ge3174d6183e5c042e822d9feabb670235b737441 Author: liuhongt Date: Wed

[Bug c/105156] No diagnostic for `enum { toobig = UINT_MAX }`

2022-04-04 Thread Keith.S.Thompson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105156 --- Comment #4 from Keith Thompson --- OK, that explains the bug. It sounds like the code that suppresses warnings in system headers needs to be a bit more clever. Using UINT_MAX here isn't an error in the header.

[Bug c/105156] No diagnostic for `enum { toobig = UINT_MAX }`

2022-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105156 --- Comment #3 from Andrew Pinski --- Add -Wsystem-headers and you will get a warning.

[Bug c/105156] No diagnostic for `enum { toobig = UINT_MAX }`

2022-04-04 Thread Keith.S.Thompson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105156 --- Comment #2 from Keith Thompson --- Andrew, did you use "-std=c17 -pedantic-errors"? Both gcc and clang correctly diagnose "enum { toobig = 0x7fff * 2U + 1U };". I'm seeing weird behavior that I don't understand. Replacing the UINT_MAX

[Bug target/104894] [11/12 Regression] ICE with -fno-plt -mcpu=power10 on PowerPC64 LE Linux

2022-04-04 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104894 --- Comment #8 from Peter Bergner --- Sorry for the delay, but getting back to this now... (In reply to Alan Modra from comment #6) > What I should have said is that -mlongcall code is correct but is > missing a sibcall optimisation. -fno-plt

[Bug c/105156] No diagnostic for `enum { toobig = UINT_MAX }`

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

[Bug c/105156] New: No diagnostic for `enum { toobig = UINT_MAX }`

2022-04-04 Thread Keith.S.Thompson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105156 Bug ID: 105156 Summary: No diagnostic for `enum { toobig = UINT_MAX }` Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libstdc++/103650] [9/10 Regression] libstdc++ headers defined LT_OBJDIR and STDC_HEADERS

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

[Bug libstdc++/104542] make_obj_using_allocator and uninitialized_construct_using_allocator lack constexpr

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

[Bug libstdc++/104098] [11 Regression] bits/stl_iterator.h fails to compile for __cplusplus > 201703L and with __cpp_concepts undefined

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

[Bug libstdc++/105027] Missing constraints on std::bit_cast

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

[Bug libstdc++/105027] Missing constraints on std::bit_cast

2022-04-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105027 --- Comment #6 from Jonathan Wakely --- Fixed for 11.3

[Bug fortran/91728] Accepts array with wrong shape in a structure constructor

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

[Bug sanitizer/105155] New: -fsanitize=signed-integer-overflow failed to check an overflow

2022-04-04 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105155 Bug ID: 105155 Summary: -fsanitize=signed-integer-overflow failed to check an overflow Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/105152] [9/10/11/12 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.cc:5647

2022-04-04 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105152 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords||accepts-invalid

[Bug libstdc++/105154] New: std::expected::swap missing reset _M_has_value

2022-04-04 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105154 Bug ID: 105154 Summary: std::expected::swap missing reset _M_has_value Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/105153] New: wrong constraint in std::expected's constructor

2022-04-04 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105153 Bug ID: 105153 Summary: wrong constraint in std::expected's constructor Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/105138] [7,8,9,10,11,12,F95] Bogus error when function name does not shadow an intrinsic when RESULT clause is used

2022-04-04 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105138 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot

[Bug rtl-optimization/104985] [12 Regression] ICE: SIGSEGV in undo_to_marker / adjust_reg_mode with -Os -frounding-math since r12-4767-g81342e95827f77

2022-04-04 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104985 --- Comment #16 from Segher Boessenkool --- "machine_mode m" I understand of course. "rtx m" is something different :-) I didn't see the patch yet, sorry, will get to it later today.

[Bug rtl-optimization/104985] [12 Regression] ICE: SIGSEGV in undo_to_marker / adjust_reg_mode with -Os -frounding-math since r12-4767-g81342e95827f77

2022-04-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104985 --- Comment #15 from Jakub Jelinek --- (In reply to Segher Boessenkool from comment #14) > Are you sure this only ever handles pseudos? It is completely broken if not. Yes, I am. All the 4 uses of SUBST_MODE look like: if

[Bug rtl-optimization/104985] [12 Regression] ICE: SIGSEGV in undo_to_marker / adjust_reg_mode with -Os -frounding-math since r12-4767-g81342e95827f77

2022-04-04 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104985 --- Comment #14 from Segher Boessenkool --- Are you sure this only ever handles pseudos? It is completely broken if not. Changing the mode of regno_reg_rtx[...] is always wrong, too. Patches 2 and 3 look better, but need a lot more

[Bug tree-optimization/105150] [9/10/11/12 Regression] ICE with -Ofast: verify_gimple failed

2022-04-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105150 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug ipa/103083] [10/11/12 Regression] Wrong code due to ipa-cp's bits value propagation since r10-5538-gc7ac9a0c7e3916f1

2022-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103083 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Martin Jambor : https://gcc.gnu.org/g:4f939ac1e295f38624c82fa75fa798e83d825232 commit r11-9775-g4f939ac1e295f38624c82fa75fa798e83d825232 Author: Martin Jambor

[Bug tree-optimization/105150] [9/10/11/12 Regression] ICE with -Ofast: verify_gimple failed

2022-04-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105150 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2022-04-04 Ever confirmed|0

[Bug tree-optimization/105149] [9/10/11/12 Regression] ICE in verify_ssa, at tree-ssa.cc:1211

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

[Bug c/105148] [11/12 Regression] ICE in verify_use, at tree-ssa.cc:881

2022-04-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105148 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2022-04-04

[Bug fortran/105152] New: [9/10/11/12 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.cc:5647

2022-04-04 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105152 Bug ID: 105152 Summary: [9/10/11/12 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.cc:5647 Product: gcc Version: 12.0

[Bug c/105151] New: [12 Regression] ICE in gimple_range_global, at value-query.cc:424

2022-04-04 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105151 Bug ID: 105151 Summary: [12 Regression] ICE in gimple_range_global, at value-query.cc:424 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c/105150] New: [9/10/11/12 Regression] ICE with -Ofast: verify_gimple failed

2022-04-04 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105150 Bug ID: 105150 Summary: [9/10/11/12 Regression] ICE with -Ofast: verify_gimple failed Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c/105149] New: [9/10/11/12 Regression] ICE in verify_ssa, at tree-ssa.cc:1211

2022-04-04 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105149 Bug ID: 105149 Summary: [9/10/11/12 Regression] ICE in verify_ssa, at tree-ssa.cc:1211 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c/105148] New: [11/12 Regression] ICE in verify_use, at tree-ssa.cc:881

2022-04-04 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105148 Bug ID: 105148 Summary: [11/12 Regression] ICE in verify_use, at tree-ssa.cc:881 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug testsuite/105147] New: New test case gcc.dg/pr105140.c introduced in r12-7979-geaaf77dd85c333 has excess errors

2022-04-04 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105147 Bug ID: 105147 Summary: New test case gcc.dg/pr105140.c introduced in r12-7979-geaaf77dd85c333 has excess errors Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug libstdc++/105146] New: std::bad_expected_access constructor missing std::move for error type

2022-04-04 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105146 Bug ID: 105146 Summary: std::bad_expected_access constructor missing std::move for error type Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug debug/105145] New: dropped DWARF location information at -O1/-O2/-O3 upon ftree-dse

2022-04-04 Thread assaiante at diag dot uniroma1.it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105145 Bug ID: 105145 Summary: dropped DWARF location information at -O1/-O2/-O3 upon ftree-dse Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/103328] [11/12 Regression] ICE in remap_gimple_stmt with coroutines since r11-7419-g0f161cc8494cf728

2022-04-04 Thread avi at scylladb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328 --- Comment #24 from Avi Kivity --- Many thanks for the patch and the commit. Can we have it backported to 11.x?

[Bug sanitizer/105141] #pragma pack(1) causes incorrect UBSAN warning

2022-04-04 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105141 Ivan Sorokin changed: What|Removed |Added CC||vanyacpp at gmail dot com --- Comment

[Bug c++/103852] [10/11/12 Regression] Alias template argument deduction is available in C++17 mode

2022-04-04 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103852 Jason Merrill changed: What|Removed |Added Target Milestone|10.4|12.0 --- Comment #4 from Jason Merrill

[Bug c++/101894] [11 Regression] ICE with multiple friend declarations

2022-04-04 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101894 Jason Merrill changed: What|Removed |Added Known to work||12.0 Known to fail|12.0

[Bug c++/101894] [11/12 Regression] ICE with multiple friend declarations

2022-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101894 --- Comment #5 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:3afc7c4eeada0a04c2c4ededeb0f6ccc724a58ec commit r12-7985-g3afc7c4eeada0a04c2c4ededeb0f6ccc724a58ec Author: Jason Merrill Date:

[Bug c++/103852] [10/11/12 Regression] Alias template argument deduction is available in C++17 mode

2022-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103852 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:a11f204e5a30d1dfd2508e3f3014509a0342f604 commit r12-7984-ga11f204e5a30d1dfd2508e3f3014509a0342f604 Author: Jason Merrill Date:

[Bug target/104049] [12 Regression] vec_select to subreg lowering causes superfluous moves

2022-04-04 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104049 --- Comment #15 from Tamar Christina --- (In reply to rsand...@gcc.gnu.org from comment #14) > > So IMO we should fix RTL representation problem that Andrew pointed > out in comment 7 as the P1 fix, then accept the other cases as a P2 >

[Bug tree-optimization/104639] [12 Regression] Useless loop not fully optimized anymore

2022-04-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104639 --- Comment #12 from Jakub Jelinek --- (In reply to Aldy Hernandez from comment #11) > I don't know. I thought return's were special. Can there be more than one > per function? I think high gimple (what before lower pass) allows multiple

[Bug target/103147] [12 Regression] ICE in register_tuple_type with include "arm_neon.h" and -fpack-struct

2022-04-04 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103147 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug target/103147] [12 Regression] ICE in register_tuple_type with include "arm_neon.h" and -fpack-struct

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103147 --- Comment #4 from Richard Biener --- I think it makes sense to ignore -fpack-struct for the intrinsic API/ABI defined types. OTOH using the option in general doesn't make much sense so an #if __GCC_PACK_STRUCT #error "do not use

[Bug fortran/102314] [12 Regression] ICE in verify_ssa, at tree-ssa.c:1076 since r12-1319-gd4d38135b3137f1d

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102314 Richard Biener changed: What|Removed |Added Priority|P1 |P4 --- Comment #5 from Richard Biener

[Bug target/105010] [12 regression] GCC 12 after 20220227 fails to build on powerpc64-freebsd with Error: invalid mfcr mask

2022-04-04 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105010 Segher Boessenkool changed: What|Removed |Added Priority|P3 |P2

[Bug middle-end/100810] [12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r12-397-gda9e6e63d1ae22e530ec7baf59f6ed028bf05776

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100810 --- Comment #12 from Richard Biener --- Testcase from PR102902, since it runtime times-out difficult to adapt to the testsuite bug fixed by both proposed patches. [576] % gcctk -O2 small.c; ./a.out [577] % [577] % gcctk -O3 small.c [578] %

[Bug middle-end/100810] [12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r12-397-gda9e6e63d1ae22e530ec7baf59f6ed028bf05776

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100810 --- Comment #11 from Richard Biener --- *** Bug 102902 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/102902] [12 Regression] -O3 produces code that uses an uninitialized variable but originally was not used by r12-3876

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102902 Richard Biener changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug tree-optimization/105142] [12 Regression] Wrong code with -O2 since r12-2591

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105142 Richard Biener changed: What|Removed |Added Attachment #52744|0 |1 is obsolete|

[Bug target/105144] [12 Regression] Bootstrap + install failure on aarch64 due to aarch64-tune.md likely since r12-7842

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

[Bug target/105144] [12 Regression] Bootstrap + install failure on aarch64 due to aarch64-tune.md likely since r12-7842

2022-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105144 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:2f0610acbc056052a108e4a46911fc21d0dca2ab commit r12-7983-g2f0610acbc056052a108e4a46911fc21d0dca2ab Author: Jakub Jelinek Date:

[Bug target/105139] [12 Regression] GCC produces vmovw instruction with an incorrect argument for -O3 -march=sapphirerapids since r12-6215-g708b87dcb6e48cb4

2022-04-04 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105139 --- Comment #6 from Uroš Bizjak --- *movv2qi_internal was not fixed in the same way as *movhi_internal, so: diff --git a/gcc/config/i386/mmx.md b/gcc/config/i386/mmx.md index 29d470bdef2..197f19e4b1a 100644 --- a/gcc/config/i386/mmx.md +++

[Bug target/102772] [12 regression] g++.dg/torture/pr80334.C FAILs

2022-04-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102772 --- Comment #44 from Jakub Jelinek --- Rainer, for pr80334.C, have you been able to test the #c43 patch? As for TLS and alignment, to confirm it is a ld bug, can you try #c29 testcase with all of gas + gld, gas + sunld and sunas + sunld (or

[Bug middle-end/105135] [11/12 Regression] Optimization regression for handrolled branchless assignment since r11-4717-g3e190757fa332d32

2022-04-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105135 --- Comment #3 from Jakub Jelinek --- Trying to microbenchmark this in a tight loop on i9-7960X shows in this case cmov probably better (but cmov is really a lottery on x86): cat pr105135.c __attribute__((noipa)) char to_lower_1(const char c) {

[Bug libstdc++/105027] Missing constraints on std::bit_cast

2022-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105027 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:20f2303b0ce6bbe412e852e6423daabd04c39ebb commit r11-9773-g20f2303b0ce6bbe412e852e6423daabd04c39ebb Author: Jonathan

[Bug libstdc++/103650] [9/10/11 Regression] libstdc++ headers defined LT_OBJDIR and STDC_HEADERS

2022-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103650 --- Comment #2 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:0811a4dc39d6269f4087c25ed2be497fe027e756 commit r11-9765-g0811a4dc39d6269f4087c25ed2be497fe027e756 Author: Jonathan

[Bug libstdc++/104098] [11 Regression] bits/stl_iterator.h fails to compile for __cplusplus > 201703L and with __cpp_concepts undefined

2022-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104098 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f6bf63ff3684c28c3b2c4d3a67a42db738d6342d commit r11-9764-gf6bf63ff3684c28c3b2c4d3a67a42db738d6342d Author: Jonathan

[Bug libstdc++/104542] make_obj_using_allocator and uninitialized_construct_using_allocator lack constexpr

2022-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104542 --- Comment #2 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:fe76adc667b4e521705540b30b68ab988c6abbec commit r11-9760-gfe76adc667b4e521705540b30b68ab988c6abbec Author: Jonathan

[Bug libstdc++/104301] --enable-cstdio=stdio_pure not passed down to libstdc++-v3

2022-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104301 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:e6503952a2f884917b52d0f4ae2707d25f1a0a39 commit r11-9757-ge6503952a2f884917b52d0f4ae2707d25f1a0a39 Author: Jonathan

[Bug c++/105099] [9/10/11/12 Regression] In lookup of namespace name qualifiers only namespaces should be considered

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105099 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug fortran/105054] [11/12 Regression] Using one kind of pointer functions causes the compiler to hang since r11-3029-g2b0df0a6ac79b34f

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105054 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.3 Priority|P3

[Bug tree-optimization/105142] [12 Regression] Wrong code with -O2 since r12-2591

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105142 --- Comment #10 from Richard Biener --- (In reply to Richard Biener from comment #9) > Created attachment 52745 [details] > avoid combining the conditions > > Like this prototype which fixes the testcase and avoids combining from stmts >

[Bug target/105139] [12 Regression] GCC produces vmovw instruction with an incorrect argument for -O3 -march=sapphirerapids since r12-6215-g708b87dcb6e48cb4

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105139 --- Comment #5 from Richard Biener --- (In reply to Martin Liška from comment #3) > @Richi: Are you sure about that your GAS supports that? > > $ cat vmovw.s > vmovw %xmm0, %xmm1 > $ as -v --64 vmovw.s > GNU assembler version 2.38

[Bug tree-optimization/105142] [12 Regression] Wrong code with -O2 since r12-2591

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105142 --- Comment #9 from Richard Biener --- Created attachment 52745 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52745=edit avoid combining the conditions Like this prototype which fixes the testcase and avoids combining from stmts defined

[Bug target/105144] [12 Regression] Bootstrap + install failure on aarch64 due to aarch64-tune.md likely since r12-7842

2022-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105144 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:376cf6d19cdcb791a4257bc1cafabfae89227683 commit r12-7981-g376cf6d19cdcb791a4257bc1cafabfae89227683 Author: Jakub Jelinek Date:

[Bug middle-end/105135] [11/12 Regression] Optimization regression for handrolled branchless assignment since r11-4717-g3e190757fa332d32

2022-04-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105135 Martin Liška changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug tree-optimization/103035] [meta-bug] YARPGen bugs

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103035 Bug 103035 depends on bug 105132, which changed state. Bug 105132 Summary: ICE in in operator[], at vec.h:889 with -march=skylake-avx512 -O3 since r12-7246-g4963079769c99c40 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105132 What

[Bug tree-optimization/105132] ICE in in operator[], at vec.h:889 with -march=skylake-avx512 -O3 since r12-7246-g4963079769c99c40

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

[Bug ipa/105140] [10/11 Regression] ICE: SIGSEGV in fold_convertible_p with conflicting function redeclaration since r10-5112-gfddcfa5b84bf8a06

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105140 Richard Biener changed: What|Removed |Added Known to work||12.0 Priority|P3

[Bug tree-optimization/105132] ICE in in operator[], at vec.h:889 with -march=skylake-avx512 -O3 since r12-7246-g4963079769c99c40

2022-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105132 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:3eda57b4ae50b5fe57c174556f1daf3bd9a46b09 commit r12-7980-g3eda57b4ae50b5fe57c174556f1daf3bd9a46b09 Author: Richard Biener Date:

[Bug ipa/105140] [10/11/12 Regression] ICE: SIGSEGV in fold_convertible_p with conflicting function redeclaration since r10-5112-gfddcfa5b84bf8a06

2022-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105140 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:eaaf77dd85c333b116111bb1ae6c080154a4e411 commit r12-7979-geaaf77dd85c333b116111bb1ae6c080154a4e411 Author: Richard Biener Date:

[Bug tree-optimization/105142] [12 Regression] Wrong code with -O2 since r12-2591

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105142 --- Comment #8 from Richard Biener --- Created attachment 52744 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52744=edit patch to rewrite undefined overflow stmts Here's the initial patch, not solving the testcase.

[Bug ipa/105140] [10/11/12 Regression] ICE: SIGSEGV in fold_convertible_p with conflicting function redeclaration since r10-5112-gfddcfa5b84bf8a06

2022-04-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105140 Martin Liška changed: What|Removed |Added Summary|[10/11/12 Regression] ICE: |[10/11/12 Regression] ICE:

[Bug d/104740] gdc.dg/simd_ctfe.d etc. FAIL

2022-04-04 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104740 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/105142] [12 Regression] Wrong code with -O2 since r12-2591

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105142 --- Comment #7 from Richard Biener --- (In reply to Richard Biener from comment #4) > Hmm, I think the error happens earlier already when we simplify > > _2 < _16 && (_4 > _2) to _2 < _4 > > I do have a patch to do the rewrite into defined

[Bug target/105139] [12 Regression] GCC produces vmovw instruction with an incorrect argument for -O3 -march=sapphirerapids since r12-6215-g708b87dcb6e48cb4

2022-04-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105139 Martin Liška changed: What|Removed |Added Status|WAITING |NEW Summary|[12 Regression]

[Bug tree-optimization/105142] [12 Regression] Wrong code with -O2 since r12-2591

2022-04-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105142 --- Comment #6 from Jakub Jelinek --- I mean ... is equivalent to a < c.

[Bug target/105139] [12 Regression] GCC produces vmovw instruction with an incorrect argument for -O3 -march=sapphirerapids

2022-04-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105139 --- Comment #3 from Martin Liška --- @Richi: Are you sure about that your GAS supports that? $ cat vmovw.s vmovw %xmm0, %xmm1 $ as -v --64 vmovw.s GNU assembler version 2.38 (x86_64-suse-linux) using BFD version (GNU Binutils; openSUSE

[Bug tree-optimization/105142] [12 Regression] Wrong code with -O2 since r12-2591

2022-04-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105142 --- Comment #5 from Jakub Jelinek --- If so, that must be still during ifcombine though. Because what I see is that we have effectively MIN_EXPR + large_cst> until threadfull1, which decides to thread it based on the a < c comparison, if a <

[Bug d/104740] gdc.dg/simd_ctfe.d etc. FAIL

2022-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104740 --- Comment #3 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:f6b786d749812542dae90db1701a3cfdccfa1e4b commit r12-7978-gf6b786d749812542dae90db1701a3cfdccfa1e4b Author: Iain Buclaw Date: Sun

[Bug target/105139] [12 Regression] GCC produces vmovw instruction with an incorrect argument for -O3 -march=sapphirerapids

2022-04-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105139 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment

[Bug tree-optimization/105132] ICE in in operator[], at vec.h:889 with -march=skylake-avx512 -O3 since r12-7246-g4963079769c99c40

2022-04-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105132 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug tree-optimization/105142] [12 Regression] Wrong code with -O2 since r12-2591

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105142 --- Comment #4 from Richard Biener --- Hmm, I think the error happens earlier already when we simplify _2 < _16 && (_16 + 5713568809962283044 > _2) to _2 < _4 I do have a patch to do the rewrite into defined overflow which definitely fixes a

[Bug target/105136] [11/12 regression] Missed optimization regression with 32-bit adds and shifts

2022-04-04 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105136 --- Comment #2 from Uroš Bizjak --- The regression in bar: is due to RA regression for: (insn 28 27 29 2 (parallel [ (set (reg:SI 89) (plus:SI (reg:SI 92) (subreg:SI (reg:DI 87) 0)))

[Bug target/105144] [12 Regression] Bootstrap + install failure on aarch64 due to aarch64-tune.md likely since r12-7842

2022-04-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105144 --- Comment #2 from Jakub Jelinek --- Created attachment 52743 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52743=edit gcc12-pr105144-2.patch And incremental fix for 3).

[Bug tree-optimization/105132] ICE in in operator[], at vec.h:889 with -march=skylake-avx512 -O3

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105132 --- Comment #2 from Richard Biener --- So we end up scheduling t.ii:4:6: note: node 0x45e58d0 (max_nunits=16, refcnt=1) vector(8) t.ii:4:6: note: op template: patt_99 = _20 & patt_346; t.ii:4:6: note: stmt 0 patt_99 = _20 & patt_346;

[Bug target/105144] [12 Regression] Bootstrap + install failure on aarch64 due to aarch64-tune.md likely since r12-7842

2022-04-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105144 --- Comment #1 from Jakub Jelinek --- Created attachment 52742 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52742=edit gcc12-pr105144.patch Fix for 1) and 2).

[Bug target/105144] [12 Regression] Bootstrap + install failure on aarch64 due to aarch64-tune.md likely since r12-7842

2022-04-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105144 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug target/105144] New: [12 Regression] Bootstrap + install failure on aarch64 due to aarch64-tune.md likely since r12-7842

2022-04-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105144 Bug ID: 105144 Summary: [12 Regression] Bootstrap + install failure on aarch64 due to aarch64-tune.md likely since r12-7842 Product: gcc Version: 12.0 Status:

[Bug lto/105121] ice in bp_unpack_string

2022-04-04 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105121 --- Comment #7 from rguenther at suse dot de --- On Mon, 4 Apr 2022, dcb314 at hotmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105121 > > David Binderman changed: > >What|Removed

[Bug lto/105121] ice in bp_unpack_string

2022-04-04 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105121 David Binderman changed: What|Removed |Added Resolution|--- |WORKSFORME

[Bug tree-optimization/105142] [12 Regression] Wrong code with -O2 since r12-2591

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105142 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug ipa/105140] [10/11/12 Regression] ICE: SIGSEGV in fold_convertible_p with conflicting function redeclaration

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105140 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Target Milestone|---

[Bug target/105139] [12 Regression] GCC produces vmovw instruction with an incorrect argument for -O3 -march=sapphirerapids

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105139 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0 Status|UNCONFIRMED

[Bug target/105136] [11/12 regression] Missed optimization regression with 32-bit adds and shifts

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105136 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.3 Priority|P3

[Bug middle-end/105135] [11/12 Regression] Optimization regression for handrolled branchless assignment

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105135 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.3 --- Comment #1 from Richard

[Bug c/105134] tree-vectorize produces error code

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105134 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-04-04 Ever confirmed|0

[Bug tree-optimization/105132] ICE in in operator[], at vec.h:889 with -march=skylake-avx512 -O3

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105132 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug middle-end/105126] [9/10/11/12 Regression] Optimization regression gcc inserts not needed movsx when using switch statement

2022-04-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105126 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.5 Priority|P3

  1   2   >