[Bug tree-optimization/102676] Failure to optimize out malloc/nothrow allocation that's only used for bool checking

2021-10-09 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102676 --- Comment #1 from Andreas Schwab --- Why is malloc(1) always true?

[Bug tree-optimization/102622] [9/10/12 Regression] Wrong code with -O1 and above due to phiopt and signed one bit integer types

2021-10-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[Bug tree-optimization/102676] New: Failure to optimize out malloc/nothrow allocation that's only used for bool checking

2021-10-09 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102676 Bug ID: 102676 Summary: Failure to optimize out malloc/nothrow allocation that's only used for bool checking Product: gcc Version: 12.0 Status: UNCONFIRMED Sev

[Bug ada/100486] Ada build fails for 32bit Windows

2021-10-09 Thread gcc_bugzilla at axeitado dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486 --- Comment #16 from Óscar Fuentes --- With g++ 11.2 mingw-w64-i686 a simple test like this crashes: int main() { try { throw 13; } catch(...) { return 1; } return 0; } $ g++ foo.cpp $ ./a.exe terminate called after throwing

[Bug tree-optimization/102622] [9/10/12 Regression] Wrong code with -O1 and above due to phiopt and signed one bit integer types

2021-10-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 --- Comment #18 from Andrew Pinski --- Created attachment 51579 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51579&action=edit Patch which I am testing Patch which I am testing, it works for the testcase but I have not done a full boots

[Bug tree-optimization/102622] [9/10/12 Regression] Wrong code with -O1 and above due to phiopt and signed one bit integer types

2021-10-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 Andrew Pinski changed: What|Removed |Added Target Milestone|12.0|9.5 Known to work|9.3.0

[Bug bootstrap/102675] [12 regression] Bootstrap fails in libsanitizer: 'MD5_DIGEST_STRING_LENGTH' was not declared in this scope

2021-10-09 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102675 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug bootstrap/102675] New: [12 regression] Bootstrap fails in libsanitizer: 'MD5_DIGEST_STRING_LENGTH' was not declared in this scope

2021-10-09 Thread gerald at pfeifer dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102675 Bug ID: 102675 Summary: [12 regression] Bootstrap fails in libsanitizer: 'MD5_DIGEST_STRING_LENGTH' was not declared in this scope Product: gcc Version: unknown

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

2021-10-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 --- Comment #16 from Andrew Pinski --- Here is a testcase without avx-512f usage: struct f{signed t:1;}; int g(struct f *a, int t) __attribute__((noipa)); int g(struct f *a, int t) { if (t) a->t = -1; else a->t = 0; int t

[Bug tree-optimization/102666] Wrong loop optimization for unsigned types after r9-4145

2021-10-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102666 --- Comment #3 from Andrew Pinski --- *** Bug 102673 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/102673] [9 Regression] Wrong code with -O due to adjust_cond_for_loop_until_wrap

2021-10-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102673 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |DUPLICATE --- Comment #5 from Andrew Pi

[Bug middle-end/102674] internal compiler error: on fpclassify(_Decimal32)

2021-10-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102674 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug middle-end/102674] internal compiler error: on fpclassify(_Decimal32)

2021-10-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102674 Andrew Pinski changed: What|Removed |Added Known to fail||4.4.7 --- Comment #1 from Andrew Pinski

[Bug tree-optimization/102673] [9 Regression] Wrong code with -O due to adjust_cond_for_loop_until_wrap

2021-10-09 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102673 ibuclaw at gcc dot gnu.org changed: What|Removed |Added Resolution|DUPLICATE |FIXED --- Comment #4 from i

[Bug c/102674] New: internal compiler error: on fpclassify(_Decimal32)

2021-10-09 Thread kamilcukrowski at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102674 Bug ID: 102674 Summary: internal compiler error: on fpclassify(_Decimal32) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug tree-optimization/102666] Wrong loop optimization for unsigned types after r9-4145

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

[Bug tree-optimization/102673] [9 Regression] Wrong code with -O due to adjust_cond_for_loop_until_wrap

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

[Bug tree-optimization/102673] [9 Regression] Wrong code with -O due to adjust_cond_for_loop_until_wrap

2021-10-09 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102673 --- Comment #2 from ibuclaw at gcc dot gnu.org --- (In reply to ibuclaw from comment #0) > Bisected, and the commit that changed behaviour was the fix for pr84648. Commit was r9-4145.

[Bug tree-optimization/102673] [9 Regression] Wrong code with -O due to adjust_cond_for_loop_until_wrap

2021-10-09 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102673 --- Comment #1 from ibuclaw at gcc dot gnu.org --- Since pr101145, the function this now happens in is number_of_iterations_until_wrap.

[Bug tree-optimization/102673] New: [9 Regression] Wrong code with -O due to adjust_cond_for_loop_until_wrap

2021-10-09 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102673 Bug ID: 102673 Summary: [9 Regression] Wrong code with -O due to adjust_cond_for_loop_until_wrap Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/41244] "&data[i] - data" isn't converted to "i"

2021-10-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41244 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug target/102672] [AArch64] Failure to optimize to using stp instead of 2 strs when possible

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

[Bug target/102672] [AArch64] Failure to optimize to using stp instead of 2 strs when possible

2021-10-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102672 --- Comment #2 from Andrew Pinski --- There might be another bugs similar to this already too.

[Bug target/102672] [AArch64] Failure to optimize to using stp instead of 2 strs when possible

2021-10-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102672 --- Comment #1 from Andrew Pinski --- Padding bytes are not zero in some cases and this is the case here.

[Bug target/102672] New: [AArch64] Failure to optimize to using stp instead of 2 strs when possible

2021-10-09 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102672 Bug ID: 102672 Summary: [AArch64] Failure to optimize to using stp instead of 2 strs when possible Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: nor

[Bug objc++/56604] Missing obj-c++.srcman target

2021-10-09 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56604 --- Comment #4 from Eric Gallager --- Pushed to my GitHub mirror while I'm still trying to get my ssh keys sorted out: https://github.com/cooljeanius/gcc/commit/19caef57e59207d8131bf2db59519ac45fdab6aa

[Bug fortran/65454] Extending both forms of relational operators

2021-10-09 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65454 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug fortran/65454] Extending both forms of relational operators

2021-10-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65454 --- Comment #7 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:b2713e9f16d3f3597d71e4be6384ecd788684936 commit r12-4274-gb2713e9f16d3f3597d71e4be6384ecd788684936 Author: Harald Anlauf Date: Sa

[Bug c/87447] Missing -Wconversion warning in implicit conversion of unsigned long long to double

2021-10-09 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87447 --- Comment #4 from Vincent Lefèvre --- After some tests, only the comparison operators seem to be affected.

[Bug c/87447] Missing -Wconversion warning in implicit conversion of unsigned long long to double

2021-10-09 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87447 --- Comment #3 from Vincent Lefèvre --- This is probably related to the == operator (and other ones), since gcc warns on the following codes: double foo (void) { double x = (1ULL << 63) + 1; return x; } and double foo (void) { return (1U

[Bug analyzer/102671] New: -Wanalyzer-null-dereference false positive when compiling GNU Emacs

2021-10-09 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102671 Bug ID: 102671 Summary: -Wanalyzer-null-dereference false positive when compiling GNU Emacs Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal

[Bug c++/102670] New: Erroneous "missing template arguments" message for wrapper of ADL function template

2021-10-09 Thread friedkeenan at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102670 Bug ID: 102670 Summary: Erroneous "missing template arguments" message for wrapper of ADL function template Product: gcc Version: 12.0 Status: UNCONFIRMED Seve

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

2021-10-09 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 Keywords||patch --- Comment #6 from Martin Sebor

[Bug middle-end/102669] New: [12 Regression] FAIL: gnat.dg/unroll1.adb scan-rtl-dump-times loop2_unroll

2021-10-09 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102669 Bug ID: 102669 Summary: [12 Regression] FAIL: gnat.dg/unroll1.adb scan-rtl-dump-times loop2_unroll Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: nor

[Bug libstdc++/102667] Inconsistent result of std::regex_match

2021-10-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102667 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2021-10-09 Ever confirmed|0

[Bug other/102664] contrib/gcc-git-customization.sh uses echo -n, which isn't portable

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

[Bug analyzer/102662] [12 Regression] ICE in validate, at analyzer/constraint-manager.cc:581

2021-10-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102662 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug libgomp/102668] New: [12 regression] several libgomp alloc test case failures after r12-3976

2021-10-09 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102668 Bug ID: 102668 Summary: [12 regression] several libgomp alloc test case failures after r12-3976 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/102667] New: Inconsistent result of std::regex_match

2021-10-09 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102667 Bug ID: 102667 Summary: Inconsistent result of std::regex_match Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc+

[Bug tree-optimization/100740] [9/10/11/12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r9-4145

2021-10-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100740 Andrew Pinski changed: What|Removed |Added CC||davidsondfgl at gmail dot com --- Comme

[Bug tree-optimization/102666] Wrong loop optimization for unsigned types

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

[Bug target/98189] [SH] ICE and segmentation fault with -O2 and without -fno-guess-branch-probability when building gdal

2021-10-09 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98189 Eric Gallager changed: What|Removed |Added Keywords||ice-on-valid-code CC|

[Bug c/87447] Missing -Wconversion warning in implicit conversion of unsigned long long to double

2021-10-09 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87447 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug tree-optimization/102666] New: Wrong loop optimization for unsigned types

2021-10-09 Thread davidsondfgl at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102666 Bug ID: 102666 Summary: Wrong loop optimization for unsigned types Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree

[Bug other/102665] ELF-specific configure flags should be rejected on non-ELF platforms

2021-10-09 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102665 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug other/102665] New: ELF-specific configure flags should be rejected on non-ELF platforms

2021-10-09 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102665 Bug ID: 102665 Summary: ELF-specific configure flags should be rejected on non-ELF platforms Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: build

[Bug c/102661] signed integer overflow not detected in comparison since gcc-8

2021-10-09 Thread lrspam at sfr dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102661 --- Comment #3 from lrspam at sfr dot fr --- Thank you Andrew for you answer. I will therefore use -fwrapv, in order to implement overflow detection the same way I did with gcc 7.

[Bug other/102664] New: contrib/gcc-git-customization.sh uses echo -n, which isn't portable

2021-10-09 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102664 Bug ID: 102664 Summary: contrib/gcc-git-customization.sh uses echo -n, which isn't portable Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/21549] Configure options hard to find

2021-10-09 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21549 --- Comment #7 from Eric Gallager --- (In reply to Andrew Pinski from comment #1) > Confirmed, --with-pic being documented would be very nice even though it is > a generic libtool > configure option, it is most used with libstdc++ as shown by th

[Bug c++/102654] [11/12 Regression] undefined reference to `std::variant::variant

2021-10-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102654 Patrick Palka changed: What|Removed |Added Component|libstdc++ |c++ CC|

[Bug libstdc++/98677] std::regex constructor triggers valgrind under clang++ with undefined sanitizer; possible use-after-move

2021-10-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98677 --- Comment #5 from Jonathan Wakely --- Yes, I used both ubsan and valgrind, and couldn't reproduce it with any version of GCC or clang I tried, including with the headers from GCC 10.2 I might try to reproduce it on Ubuntu, but if it's specific

[Bug other/102663] New: add an install-dvi Makefile target to the toplevel Makefile and all subdirectories

2021-10-09 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102663 Bug ID: 102663 Summary: add an install-dvi Makefile target to the toplevel Makefile and all subdirectories Product: gcc Version: 12.0 URL: https://gcc.gnu.org/legacy-

[Bug other/102657] libcody makefile is missing a mostlyclean target

2021-10-09 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102657 --- Comment #1 from Eric Gallager --- It looks like it's also missing a dvi target: Doing dvi in libcody make[2]: *** No rule to make target `dvi'. Stop. make[1]: *** [dvi-libcody] Error 1 make: *** [do-dvi] Error 2

[Bug analyzer/102662] New: [12 Regression] ICE in validate, at analyzer/constraint-manager.cc:581

2021-10-09 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102662 Bug ID: 102662 Summary: [12 Regression] ICE in validate, at analyzer/constraint-manager.cc:581 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-che

[Bug bootstrap/84402] [meta] GCC build system: parallelism bottleneck

2021-10-09 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84402 --- Comment #42 from Eric Gallager --- Is this just about parallelism bottlenecks for the main build target (e.g. just `make` or `make all`), or does it apply to other Makefile targets, too? (e.g. the testsuite via `make check`, or docs via `make

[Bug libstdc++/98677] std::regex constructor triggers valgrind under clang++ with undefined sanitizer; possible use-after-move

2021-10-09 Thread egor_suvorov at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98677 --- Comment #4 from Egor Suvorov --- Note that the issue requires both UBSanitizer and Valgrind enabled simultaneously. Running with just one of them does not result in an error. The versions are ones installed in Ubuntu 20.04.3 Focal Fossa (amd

[Bug testsuite/102658] [12 regression] Many test case failures after r12-4240

2021-10-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102658 --- Comment #4 from Kewen Lin --- Created attachment 51576 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51576&action=edit rs6000-test-Adjust-test-cases-due-to-O2-vect Tested successfully on P9LE, note that it relies on r12-4273. Still

[Bug c/102661] signed integer overflow not detected in comparison since gcc-8

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

[Bug c/102661] signed integer overflow not detected in comparison since gcc-8

2021-10-09 Thread lrspam at sfr dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102661 lrspam at sfr dot fr changed: What|Removed |Added Version|9.3.0 |8.4.0 --- Comment #1 from lrspam

[Bug c/102661] New: signed integer overflow not detected in comparison since gcc-8

2021-10-09 Thread lrspam at sfr dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102661 Bug ID: 102661 Summary: signed integer overflow not detected in comparison since gcc-8 Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal

[Bug c++/102660] Valid template default parameter of a friend function is rejected

2021-10-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102660 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid --- Comment #1 from Andre

[Bug c++/102660] New: Valid template default parameter of a friend function is rejected

2021-10-09 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102660 Bug ID: 102660 Summary: Valid template default parameter of a friend function is rejected Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug testsuite/100748] [12 regression] 30_threads/jthread/95989.cc fails after r12-843

2021-10-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100748 --- Comment #7 from Jonathan Wakely --- Yes but the point of the test (and the change it is meant to be testing) is to verify it works before those changes.