[Bug libstdc++/102447] std::regex incorrectly accepts invalid bracket expression

2021-10-03 Thread s.ikarashi at fujitsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102447 Ikarashi changed: What|Removed |Added CC||s.ikarashi at fujitsu dot com --- Comment

[Bug target/102584] [OpenRISC] backend generates wrong halfword constant

2021-10-03 Thread thrustl at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102584 --- Comment #1 from thrustl at hotmail dot com --- -fdump-tree-optimized looks fine, with one unsigned and one signed constant: ;; Function main (main, funcdef_no=0, decl_uid=1383, cgraph_uid=1, symbol_order=0) int main () { int D.1386;

[Bug target/102584] New: [OpenRISC] backend generates wrong halfword constant

2021-10-03 Thread thrustl at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102584 Bug ID: 102584 Summary: [OpenRISC] backend generates wrong halfword constant Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/85730] complex code for modifying lowest byte in a 4-byte vector

2021-10-03 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85730 Gabriel Ravier changed: What|Removed |Added CC||gabravier at gmail dot com --- Comment

[Bug target/102583] New: [x86] Failure to optimize 32-byte integer vector conversion to 16-byte float vector properly when converting upper part with -mavx2

2021-10-03 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102583 Bug ID: 102583 Summary: [x86] Failure to optimize 32-byte integer vector conversion to 16-byte float vector properly when converting upper part with -mavx2 Product: gcc

[Bug fortran/102582] allocate treats all variables as type CHARACTER after use of CHARACTER(LEN=NNN)::

2021-10-03 Thread urbanjost at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102582 --- Comment #1 from urbanjost at comcast dot net --- Never mind. It looks like C934 (R927) If type-spec appears, it shall specify a type with which each allocate-object is type compatible. it should do that, and nvfortran and ifort are the

[Bug fortran/102582] New: allocate treats all variables as type CHARACTER after use of CHARACTER(LEN=NNN)::

2021-10-03 Thread urbanjost at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102582 Bug ID: 102582 Summary: allocate treats all variables as type CHARACTER after use of CHARACTER(LEN=NNN):: Product: gcc Version: 10.3.0 Status: UNCONFIRMED

[Bug modula2/102344] gm2/pim/fail/TestLong4.mod FAILs

2021-10-03 Thread gaiusmod2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102344 --- Comment #1 from Gaius Mulley --- "ro at gcc dot gnu.org" writes: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102344 > > Bug ID: 102344 >Summary: gm2/pim/fail/TestLong4.mod FAILs >Product: gcc >

[Bug middle-end/102566] [i386] GCC should emit LOCK BTS for simple bit-test-and-set operations with std::atomic

2021-10-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102566 H.J. Lu changed: What|Removed |Added Attachment #51536|0 |1 is obsolete|

[Bug target/101104] test case gcc.c-torture/execute/ieee/cdivchkld.c fails

2021-10-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101104 --- Comment #10 from CVS Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:d91056851c5c60f226e3192fb955d018b53eb66f commit r12-4104-gd91056851c5c60f226e3192fb955d018b53eb66f Author: Patrick McGehearty Date:

[Bug ipa/102581] [12 Regression] ice in forced_merge, at ipa-modref-tree.h:352 with -fno-strict-aliasing and -O2

2021-10-03 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102581 --- Comment #2 from David Binderman --- git blame says: f5ff3a8ed4ca (Jan Hubicka 2021-08-28 20:57:08 +0200 349) /* We assume that containment and lossless merging f5ff3a8ed4ca (Jan Hubicka 2021-08-28 20:57:08 +0200 350) was

[Bug ipa/102581] [12 Regression] ice in forced_merge, at ipa-modref-tree.h:352 with -fno-strict-aliasing and -O2

2021-10-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102581 --- Comment #1 from Andrew Pinski --- /* We assume that containment and lossless merging was tested earlier. */ gcc_checking_assert (!contains (a) && !a.contains (*this) && !merge (a,

[Bug ipa/102581] [12 Regression] ice in forced_merge, at ipa-modref-tree.h:352 with -fno-strict-aliasing and -O2

2021-10-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102581 Andrew Pinski changed: What|Removed |Added CC||marxin at gcc dot gnu.org

[Bug c++/102577] Function frame size in relation to variables in conditional subscopes

2021-10-03 Thread krzyk240 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102577 --- Comment #2 from Krzysztof Małysa --- Could you explain why this is correct? For example, quoting a relevant part of the C++ standard will do. As I said, I couldn't find WHY this is the expected behavior. I need to understand it.

[Bug c++/102581] New: ice in forced_merge, at ipa-modref-tree.h:352 with -fno-strict-aliasing and -O2

2021-10-03 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102581 Bug ID: 102581 Summary: ice in forced_merge, at ipa-modref-tree.h:352 with -fno-strict-aliasing and -O2 Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug middle-end/102580] Failure to optimize signed division to unsigned division when dividend can't be negative

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

[Bug tree-optimization/102580] New: Failure to optimize signed division to unsigned division when dividend can't be negative

2021-10-03 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102580 Bug ID: 102580 Summary: Failure to optimize signed division to unsigned division when dividend can't be negative Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/101765] ICE when using a VLA inside of a coroutine

2021-10-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101765 --- Comment #5 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:fdf0b6ce6c1cfa1c328c0c40473c71ca11fd8303 commit r12-4103-gfdf0b6ce6c1cfa1c328c0c40473c71ca11fd8303 Author: Iain Sandoe Date:

[Bug c++/99710] coroutines: co_yield and co_await should only be allowed in suspension context

2021-10-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99710 --- Comment #3 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:650beb110538097b9c3e8600149b333a83e7e836 commit r12-4102-g650beb110538097b9c3e8600149b333a83e7e836 Author: Iain Sandoe Date: Sat

[Bug c++/100673] [coroutines] Non-template, UDT await_suspend return-type results in ICE.

2021-10-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100673 --- Comment #3 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:8009c79b64b532d8a0966fe3c6d636369df6e35d commit r12-4101-g8009c79b64b532d8a0966fe3c6d636369df6e35d Author: John Eivind Helset

[Bug c++/101133] [coroutines] co_await doesn't accept a valid awaitable object if await_resume()'s return type is not a built-in type.

2021-10-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101133 --- Comment #3 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:1b54a7226368bf86361e5c9d8ae523193037a0ac commit r12-4100-g1b54a7226368bf86361e5c9d8ae523193037a0ac Author: Iain Sandoe Date:

[Bug c++/99575] [coroutines] unexpected move when co_awaiting a nonmoveable object

2021-10-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99575 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:0ee1ab15c237ffb50be1a5ce9c5e542b16df4d12 commit r12-4099-g0ee1ab15c237ffb50be1a5ce9c5e542b16df4d12 Author: Iain Sandoe Date: Sat

[Bug c++/95520] [coroutines] __builtin_FUNCTION() returns mangled .actor instead of original function name

2021-10-03 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95520 Iain Sandoe changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/102458] ICE tree check: expected array_type, have pointer_type in gfc_conv_array_initializer, at fortran/trans-array.c:6136

2021-10-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102458 --- Comment #16 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:a3abacbaebc5583885600840cf2d968341be0275 commit r11-9065-ga3abacbaebc5583885600840cf2d968341be0275 Author: Harald Anlauf

[Bug fortran/102458] ICE tree check: expected array_type, have pointer_type in gfc_conv_array_initializer, at fortran/trans-array.c:6136

2021-10-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102458 --- Comment #15 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:082b3588ee01399b93fe73acd2ac181ec2ee3536 commit r11-9064-g082b3588ee01399b93fe73acd2ac181ec2ee3536 Author: Harald Anlauf

[Bug c++/95520] [coroutines] __builtin_FUNCTION() returns mangled .actor instead of original function name

2021-10-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95520 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:bf455aa06f95edf15b3ee619b1096dde716fed64 commit r10-10165-gbf455aa06f95edf15b3ee619b1096dde716fed64 Author: Iain Sandoe

[Bug c++/99215] coroutines: debugging with gdb

2021-10-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99215 --- Comment #13 from CVS Commits --- The releases/gcc-10 branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:ddef3142151a3e88743aa4a990062d953a16c04e commit r10-10164-gddef3142151a3e88743aa4a990062d953a16c04e Author: Iain Sandoe

[Bug c++/99617] gcc/cp/coroutines.cc:2807: member variables not initialised in constructor ?

2021-10-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99617 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:6bc4823dc4264dfec956cb559ed8f9d78cac2b0a commit r10-10162-g6bc4823dc4264dfec956cb559ed8f9d78cac2b0a Author: Martin Liska

[Bug c++/102454] coroutines: ICE in gimplify_var_or_parm_decl, at gimplify.c:2958

2021-10-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102454 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:a1ef1020c424d8f3ca1486ce12408819f4746fd6 commit r11-9063-ga1ef1020c424d8f3ca1486ce12408819f4746fd6 Author: Iain Sandoe

[Bug fortran/102521] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6240

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

[Bug tree-optimization/102563] [12 Regression] ice during GIMPLE pass: vrp-thread

2021-10-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102563 Andrew Pinski changed: What|Removed |Added CC||suochenyao at 163 dot com --- Comment

[Bug tree-optimization/102565] ICE: in upper_bound, at value-range.h:531 under -O2

2021-10-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102565 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug tree-optimization/102575] Failure to optimize double _Complex stores to use largest loads/stores possible

2021-10-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102575 Andrew Pinski changed: What|Removed |Added Component|target |tree-optimization Ever confirmed|0

[Bug driver/42300] Having LIBRARY_PATH set but with null contents, makes gcc read ./specs

2021-10-03 Thread ryan at arctype dot co via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42300 --- Comment #3 from Ryan Sundberg --- I've stumbled upon this 30 year old bug also while trying to build a gcc cross compiler. The behavior is that LIBRARY_PATH="" is different than having LIBRARY_PATH not set at all in the environment. As Lluis

[Bug driver/42300] Having LIBRARY_PATH set but with null contents, makes gcc read ./specs

2021-10-03 Thread ryan at arctype dot co via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42300 Ryan Sundberg changed: What|Removed |Added CC||ryan at arctype dot co --- Comment #2

[Bug tree-optimization/102579] Failure to optimize out allocation if volatile read is present in the middle

2021-10-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102579 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-10-03

[Bug tree-optimization/102579] Failure to optimize out allocation if volatile read is present in the middle

2021-10-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102579 Andrew Pinski changed: What|Removed |Added Keywords||alias --- Comment #2 from Andrew

[Bug tree-optimization/102579] Failure to optimize out allocation if volatile read is present in the middle

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

[Bug c++/102577] Function frame size in relation to variables in conditional subscopes

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

[Bug c/102578] false alarm on noreturn via static function

2021-10-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102578 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic --- Comment #3 from Andrew

[Bug tree-optimization/102579] New: Failure to optimize out allocation if volatile read is present in the middle

2021-10-03 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102579 Bug ID: 102579 Summary: Failure to optimize out allocation if volatile read is present in the middle Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/102560] [12 Regression] g++.dg/Walloca1.C ICE with aggressive GC

2021-10-03 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102560 --- Comment #4 from Aldy Hernandez --- Created attachment 51540 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51540=edit patch in testing

[Bug tree-optimization/98703] Failure to optimize out non-zero check after multiplication overflow check

2021-10-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98703 --- Comment #5 from Jakub Jelinek --- Yeah, the IMAGPART_EXPR of .*_OVERFLOW is a hand-written forward pattern matching, for this PR one would need pattern matching in the backwards computation (like operator*::op1_range) that would not go

[Bug c/102578] false alarm on noreturn via static function

2021-10-03 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102578 --- Comment #2 from eggert at cs dot ucla.edu --- Created attachment 51539 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51539=edit false alarm with 'gcc -O2 -S -Wreturn-type' Attached is the third and final example I got from Coreutils

[Bug tree-optimization/98703] Failure to optimize out non-zero check after multiplication overflow check

2021-10-03 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98703 --- Comment #4 from Aldy Hernandez --- I can't remember what Andrew's plan was for complex numbers, possibly for next release when we handle floats. We have somewhat of a kludge to know that the result of REALPART_EXPR and IMAGPART_EXPR are

[Bug c/102578] false alarm on noreturn via static function

2021-10-03 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102578 --- Comment #1 from eggert at cs dot ucla.edu --- Created attachment 51538 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51538=edit false alarm with 'gcc -O2 -S -Wimplicit-fallthrough=5' I'm adding another example of the problem, taken

[Bug c/102578] New: false alarm on noreturn via static function

2021-10-03 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102578 Bug ID: 102578 Summary: false alarm on noreturn via static function Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug middle-end/102566] [i386] GCC should emit LOCK BTS for simple bit-test-and-set operations with std::atomic

2021-10-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102566 --- Comment #5 from H.J. Lu --- Created attachment 51536 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51536=edit A patch Please try this.

[Bug c++/100583] [modules] ICE when importing

2021-10-03 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100583 --- Comment #3 from Johel Ernesto Guerrero Peña --- Thank you. > The solution is to use the include and remove the gcm file altogether. Is this still the case? I still get an ICE.

[Bug tree-optimization/102566] [i386] GCC should emit LOCK BTS for simple bit-test-and-set operations with std::atomic

2021-10-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102566 --- Comment #4 from H.J. Lu --- Can we convert _1 = __atomic_fetch_or_4 (, 1, 0); _2 = (int) _1; _5 = _2 & 1; to _1 = __atomic_fetch_or_4 (, 1, 0); _2 = _1 & 1; _5 = (int) _2;

[Bug c++/102577] New: Function frame size in relation to variables in conditional subscopes

2021-10-03 Thread krzyk240 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102577 Bug ID: 102577 Summary: Function frame size in relation to variables in conditional subscopes Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity:

[Bug c++/102576] [modules] Importing doesn't permit implicit uses

2021-10-03 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102576 --- Comment #1 from Johel Ernesto Guerrero Peña --- `` is specified as including ``. It doesn't with with that either: ```C++ import; namespace { constexpr void test() { for (const int i : {0, 1, -1}) { } ``` ``` error: deducing from

[Bug c++/102576] New: [modules] Importing doesn't permit implicit uses

2021-10-03 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102576 Bug ID: 102576 Summary: [modules] Importing doesn't permit implicit uses Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: rejects-valid

[Bug libstdc++/102573] optimized code removes the underlying elements of the std::initializer_list being copied

2021-10-03 Thread 13508417 at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102573 --- Comment #4 from wjf <13508417 at qq dot com> --- Hi Andrew, I've updated my gcc to 10.2.1, and find while it did show what you said for my initial code snippet, it won't warn me anything, nor report error at runtime with -fsanitize=address

[Bug target/102575] New: Failure to optimize double _Complex stores to use largest loads/stores possible

2021-10-03 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102575 Bug ID: 102575 Summary: Failure to optimize double _Complex stores to use largest loads/stores possible Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug d/102574] New: d: gdc driver ignores -static-libstdc++ when automatically linking libstdc++ library

2021-10-03 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102574 Bug ID: 102574 Summary: d: gdc driver ignores -static-libstdc++ when automatically linking libstdc++ library Product: gcc Version: 9.4.1 Status: UNCONFIRMED

[Bug tree-optimization/102566] [i386] GCC should emit LOCK BTS for simple bit-test-and-set operations with std::atomic

2021-10-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102566 H.J. Lu changed: What|Removed |Added Component|target |tree-optimization --- Comment #3 from H.J.

[Bug target/102566] [i386] GCC should emit LOCK BTS for simple bit-test-and-set operations with std::atomic

2021-10-03 Thread hjl.tools at gmail dot com via Gcc-bugs
.zero 4 .ident "GCC: (GNU) 12.0.0 20211003 (experimental)" .section.note.GNU-stack,"",@progbits [hjl@gnu-cfl-2 pr102566]$

[Bug target/102566] [i386] GCC should emit LOCK BTS for simple bit-test-and-set operations with std::atomic

2021-10-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102566 H.J. Lu changed: What|Removed |Added Version|unknown |12.0 Last reconfirmed|

[Bug tree-optimization/102565] ICE: in upper_bound, at value-range.h:531 under -O2

2021-10-03 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102565 --- Comment #1 from Zdenek Sojka --- I can reproduce this with r12-4090, but not with r12-4097. Might be the same as PR102563.

[Bug tree-optimization/102572] [11/12 Regression] ICE for skx in vect_build_gather_load_calls, at tree-vect-stmts.c:2835

2021-10-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102572 --- Comment #2 from Andrew Pinski --- if (!useless_type_conversion_p (masktype, TREE_TYPE (vec_mask))) { poly_uint64 sub1 = TYPE_VECTOR_SUBPARTS (TREE_TYPE (mask_op));

[Bug tree-optimization/102572] [11/12 Regression] ICE for skx in vect_build_gather_load_calls, at tree-vect-stmts.c:2835

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

[Bug libstdc++/102573] optimized code removes the underlying elements of the std::initializer_list being copied

2021-10-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102573 --- Comment #3 from Andrew Pinski --- (In reply to wjf from comment #2) > Hi Andrew, > > I know that adding "-fsanitize=address" could detect the > stack-use-after-scope in runtime. But why not just delete the copy member in >