[Bug c++/102600] [modules] ICE Segmentation fault during GIMPLE pass evrp

2021-10-06 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102600 --- Comment #2 from Johel Ernesto Guerrero Peña --- A workaround: ```C++ export using byte = // Workaround GCC bug 102600. #if not defined(NDEBUG) or (defined(__clang__) or not defined(__GNUC__)) std::byte; #else unsigned char; #endif ```

[Bug middle-end/102630] [12 Regression] Spurious -Warray-bounds with named address space

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102630 --- Comment #5 from Martin Sebor --- Section 25.8. Using FS and GS segments in user space applications in https://www.kernel.org/doc/html/latest/x86/x86_64/fsgs.html makes it sound like null might be a valid address in a named address space. I

[Bug target/102230] ICE in classify_argument, at config/i386/i386.c:2474

2021-10-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102230 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug middle-end/90773] Improve piecewise operation

2021-10-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90773 H.J. Lu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #20

[Bug target/98442] [X86] suboptimal for memset with CLEAR_BY_PIECES

2021-10-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98442 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/101761] Random hang with 29_atomics/atomic_ref/wait_notify.cc

2021-10-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101761 H.J. Lu changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/101804] float_vector_all_ones_operand should be used more

2021-10-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101804 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug middle-end/102630] [12 Regression] Spurious -Warray-bounds with named address space

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102630 --- Comment #4 from Martin Sebor --- A test case is below. Warnings for accesses at address zero are intentionally suppressed (to avoid false positives for unreachable code) but they are issued for accesses at nonzero offsets from null because

[Bug middle-end/102630] [12 Regression] Spurious -Warray-bounds with named address space

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102630 Martin Sebor changed: What|Removed |Added Target Milestone|--- |12.0 Status|NEW

[Bug tree-optimization/98513] [10 Regression] Wrong code with -O3 since r10-2804-gbf05a3bbb58b3558

2021-10-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98513 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/102634] Optimization in dom2 pass makes wrong signed integer overflow inference

2021-10-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102634 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/102634] New: Optimization in dom2 pass makes wrong signed integer overflow inference

2021-10-06 Thread mk.aard.gcc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102634 Bug ID: 102634 Summary: Optimization in dom2 pass makes wrong signed integer overflow inference Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity:

[Bug middle-end/102633] [11/12 Regression] warning for self-initialization despite -Wno-init-self

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102633 Martin Sebor changed: What|Removed |Added CC||muecker at gwdg dot de --- Comment #2

[Bug middle-end/102633] [11/12 Regression] warning for self-initialization despite -Wno-init-self

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102633 Martin Sebor changed: What|Removed |Added Summary|warning for |[11/12 Regression] warning

[Bug middle-end/102633] New: warning for self-initialization despite -Wno-init-self

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102633 Bug ID: 102633 Summary: warning for self-initialization despite -Wno-init-self Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/56659] Segfault due to missing libcpp error handler for "gfortran -cpp"

2021-10-06 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56659 --- Comment #6 from Tobias Burnus --- (In reply to Paul from comment #5) > Just tried all versions of gfortran available up to 10.2.0: the very same > 'internal compiler error' is still reported using the initial reproducer. Can you share the

[Bug c++/61355] gcc doesn't normalize type in non-type template parameters

2021-10-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61355 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org

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

2021-10-06 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101104 --- Comment #14 from Segher Boessenkool --- (In reply to Patrick McGehearty from comment #13) > I may be mistaken about the source of the issue being glibc. > Perhaps it is a system include file issue? Here are some > more details. > > Here

[Bug c++/60009] g++ allows copy-initialization of an array of class type from a non-braced string literal

2021-10-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60009 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug sanitizer/102632] New: Missing AM_CCASFLAGS in libsanitizer Makefile.am

2021-10-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102632 Bug ID: 102632 Summary: Missing AM_CCASFLAGS in libsanitizer Makefile.am Product: gcc Version: 9.4.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/102630] [12 Regression] Spurious -Warray-bounds with named address space

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102630 --- Comment #3 from Martin Sebor --- If the warning is keeping Glibc from building with GCC 12 then applying the patch until this is resolved (hopefully still in stage 1, or in stage 3) seems like a reasonable workaround. It wouldn't be the

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

2021-10-06 Thread patrick.mcgehearty at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101104 --- Comment #13 from Patrick McGehearty --- I may be mistaken about the source of the issue being glibc. Perhaps it is a system include file issue? Here are some more details. Here are some of the error messages I got when building with

[Bug middle-end/102630] [12 Regression] Spurious -Warray-bounds with named address space

2021-10-06 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102630 --- Comment #2 from joseph at codesourcery dot com --- Since we concluded this was a GCC bug, rather than an unavoidable limitation of the warning, suppressing it in glibc seems inappropriate.

[Bug middle-end/102630] [12 Regression] Spurious -Warray-bounds with named address space

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102630 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Blocks|

[Bug tree-optimization/102631] -Wmaybe-uninitialized cannot see through a series of PHIs

2021-10-06 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102631 --- Comment #3 from Aldy Hernandez --- (In reply to Aldy Hernandez from comment #2) > Created attachment 51562 [details] > similar problem on aarch64 bootstrap $ ./cc1plus calls-aarch64.ii -O2 -quiet -Wall In function ‘void

[Bug tree-optimization/102631] -Wmaybe-uninitialized cannot see through a series of PHIs

2021-10-06 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102631 --- Comment #2 from Aldy Hernandez --- Created attachment 51562 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51562=edit similar problem on aarch64 bootstrap

[Bug tree-optimization/102192] Curious '-O2'-only '-Wmaybe-uninitialized' diagnostics for 'libgomp.oacc-fortran/routine-10.f90'

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102192 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug tree-optimization/102631] -Wmaybe-uninitialized cannot see through a series of PHIs

2021-10-06 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102631 --- Comment #1 from Aldy Hernandez --- $ ./cc1 team.i -O2 -quiet -Wall /home/aldyh/src/gcc/libgomp/team.c: In function ‘gomp_team_start’: /home/aldyh/src/gcc/libgomp/team.c:315:34: warning: ‘start_data’ may be used uninitialized in this

[Bug tree-optimization/102631] New: -Wmaybe-uninitialized cannot see through a series of PHIs

2021-10-06 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102631 Bug ID: 102631 Summary: -Wmaybe-uninitialized cannot see through a series of PHIs Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

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

2021-10-06 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101104 --- Comment #12 from Segher Boessenkool --- (In reply to Patrick McGehearty from comment #8) > My challenge is that the very old glibc on gcc135.fsffrance.org > does not know about _TF_ vs _KF_ and _IF_. It refused to > build the new

[Bug middle-end/102630] New: [12 Regression] Spurious -Warray-bounds with named address space

2021-10-06 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102630 Bug ID: 102630 Summary: [12 Regression] Spurious -Warray-bounds with named address space Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

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

2021-10-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102566 --- Comment #23 from H.J. Lu --- (In reply to Thiago Macieira from comment #22) > (In reply to H.J. Lu from comment #21) > > Created attachment 51559 [details] > > The new v3 patch > > > > The new v3 patch to check invalid mask. > > v3? We

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

2021-10-06 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102566 --- Comment #22 from Thiago Macieira --- (In reply to H.J. Lu from comment #21) > Created attachment 51559 [details] > The new v3 patch > > The new v3 patch to check invalid mask. v3? We were already up to v6.

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

2021-10-06 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 #51558|0 |1 is obsolete|

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

2021-10-06 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102566 --- Comment #20 from Thiago Macieira --- And: $ cat /tmp/test.cpp #include bool tbit(std::atomic ) { return i.fetch_xor(CONSTANT, std::memory_order_relaxed) & (CONSTANT); } $ ~/dev/gcc/bin/gcc "-DCONSTANT=(1LL<<63)" -S -o - -O2

[Bug c++/102629] New: internal compiler error: tree check: expected record_type or union_type or qual_union_type, have decltype_type in lookup_base, at cp/search.c:233

2021-10-06 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102629 Bug ID: 102629 Summary: internal compiler error: tree check: expected record_type or union_type or qual_union_type, have decltype_type in lookup_base, at cp/search.c:233

[Bug tree-optimization/90556] [meta-bug] bogus/missing -Wreturn-local-addr

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90556 Bug 90556 depends on bug 90735, which changed state. Bug 90735 Summary: missing location in -Wreturn-local-addr on a function with two return statements https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90735 What|Removed

[Bug middle-end/90735] missing location in -Wreturn-local-addr on a function with two return statements

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90735 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Last

[Bug c++/89062] class template argument deduction failure with parentheses

2021-10-06 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89062 Avi Kivity changed: What|Removed |Added CC||a...@cloudius-systems.com --- Comment #11

[Bug middle-end/93644] [10/11/12 Regression] spurious -Wreturn-local-addr with PHI of PHI

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93644 --- Comment #19 from Martin Sebor --- GCC 12 has changed to point the warning at the closing curly as suggested in pr90735 so its output now looks like this: pr93644.c: In function ‘careadlinkat’: pr93644.c:30:1: warning: function may return

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

2021-10-06 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102581 --- Comment #8 from Jan Hubicka --- Actually, this is shorter patch - we already should notice that one range is contained in other, but we give up too early. Honza diff --git a/gcc/ipa-modref-tree.h b/gcc/ipa-modref-tree.h index

[Bug target/102543] -march=cascadelake performs odd alignment peeling

2021-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102543 --- Comment #2 from Richard Biener --- Caused by commit 001e73373e6d2e7c756141e0d7ac8e24ae1574ad Author: Sergey Shalnov Date: Thu Feb 8 23:31:15 2018 +0100 re PR target/83008 ([performance] Is it better to avoid extra instructions in

[Bug libgomp/102628] New: [12 regression] New test case libgomp.c-c++-common/alloc-9.c fails after its introduction in r12-4033

2021-10-06 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102628 Bug ID: 102628 Summary: [12 regression] New test case libgomp.c-c++-common/alloc-9.c fails after its introduction in r12-4033 Product: gcc Version: 12.0

[Bug ipa/102474] [12 regression] Crash in ipa-modref compiling Go code

2021-10-06 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102474 --- Comment #3 from Jan Hubicka --- may be dup of PR102581 (where I attached fix I am testing)

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

2021-10-06 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102581 --- Comment #7 from Jan Hubicka --- Hi, the problem is that we assume that merge is symmetric (merging a to b succeeds if and only if merging b to a succeeds). There was one symetrical path missing in the (fancy and bit ugly) logic on what we

[Bug gcov-profile/98257] Replace Donald B. Johnson's cycle enumeration with iterative loop finding

2021-10-06 Thread jasonm at cadence dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98257 Jason McCampbell changed: What|Removed |Added CC||jasonm at cadence dot com ---

[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic

2021-10-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug tree-optimization/102622] [12 Regression] Wrong code with -O3 for skylake-avx512 and icelake-server by r12-3903

2021-10-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 --- Comment #11 from H.J. Lu --- (In reply to Aldy Hernandez from comment #10) > Does :1-1 fail? In which case it's definitely the first thread. :1-1 passes.

[Bug c++/102547] [11 Regression] g++ 11. ICE with NTTPs and partial specialization

2021-10-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102547 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/95567] Defaulted virtual <=> has the wrong behavior, vtable is checked when it should not be

2021-10-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95567 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/102412] Template argument deduction fails when using concept as defaulted non-type template parameter

2021-10-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102412 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/102622] [12 Regression] Wrong code with -O3 for skylake-avx512 and icelake-server by r12-3903

2021-10-06 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 --- Comment #10 from Aldy Hernandez --- Does :1-1 fail? In which case it's definitely the first thread.

[Bug c++/67491] [meta-bug] concepts issues

2021-10-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 98486, which changed state. Bug 98486 Summary: Variable template specialization doesn't account for primary's constraints https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98486 What|Removed

[Bug c++/98486] Variable template specialization doesn't account for primary's constraints

2021-10-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98486 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/101344] [11/12 Regression] braced-init-list not supported in an aggregate deduction

2021-10-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101344 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/102163] [10 Regression] std::variant rejects valid constant expression

2021-10-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102163 Patrick Palka changed: What|Removed |Added Summary|[10/11/12 Regression] |[10 Regression]

[Bug c++/101803] CTAD fails for nested designated initializers

2021-10-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101803 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug c++/101883] class template argument deduction in non-type template parameter allows explicit deduction guide

2021-10-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101883 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/102547] [11 Regression] g++ 11. ICE with NTTPs and partial specialization

2021-10-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102547 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:1aef951f1aa0b50a8da12f6fe6e80f3fdaa4d98e commit r11-9086-g1aef951f1aa0b50a8da12f6fe6e80f3fdaa4d98e Author: Patrick Palka

[Bug c++/102535] __is_trivially_constructible rejects some trivial cases in aggregate initializations

2021-10-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102535 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:d80c0e4584acc204ca9a2f8880ad455fef48371f commit r11-9085-gd80c0e4584acc204ca9a2f8880ad455fef48371f Author: Patrick Palka

[Bug c++/95567] Defaulted virtual <=> has the wrong behavior, vtable is checked when it should not be

2021-10-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95567 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:e84436a273f0fbb42b9785ff5bb1deaf9a500f37 commit r11-9084-ge84436a273f0fbb42b9785ff5bb1deaf9a500f37 Author: Patrick Palka

[Bug c++/98216] [C++20] template mangling for double template argument is wrong

2021-10-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98216 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:1682576e62d41cd761472943372b83aee514254a commit r11-9083-g1682576e62d41cd761472943372b83aee514254a Author: Patrick Palka

[Bug c++/91292] Mangler incorrectly handles negative numbers in expressions

2021-10-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91292 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:1682576e62d41cd761472943372b83aee514254a commit r11-9083-g1682576e62d41cd761472943372b83aee514254a Author: Patrick Palka

[Bug c++/102412] Template argument deduction fails when using concept as defaulted non-type template parameter

2021-10-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102412 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:5a411459b73b65d8a1235a16d6e2aac4eed17338 commit r11-9082-g5a411459b73b65d8a1235a16d6e2aac4eed17338 Author: Patrick Palka

[Bug c++/98486] Variable template specialization doesn't account for primary's constraints

2021-10-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98486 --- Comment #2 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:729cf2ea979f396e706625b1669087d5920b8c2a commit r11-9081-g729cf2ea979f396e706625b1669087d5920b8c2a Author: Patrick Palka

[Bug c++/102163] [10/11/12 Regression] std::variant rejects valid constant expression

2021-10-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102163 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:59c6831682dfa8bec2b5a62bdc85739924970808 commit r11-9080-g59c6831682dfa8bec2b5a62bdc85739924970808 Author: Patrick Palka

[Bug c++/101344] [11/12 Regression] braced-init-list not supported in an aggregate deduction

2021-10-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101344 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:dc867191914eff2993312fc25c48db4b7c6289e9 commit r11-9079-gdc867191914eff2993312fc25c48db4b7c6289e9 Author: Patrick Palka

[Bug c++/101803] CTAD fails for nested designated initializers

2021-10-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101803 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:dc867191914eff2993312fc25c48db4b7c6289e9 commit r11-9079-gdc867191914eff2993312fc25c48db4b7c6289e9 Author: Patrick Palka

[Bug c++/101883] class template argument deduction in non-type template parameter allows explicit deduction guide

2021-10-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101883 --- Comment #2 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:52dd840c5eba25ef54dee3f1c78f371032a7c051 commit r11-9078-g52dd840c5eba25ef54dee3f1c78f371032a7c051 Author: Patrick Palka

[Bug c++/102198] Unused and nonsensical template instantiations used for return type inference end up in the output

2021-10-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102198 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/102622] [12 Regression] Wrong code with -O3 for skylake-avx512 and icelake-server by r12-3903

2021-10-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 --- Comment #9 from H.J. Lu --- 1. -fdbg-cnt=registered_jump_thread:19 passes. 2. -fdbg-cnt=registered_jump_thread:20 fails. 3. -fdbg-cnt=registered_jump_thread:1-20 fails. 4. -fdbg-cnt=registered_jump_thread:2-20 passes.

[Bug c++/102611] [C++23] P2128R6 - Multidimensional subscript operator

2021-10-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102611 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug tree-optimization/102622] [12 Regression] Wrong code with -O3 for skylake-avx512 and icelake-server by r12-3903

2021-10-06 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 --- Comment #8 from Aldy Hernandez --- (In reply to H.J. Lu from comment #6) > (In reply to Aldy Hernandez from comment #4) > > Can you try with -fno-thread-jumps to make sure its really the threader at > > play? > > -fno-thread-jumps fixes

[Bug tree-optimization/102622] [12 Regression] Wrong code with -O3 for skylake-avx512 and icelake-server by r12-3903

2021-10-06 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 --- Comment #7 from Aldy Hernandez --- (In reply to H.J. Lu from comment #6) > (In reply to Aldy Hernandez from comment #4) > > Can you try with -fno-thread-jumps to make sure its really the threader at > > play? > > -fno-thread-jumps fixes

[Bug tree-optimization/102622] [12 Regression] Wrong code with -O3 for skylake-avx512 and icelake-server by r12-3903

2021-10-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 --- Comment #6 from H.J. Lu --- (In reply to Aldy Hernandez from comment #4) > Can you try with -fno-thread-jumps to make sure its really the threader at > play? -fno-thread-jumps fixes the bug. > If so, you could try to narrow it down to the

[Bug tree-optimization/102622] [12 Regression] Wrong code with -O3 for skylake-avx512 and icelake-server by r12-3903

2021-10-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 --- Comment #5 from H.J. Lu --- (In reply to Aldy Hernandez from comment #4) > (In reply to Andrew Pinski from comment #3) > > (In reply to Andrew Pinski from comment #2) > > > Here is a slightly more reduced testcase (without the reasonable

[Bug target/102625] [meta-bug] -mcmodel=large can't link

2021-10-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102625 --- Comment #1 from H.J. Lu --- 1. Need large model crtbegin*.o and crtend*.o. 2. Need large mode libgcc.a, libgcc_eh.a and libgcov.a. 3. Need large mode lib*.a if we want to link with lib*.a 4. Need the large model libc.a if we want to support

[Bug target/102625] [meta-bug] -mcmodel=large can't link

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

[Bug target/96339] [SVE] Optimise svlast[ab]

2021-10-06 Thread prathamesh3492 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96339 prathamesh3492 at gcc dot gnu.org changed: What|Removed |Added CC||prathamesh3492 at gcc

[Bug c++/98056] coroutines: ICE tree check: expected record_type or union_type or qual_union_type, have array_type since r11-2183-g0f66b8486cea8668

2021-10-06 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98056 --- Comment #14 from Iain Sandoe --- (In reply to Avi Kivity from comment #13) > In current master (90c3a62272313bb08cd5d9a948ff2d71af73b294), we don't ICE, > but instead get this error: > > coroutine-initializer-list.cc: In member function

[Bug fortran/56659] Segfault due to missing libcpp error handler for "gfortran -cpp"

2021-10-06 Thread kapinos at rz dot rwth-aachen.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56659 --- Comment #5 from Paul --- Just tried all versions of gfortran available up to 10.2.0: the very same 'internal compiler error' is still reported using the initial reproducer. May that be connected to the old Linux we're using (CentOS 7.8)?

[Bug c++/98056] coroutines: ICE tree check: expected record_type or union_type or qual_union_type, have array_type since r11-2183-g0f66b8486cea8668

2021-10-06 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98056 --- Comment #13 from Avi Kivity --- In current master (90c3a62272313bb08cd5d9a948ff2d71af73b294), we don't ICE, but instead get this error: coroutine-initializer-list.cc: In member function ‘task task::e()’: coroutine-initializer-list.cc:23:3:

[Bug rtl-optimization/102627] [11/12 Regression] wrong code with "-O1"

2021-10-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102627 --- Comment #3 from Jakub Jelinek --- The assembly difference r11-8007 to r11-8008 is: --- pr102627.s 2021-10-06 06:32:46.0 -0400 +++ pr102627.s 2021-10-06 06:33:00.0 -0400 @@ -77,10 +77,10 @@ main: movq%rdx, %rcx

[Bug libstdc++/93059] char and char8_t does not talk with each other with memcpy. std::copy std::copy_n, std::fill, std::fill_n, std::uninitialized_copy std::uninitialized_copy_n, std::fill, std::unin

2021-10-06 Thread m.cencora at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93059 m.cencora at gmail dot com changed: What|Removed |Added CC||m.cencora at gmail dot com

[Bug rtl-optimization/102627] [11/12 Regression] wrong code with "-O1"

2021-10-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102627 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2021-10-06 Target Milestone|---

[Bug tree-optimization/102571] FAIL: libgomp.c/../libgomp.c-c++-common/atomic-21.c execution test

2021-10-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102571 --- Comment #4 from Jakub Jelinek --- Workaround committed, so for OpenMP it shouldn't trigger anymore. But for int foo (char *p) { long double l = 0.0; __builtin_clear_padding (); return __builtin_memcpy (, p, sizeof (l)); } it still

[Bug tree-optimization/102627] wrong code with "-O1"

2021-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102627 --- Comment #1 from Richard Biener --- Even with plain -O1 I see the wrong 0 result, -O0 and -O2 are fine. Testcase that aborts: int a, f, l, m, q, c, d, g; long b, e; struct g { signed h; signed i; unsigned j; unsigned k; }; unsigned

[Bug other/102605] address instruction from -fdump-tree-*-gimple doesn't work with -fgimple

2021-10-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102605 --- Comment #8 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:90c3a62272313bb08cd5d9a948ff2d71af73b294 commit r12-4208-g90c3a62272313bb08cd5d9a948ff2d71af73b294 Author: Richard Biener Date:

[Bug c++/98940] Implement C++23 language features

2021-10-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98940 Bug 98940 depends on bug 102612, which changed state. Bug 102612 Summary: [C++23] P2242R3 - Non-literal variables (and labels and gotos) in constexpr functions https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102612 What|Removed

[Bug c++/102612] [C++23] P2242R3 - Non-literal variables (and labels and gotos) in constexpr functions

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

[Bug c++/102624] testcase lambda-uneval11.C causes cc1plus segment fault

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

[Bug tree-optimization/102571] FAIL: libgomp.c/../libgomp.c-c++-common/atomic-21.c execution test

2021-10-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102571 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ba837323dbda2bca5a1c8a4c78092a88241dcfa3 commit r12-4207-gba837323dbda2bca5a1c8a4c78092a88241dcfa3 Author: Jakub Jelinek Date:

[Bug tree-optimization/102622] [12 Regression] Wrong code with -O3 for skylake-avx512 and icelake-server by r12-3903

2021-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug target/102588] ICE: in smallest_mode_for_size, at stor-layout.c:356

2021-10-06 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102588 Eric Botcazou changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc dot gnu.org

[Bug fortran/102621] [12 Regression] ICE in convert_nonlocal_reference_op, at tree-nested.c:1166

2021-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102621 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0

[Bug fortran/102620] [12 Regression] ICE in gfc_get_array_span, at fortran/trans-array.c:865

2021-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102620 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug fortran/102619] [10/11/12 Regression] ICE in gfc_conv_descriptor_dtype, at fortran/trans-array.c:215

2021-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102619 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug target/102588] ICE: in smallest_mode_for_size, at stor-layout.c:356 when building openorienteering-mapper

2021-10-06 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102588 Eric Botcazou changed: What|Removed |Added Component|middle-end |target --- Comment #6 from Eric

[Bug tree-optimization/102608] [12 regression] Recent change to VN causes bogus Wuninitialized warnings & kernel build failures

2021-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102608 Richard Biener changed: What|Removed |Added Version|11.0|12.0 Last reconfirmed|

[Bug tree-optimization/102627] New: wrong code with "-O1"

2021-10-06 Thread suochenyao at 163 dot com via Gcc-bugs
nu Configured with: ../configure --prefix=/data/bin/gcc-dev/ --disable-multilib --enable-languages=c,c++ Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20211006 (experimental) (GCC) git ver:

  1   2   >