[Bug libstdc++/101214] ranges::split_view​::​sentinel lacks default constructor

2021-06-27 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101214 --- Comment #2 from 康桓瑋 --- In ranges#L3367: _Iterator() requires default_initializable> = default; This constraint seems to be redundant because forward_iterator always satisfies default_initializable.

[Bug rtl-optimization/100328] IRA doesn't model matching constraint well

2021-06-27 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100328 --- Comment #6 from Kewen Lin --- Created attachment 51066 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51066=edit aarch64 XPASS failure list The patch v3 bootstrapped and regression-tested on x86_64-redhat-linux and

[Bug other/91085] fixincludes breaks

2021-06-27 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91085 --- Comment #16 from Xi Ruoyao --- (In reply to Bruce Korb from comment #15) > Obviously, "print_quote()" was needed early on (1999) and then saved for > prosperity :). Your patch is inadequate because it will have to not expand > 'linux' in a

[Bug libstdc++/101203] Remove unnecessary empty check in std::function

2021-06-27 Thread lutztonineubert at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101203 --- Comment #3 from Toni Neubert --- Thank you Jonathan for your fast answer. To sad but the shared library issue seems valid. Can shared libraries exist is a freestanding environment (like a bare-metal microcontroller running without OS)? So

[Bug rtl-optimization/100328] IRA doesn't model matching constraint well

2021-06-27 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100328 --- Comment #5 from Kewen Lin --- Created attachment 51065 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51065=edit ira: Consider matching constraint heavily with some parameter v3 The mentioned only one aarch64-linux-gnu "PASS->FAIL"

[Bug tree-optimization/101223] [11/12 Regression] evrp produces wrong code

2021-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101223 --- Comment #2 from Andrew Pinski --- Right before we have: popping range for c.0_1, restoring int VARYING But still don't see how we could get [0, 0] for the range there.

[Bug tree-optimization/101223] [11/12 Regression] evrp produces wrong code

2021-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101223 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug tree-optimization/101223] [11/12 Regression] wrong code at -Os and above on x86_64-linux-gnu

2021-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101223 Andrew Pinski changed: What|Removed |Added Summary|wrong code at -Os and above |[11/12 Regression] wrong

[Bug libstdc++/101234] Two tests require en_US.ISO-8859-15 but glibc no longer installs that by default.

2021-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101234 --- Comment #1 from Andrew Pinski --- Looks like the testsuite is incorrect, it should have been 'en_US.ISO8859-15'

[Bug libstdc++/101234] New: Two tests require en_US.ISO-8859-15 but glibc no longer installs that by default.

2021-06-27 Thread zarniwhoop at ntlworld dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101234 Bug ID: 101234 Summary: Two tests require en_US.ISO-8859-15 but glibc no longer installs that by default. Product: gcc Version: 11.1.0 Status: UNCONFIRMED

[Bug target/100648] Optimize away x<0 as mask argument of a blend for AVX512 mask

2021-06-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100648 Hongtao.liu changed: What|Removed |Added Keywords||missed-optimization

[Bug target/100648] Optimize away x<0 as mask argument of a blend for AVX512 mask

2021-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100648 --- Comment #1 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:3f1a08d9d731975d4061c306837ab28d52f37c7e commit r12-1835-g3f1a08d9d731975d4061c306837ab28d52f37c7e Author: liuhongt Date: Mon May

[Bug libstdc++/101228] tbb/task.h is Deprecated in newer TBB.

2021-06-27 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101228 --- Comment #3 from Kip Warner --- Thanks Andrew. I've opened an issue downstream: https://bugs.launchpad.net/gcc/+bug/1933775

[Bug other/91085] fixincludes breaks

2021-06-27 Thread bkorb at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91085 --- Comment #15 from Bruce Korb --- Obviously, "print_quote()" was needed early on (1999) and then saved for prosperity :). Your patch is inadequate because it will have to not expand 'linux' in a line such as: #if __has_include() In other

[Bug middle-end/19986] [meta-bug] fold missing optimizations (compared to RTL)

2021-06-27 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19986 Bug 19986 depends on bug 20517, which changed state. Bug 20517 Summary: bit shift/mask optimization potential https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20517 What|Removed |Added

[Bug tree-optimization/20517] bit shift/mask optimization potential

2021-06-27 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20517 Roger Sayle changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c/101230] [12 Regression] ice in fold_cond_expr_with_comparison

2021-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101230 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c/101230] [12 Regression] ice in fold_cond_expr_with_comparison

2021-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101230 --- Comment #4 from CVS Commits --- The master branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:37ad257c06d88fdb810be336d212c1ab54b99dad commit r12-1832-g37ad257c06d88fdb810be336d212c1ab54b99dad Author: Andrew Pinski Date:

[Bug tree-optimization/89198] GCC generates/fails to optimize unnecessary sign extension instruction

2021-06-27 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89198 Roger Sayle changed: What|Removed |Added Target Milestone|--- |11.0 Status|UNCONFIRMED

[Bug c/101230] [12 Regression] ice in fold_cond_expr_with_comparison

2021-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101230 --- Comment #3 from Andrew Pinski --- Created attachment 51064 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51064=edit Patch which I am testing Patch which is in testing.

[Bug c/101230] [12 Regression] ice in fold_cond_expr_with_comparison

2021-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101230 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 --- Comment #2 from Andrew Pinski

[Bug other/91085] fixincludes breaks

2021-06-27 Thread bkorb at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91085 --- Comment #14 from Bruce Korb --- Reworking fixfixes.c seems pretty heavy duty. I'm downloading the GCC sources now. I'll take a peek tomorrow.

[Bug libstdc++/101227] Clang++ fails to instantiate std::optional if nested type has a non-static data member initializer

2021-06-27 Thread dblaikie at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101227 David Blaikie changed: What|Removed |Added CC||dblaikie at gmail dot com --- Comment

[Bug tree-optimization/101186] predictable comparison of integer variables not folded

2021-06-27 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101186 --- Comment #5 from Aldy Hernandez --- Sorry for the slightly different IL. I had altered g() to avoid depending on stdio.h: void g (int a, int b, int x, int y) { int c = y; if (a != 0) c = x; while (b < 1000) // without this

[Bug tree-optimization/101186] predictable comparison of integer variables not folded

2021-06-27 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101186 Aldy Hernandez changed: What|Removed |Added CC||aldyh at gcc dot gnu.org,

[Bug c++/101233] New: ICE when using ::ranges::v3::to

2021-06-27 Thread 475647575 at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101233 Bug ID: 101233 Summary: ICE when using ::ranges::v3::to Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/101107] Misleading error message in aggregate initialization in CRTP base class

2021-06-27 Thread btzy1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101107 --- Comment #2 from Bernard Teo --- Hmm, I didn't realise it was brace elision - the error makes much more sense this way. Reporting the assumption (e.g. "`A` can't be initialized from `*this`, assuming brace elision") would solve the problem.

[Bug c++/101232] New: Bad error message with stray semicolon in initializer

2021-06-27 Thread tobi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101232 Bug ID: 101232 Summary: Bad error message with stray semicolon in initializer Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/101218] [12 Regression] ICE on valid code with -O3 only: Segmentation fault, vect_optimize_slp(vec_info*) since r12-1769-g82ab14927651e0ea

2021-06-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101218 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c/101230] [12 Regression] ice in fold_cond_expr_with_comparison

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

[Bug libstdc++/101231] New: _CachedPosition::_M_get() should not return {} when range adapter does not model forward_range

2021-06-27 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101231 Bug ID: 101231 Summary: _CachedPosition::_M_get() should not return {} when range adapter does not model forward_range Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c/101230] New: ice in fold_cond_expr_with_comparison

2021-06-27 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101230 Bug ID: 101230 Summary: ice in fold_cond_expr_with_comparison Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/101229] New: ICE on valid code with -O3 only: in vect_get_vec_defs_for_operand, at tree-vect-stmts.c:1450

2021-06-27 Thread cnsun at uwaterloo dot ca via Gcc-bugs
model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210627 (experimental) [master revision :18e95d5ce:461f937b47278eaa4ca3c5507c80cca26af4b015] (GCC) $ cat mutant.c int a[1024]; foo() { for (int i; i; i += 4) { int suma = a[i]; int sumb = a[i + 1]; int sumc