[Bug rtl-optimization/100377] needless stack adjustment when passing struct in register

2021-05-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100377 Richard Biener changed: What|Removed |Added Keywords||missed-optimization --- Comment #4

[Bug target/100378] [9/10/11/12 Regression] arm64: lsl + asr used instead of sxth

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

[Bug libstdc++/100381] [11/12 Regression] new static_assert((std::__is_complete_or_unbounded(...)) failure from g++ 11.1.0

2021-05-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100381 Richard Biener changed: What|Removed |Added Keywords||rejects-valid Component|c++

[Bug debug/100383] cfi sections directive detection fails with binutils 2.36

2021-05-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100383 Richard Biener changed: What|Removed |Added Version|unknown |10.3.0 CC|

[Bug debug/100383] cfi sections directive detection fails with binutils 2.36

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

[Bug target/100391] New: 128 bit arithmetic --- many unnecessary instructions when extracting smaller parts

2021-05-03 Thread zero at smallinteger dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100391 Bug ID: 100391 Summary: 128 bit arithmetic --- many unnecessary instructions when extracting smaller parts Product: gcc Version: 11.1.0 Status: UNCONFIRMED

[Bug preprocessor/100392] New: compiling result of "g++ -E -fdirectives-only" causes "error: stray ‘#’ in program" if no newline at EOF

2021-05-03 Thread mst.lo at arcor dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100392 Bug ID: 100392 Summary: compiling result of "g++ -E -fdirectives-only" causes "error: stray ‘#’ in program" if no newline at EOF Product: gcc Version: 11.1.1 Status:

[Bug tree-optimization/100393] [9/10/11/12 Regression] Very slow compilation of switch statement with thousands of cases

2021-05-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100393 --- Comment #3 from Richard Biener --- Samples: 847K of event 'cycles:u', Event count (approx.): 839745061761 Overhead Samples Command Shared Object Symbol 95.05%804298 cc1 cc1

[Bug target/100375] [12 Regression] trunk 20210501 ftbfs for nvptx-none

2021-05-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100375 --- Comment #7 from Jonathan Wakely --- I need to fix libstdc++ to accept the code with a deprecated warning, rather than reject it. I think it only rejects it with -pedantic but it should still be fixed to work until the deprecated constructor

[Bug c++/100362] [11/12 Regression] ICE with Boost.Asio async_initiate

2021-05-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100362 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/100393] New: Very slow compilation of switch statement with thousands of cases

2021-05-03 Thread curiousdannii at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100393 Bug ID: 100393 Summary: Very slow compilation of switch statement with thousands of cases Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/99651] Cannot change attributes of USE-associated intrinsic

2021-05-03 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99651 Tobias Burnus changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/100288] [11/12 Regression] g++-11 internal error and fails to precompile a concept

2021-05-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100288 --- Comment #5 from Patrick Palka --- (In reply to Frank B. Brokken from comment #4) > Dear ppalka at gcc dot gnu.org, you wrote: > > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100288 > > > > Patrick Palka changed: > > > >

[Bug libstdc++/100384] Compiling in c++17 mode breaks compilation of functions named visit()

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

[Bug libstdc++/100387] ranges::minmax compares moved-out value

2021-05-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100387 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc

[Bug tree-optimization/100382] [12 Regression] go.test/test/fixedbugs/issue16095.go hang since r12-248

2021-05-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100382 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:80bbb7ff83d81544b09820428bdd7db9f50fe362 commit r12-378-g80bbb7ff83d81544b09820428bdd7db9f50fe362 Author: Jakub Jelinek Date:

[Bug c++/100335] Using statement of a ref-qualified method from base class: method not callable on derived object

2021-05-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100335 --- Comment #8 from Jonathan Wakely --- Like I already suggested in comment 3: Either the overloads should conflict because of [over.load]/2.3 (and the definition of Derived should be ill-formed) or they should be hidden and not visible in

[Bug middle-end/100394] wrong-code with EH and pure/const functions

2021-05-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100394 --- Comment #2 from Richard Biener --- Classically it needs two DCE passes, the first removes the call LHS, the second then no longer considers the call necessary because of EH. But even with that fixed there are subsequent passes breaking

[Bug middle-end/100394] wrong-code with EH and pure/const functions

2021-05-03 Thread matz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100394 Michael Matz changed: What|Removed |Added Known to fail|3.4.6, 4.3.5| CC|

[Bug c/100395] New: Bogus -Wstringop-overflow warning

2021-05-03 Thread lavr at ncbi dot nlm.nih.gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100395 Bug ID: 100395 Summary: Bogus -Wstringop-overflow warning Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/100321] [OpenMP][nvptx, SIMT] (Con't) Reduction fails with optimization and 'loop'/'for simd' but not with 'for'

2021-05-03 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100321 --- Comment #5 from Tom de Vries --- (In reply to Tom de Vries from comment #4) > So, something like this reflects the current state: > ... > diff --git a/gcc/omp-low.c b/gcc/omp-low.c > index 7b122059c6e..a0561800977 100644 > ---

[Bug middle-end/100394] New: wrong-code with EH and pure/const functions

2021-05-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100394 Bug ID: 100394 Summary: wrong-code with EH and pure/const functions Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/100394] wrong-code with EH and pure/const functions

2021-05-03 Thread matz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100394 --- Comment #4 from Michael Matz --- That then still shows problems with the pure function and -O2, but with standard C++ this then works: struct S { int foo(int i) const { if (i) throw 42; return 0; } }; int __attribute__((noinline))

[Bug target/100217] [11/12 Regression] ICE when building valgrind testsuite with -march=z14 since r11-7552

2021-05-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100217 --- Comment #14 from CVS Commits --- The master branch has been updated by Ilya Leoshkevich : https://gcc.gnu.org/g:4f48c335d36674f90046b2823f0ac1c0545dc082 commit r12-379-g4f48c335d36674f90046b2823f0ac1c0545dc082 Author: Ilya Leoshkevich

[Bug c/100393] Very slow compilation of switch statement with thousands of cases

2021-05-03 Thread curiousdannii at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100393 --- Comment #1 from Dannii Willis --- Okay, I've confirmed the regression myself, using functions_unsafe.i: gcc-8: real 0m11.450s gcc-10: real4m46.472s And for comparison clang: real 0m0.711s

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

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

[Bug fortran/67740] Wrong association status of allocatable character pointer in derived types

2021-05-03 Thread bardeau at iram dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67740 Sebastien Bardeau changed: What|Removed |Added CC||bardeau at iram dot fr --- Comment

[Bug libgomp/100352] [11/12 Regression] libgomp.fortran/async_io_1.f90 -O0 execution test

2021-05-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100352 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:107ca5c2fd6dcb53c3cba788ae388e7e4e789ed8 commit r11-8343-g107ca5c2fd6dcb53c3cba788ae388e7e4e789ed8 Author: Tobias Burnus

[Bug tree-optimization/100393] [9/10/11/12 Regression] Very slow compilation of switch statement with thousands of cases

2021-05-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100393 --- Comment #4 from Richard Biener --- I guess that's already done, so it has to be fixed in other ways, like by keeping the partial sum when decreasing the size in for (unsigned j = 0; j < i; j++) { if (min[j].m_count

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

2021-05-03 Thread jochen447 at concept dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93644 Jochen Roemmler changed: What|Removed |Added CC||jochen447 at concept dot de ---

[Bug c++/27397] [4.2 regression] ICE on invalid template argument

2021-05-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27397 --- Comment #8 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:fd7eb4bc94cafa745eba75c64fa483a1689a5aad commit r12-380-gfd7eb4bc94cafa745eba75c64fa483a1689a5aad Author: H.J. Lu Date: Fri Feb 12

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-05-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #35 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:3f570621352970945db657455e0570208ea2d70e commit r12-381-g3f570621352970945db657455e0570208ea2d70e Author: H.J. Lu Date: Mon Mar 22

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-05-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #34 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:fd7eb4bc94cafa745eba75c64fa483a1689a5aad commit r12-380-gfd7eb4bc94cafa745eba75c64fa483a1689a5aad Author: H.J. Lu Date: Fri Feb 12

[Bug debug/100383] cfi sections directive detection fails with binutils 2.36

2021-05-03 Thread jyong at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100383 jyong at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2021-05-03

[Bug tree-optimization/100393] [9/10/11/12 Regression] Very slow compilation of switch statement with thousands of cases

2021-05-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100393 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Last reconfirmed|

[Bug libgomp/100352] [11/12 Regression] libgomp.fortran/async_io_1.f90 -O0 execution test

2021-05-03 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100352 --- Comment #9 from Tobias Burnus --- (In reply to CVS Commits from comment #8) > Follow up to PR100352, That's this PR and not the one which caused it. Correct is (comment #6): > Issue introduced for PR99529 in >

[Bug middle-end/100394] wrong-code with EH and pure/const functions

2021-05-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100394 --- Comment #1 from Richard Biener --- See also https://gcc.gnu.org/pipermail/gcc-patches/2021-May/569429.html

[Bug c++/100367] [11/12 Regression] Internal compiler error when std::lexicographical_compare_three_way third and fourth argument are reverse iterators

2021-05-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100367 Patrick Palka changed: What|Removed |Added Summary|Internal compiler error |[11/12 Regression] Internal

[Bug c/100360] scalar operation fails the compilation

2021-05-03 Thread aliaga at uji dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100360 --- Comment #4 from aliaga at uji dot es --- Hi, I have two different compiled versions of GMP. Initially, it is possible that I tried to use the wrong version, but the simplest code doesn't use GMP, therefore it doesn't matter the version

[Bug tree-optimization/100382] [12 Regression] go.test/test/fixedbugs/issue16095.go hang since r12-248

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

[Bug preprocessor/100392] [11/12 Regression] compiling result of "g++ -E -fdirectives-only" causes "error: stray ‘#’ in program" if no newline at EOF

2021-05-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100392 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Summary|compiling result

[Bug libstdc++/100384] Compiling in c++17 mode breaks compilation of functions named visit()

2021-05-03 Thread aacid at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100384 --- Comment #2 from Albert Astals Cid --- People that know more C++ than me, told me std::visit appears unconstrained to Variants...&& being actual std::variants (in case you inherited one, I guess), so std::visit, as an unconstrained perfect

<    1   2