[Bug target/91602] GCC fails to build for riscv in a combined tree due to misconfigured leb128 support

2021-07-16 Thread belyshev at depni dot sinp.msu.ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91602 Serge Belyshev changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/15684] Pointer to member function called on incomplete type should diag

2021-07-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15684 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Bug libstdc++/101307] Variable templates for type traits—corrections

2021-07-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101307 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |12.0 Status|NEW

[Bug libstdc++/101307] Variable templates for type traits—corrections

2021-07-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101307 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:da89dfc2a0cb29d3d8a4f2394eee90d150cf6185 commit r12-2344-gda89dfc2a0cb29d3d8a4f2394eee90d150cf6185 Author: Jonathan Wakely

[Bug c++/101355] compiling coroutines with ubsan emits bogus -Wmaybe-uninitialized warnings

2021-07-16 Thread daklishch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101355 --- Comment #2 from Dan Klishch --- GCC incorrectly gimplifies the program. The code that is causing the warning is in the coroutine's actor function: try { D.9829 = _ptr->__p;

[Bug middle-end/95681] False positive uninitialized variable usage in decNumberCompareTotalMag

2021-07-16 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95681 --- Comment #4 from Stefan Schulze Frielinghaus --- Running todays mainline (d97d71a1989) using options -O3 -Wall against the reduced program on x86 as well as s390x results in t.c: In function 'decNumberCompareTotalMag': t.c:55:14: warning:

[Bug middle-end/95681] False positive uninitialized variable usage in decNumberCompareTotalMag

2021-07-16 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95681 --- Comment #3 from Stefan Schulze Frielinghaus --- Created attachment 51160 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51160=edit Reduced program

[Bug tree-optimization/101466] Optimizers should fold bounds checking for -D_GLIBCXX_ASSERTIONS=1

2021-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101466 --- Comment #12 from Richard Biener --- (In reply to Richard Biener from comment #11) > With some hand-waving we could generate > > void square(unsigned t, int *tt) > { > if (t<=4) __builtin_abort(); > tt[0] = 0; > tt[1] = 0; >

[Bug tree-optimization/101466] Optimizers should fold bounds checking for -D_GLIBCXX_ASSERTIONS=1

2021-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101466 --- Comment #11 from Richard Biener --- With some hand-waving we could generate void square(unsigned t, int *tt) { if (t<=4) __builtin_abort(); tt[0] = 0; tt[1] = 0; tt[2] = 0; tt[3] = 0; tt[4] = 0; } but I don't see

[Bug tree-optimization/101466] Optimizers should fold bounds checking for -D_GLIBCXX_ASSERTIONS=1

2021-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101466 --- Comment #10 from Richard Biener --- (In reply to cqwrteur from comment #9) > (In reply to Richard Biener from comment #8) > > I don't see what we can optimize for the reduced testcases. > > void square(unsigned t, int *tt) > { > if

[Bug tree-optimization/101466] Optimizers should fold bounds checking for -D_GLIBCXX_ASSERTIONS=1

2021-07-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101466 --- Comment #9 from cqwrteur --- (In reply to Richard Biener from comment #8) > I don't see what we can optimize for the reduced testcases. void square(unsigned t, int *tt) { if (t<=0) __builtin_abort(); tt[0] = 0; if (t<=1)

[Bug tree-optimization/101466] Optimizers should fold bounds checking for -D_GLIBCXX_ASSERTIONS=1

2021-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101466 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org ---

[Bug target/101464] Replace zveroupper with vpxor

2021-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101464 --- Comment #3 from Richard Biener --- But in the long discussion involving vzeroupper and HTM aborts in glibc memory functions it came up that vpxor is _not_ properly clearing the upper state and thus does _not_ remove the penalty that

[Bug tree-optimization/101462] [12 regression] ICE on aarch64 after r12-2292

2021-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101462 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-07-16 Target Milestone|---

[Bug testsuite/101461] [12 regression] gcc.target/powerpc/fold-vec-load-builtin_vec_xl test cases fail after r12-2266

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

<    1   2