[Bug tree-optimization/102684] [missed optimization] std::min_element / ranges::min_element does not get optimized away with std::gcd

2021-10-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102684 --- Comment #4 from Andrew Pinski --- Here is what optimized looks like on the trunk (after the main->f change): [local count: 1073741824]: _54 = operator new (16); MEM [(char * {ref-all})_54] = 0xa000600040002; [local co

[Bug tree-optimization/102684] [missed optimization] std::min_element / ranges::min_element does not get optimized away with std::gcd

2021-10-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102684 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-10-12 Status|UNCONFIRM

[Bug middle-end/102697] [Diagnostics] overflow warning missing after O2 vectorization.

2021-10-12 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102697 --- Comment #1 from Hongtao.liu --- Change i to 0, still missing warning after vectorization before vectorization void max_B6_B4 (int i, struct B4_B6 * pb4_b6) { char * d; char * q; char * p; [local count: 1073741824]: [../test4.c:

[Bug target/102483] Reduction of 4 chars can be improved

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102483 --- Comment #5 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:73c535a00bc4dfe9a939cd80facbe79a929cab3e commit r12-4339-g73c535a00bc4dfe9a939cd80facbe79a929cab3e Author: liuhongt Date: Sat Oct

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

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102628 --- Comment #1 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:342aedf0e5f324cc2fb026466a8cc5cc7f839183 commit r12-4341-g342aedf0e5f324cc2fb026466a8cc5cc7f839183 Author: Jakub Jelinek Date: T

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

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102668 --- Comment #1 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:342aedf0e5f324cc2fb026466a8cc5cc7f839183 commit r12-4341-g342aedf0e5f324cc2fb026466a8cc5cc7f839183 Author: Jakub Jelinek Date: T

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

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

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

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

[Bug pch/45471] ICE with PCH and differening strict-aliasing settings

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

[Bug middle-end/102700] New: [Diagnostics] uninitialized warning missing after O2 vectorization.

2021-10-12 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102700 Bug ID: 102700 Summary: [Diagnostics] uninitialized warning missing after O2 vectorization. Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: diagnostic

[Bug middle-end/102700] [Diagnostics] uninitialized warning missing after O2 vectorization.

2021-10-12 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102700 --- Comment #1 from Hongtao.liu --- Maybe i should i -fno-tree-vectorize to this testcase.

[Bug fortran/102541] [12 Regression] runtime error: load of value 208393040, which is not a valid value for type 'ar_type' since r12-3897-g00f6de9c69119594f7dad3bd525937c94c8200d0

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102541 --- Comment #1 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:eb92cd57a1ebe7cd7589bdbec34d9ae337752ead commit r12-4346-geb92cd57a1ebe7cd7589bdbec34d9ae337752ead Author: Tobias Burnus Date: T

[Bug target/102688] [12 regression] gcc.dg/ipa/iinline-attr.c fails after r12-4288

2021-10-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102688 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug middle-end/80375] [5/6 Regression] ICE in expand_expr_real_2, at expr.c:9382 with -ftrapv

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

[Bug target/45683] Segmentation fault on large unsigned integer values in C99 mode

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

[Bug target/45683] Segmentation fault on large unsigned integer values in C99 mode

2021-10-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45683 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |7.0 --- Comment #6 from Andrew Pinski -

[Bug fortran/102698] omp atomic capture Abnormal results after running multiple times

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

[Bug fortran/102701] New: CLASS (polymorphism) + symbol/expression attribute – wrong attribute status (audit task)

2021-10-12 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102701 Bug ID: 102701 Summary: CLASS (polymorphism) + symbol/expression attribute – wrong attribute status (audit task) Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug fortran/102541] [12 Regression] runtime error: load of value 208393040, which is not a valid value for type 'ar_type' since r12-3897-g00f6de9c69119594f7dad3bd525937c94c8200d0

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

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2021-10-12 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 102541, which changed state. Bug 102541 Summary: [12 Regression] runtime error: load of value 208393040, which is not a valid value for type 'ar_type' since r12-3897-g00f6de9c69119594f7dad3bd525937c94c8200d0 https://gcc.

[Bug fortran/102698] omp atomic capture Abnormal results after running multiple times

2021-10-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102698 --- Comment #3 from Jakub Jelinek --- Just one extra note: !$omp atomic capture x(idx(i), idy(i)) = ior(x(idx(i), idy(i)), fun(i)) o(idx(i), idy(i)) = x(idx(i), idy(i)) !$omp end atomic is really (under the hood): temp_expr =

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

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102588 --- Comment #8 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:a1a7d094307080c3d994209457f732005f59fa6a commit r12-4348-ga1a7d094307080c3d994209457f732005f59fa6a Author: Eric Botcazou Date: T

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

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102588 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:1cedb519613006014eeb1a7464a5fbc3509a3a63 commit r11-9098-g1cedb519613006014eeb1a7464a5fbc3509a3a63 Author: Eric Botcazou

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

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102588 --- Comment #10 from CVS Commits --- The releases/gcc-10 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:bde91c72cb2cc47cd169d2a59470177dd7a1d2b9 commit r10-10180-gbde91c72cb2cc47cd169d2a59470177dd7a1d2b9 Author: Eric Botcazou

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

2021-10-12 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 Resolution|--- |FIXED Target Milestone|---

[Bug fortran/54322] [OOP] Wrong TARGET-attribute handling with CLASS IS/TYPE IS

2021-10-12 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54322 Tobias Burnus changed: What|Removed |Added Keywords||rejects-valid --- Comment #2 from Tobias

[Bug c++/102496] [11 regression] extern __thread and thread_local declaration in function scope produces a non-TLS reference

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

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

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102667 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:2560bab6ceb7c1eb7c5cdadb5f0a608ac166b829 commit r11-9099-g2560bab6ceb7c1eb7c5cdadb5f0a608ac166b829 Author: Jonathan Wake

[Bug libstdc++/102280] span's range deduction guide is missing ranges::contiguous_range constraint

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102280 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:95d404d85c53e4ab821ac28cbbbedf0d68cac8da commit r11-9102-g95d404d85c53e4ab821ac28cbbbedf0d68cac8da Author: Jonathan Wake

[Bug libstdc++/102270] std::tuple<>::swap missing constexpr specifier

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102270 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:63d91069ba8a9f1dc8bfa56ebfc10903a999f1cb commit r11-9104-g63d91069ba8a9f1dc8bfa56ebfc10903a999f1cb Author: Jonathan Wake

[Bug libstdc++/102270] std::tuple<>::swap missing constexpr specifier

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102270 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:9c2eea2841aa2ca165b9055763fffcee5008bf83 commit r11-9105-g9c2eea2841aa2ca165b9055763fffcee5008bf83 Author: Jonathan Wake

[Bug libstdc++/102074] include/bits/atomic_timed_wait.h:215: possible missing return ?

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102074 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:aeee9251c64fe59c3e548e843f08bbda302cb08b commit r11-9106-gaeee9251c64fe59c3e548e843f08bbda302cb08b Author: Jonathan Wake

[Bug libstdc++/99876] std::filesystem::absolute is inefficient

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99876 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:7df66a0c95a6b3678c73385969c1395a8aab2bd6 commit r11-9107-g7df66a0c95a6b3678c73385969c1395a8aab2bd6 Author: Jonathan Wakel

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

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101761 --- Comment #16 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:90a4981e0951687056ec4735cfd3043b35a23502 commit r11-9109-g90a4981e0951687056ec4735cfd3043b35a23502 Author: Thomas Rodge

[Bug libstdc++/102425] std::error_code() does not compare equal to std::error_condition()

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102425 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:da206878f64ef66b1f7527c4d87e8baf9a5c5bfd commit r11-9110-gda206878f64ef66b1f7527c4d87e8baf9a5c5bfd Author: Jonathan Wake

[Bug tree-optimization/101923] std::function's move ctor is slower than the copy one for empty source objects

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101923 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:73b0f810a17a5f529fc8342a2df31276d3538851 commit r11-9111-g73b0f810a17a5f529fc8342a2df31276d3538851 Author: Jonathan Wak

[Bug libstdc++/101870] std::lerp is missing Arithmetic overloads

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101870 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:371e12a7fd0295251340eabae77dd060577054c3 commit r11-9113-g371e12a7fd0295251340eabae77dd060577054c3 Author: Jonathan Wake

[Bug libstdc++/101960] std::tuple with an array element is rejected as a named return type

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101960 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:00967465fe8093661a4d42356821eeb04170e09d commit r11-9116-g00967465fe8093661a4d42356821eeb04170e09d Author: Jonathan Wake

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

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102535 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:7b4e6d75b18dbb52bf507dbfd4c8e694e476d2af commit r11-9120-g7b4e6d75b18dbb52bf507dbfd4c8e694e476d2af Author: Jonathan Wake

[Bug libstdc++/101870] std::lerp is missing Arithmetic overloads

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

[Bug tree-optimization/102572] [11/12 Regression] ICE for skx in vect_build_gather_load_calls, at tree-vect-stmts.c:2835 since r11-3070-g783dc66f9ccb0019

2021-10-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102572 --- Comment #5 from Richard Biener --- The to be vectorized IL is [local count: 118111600]: # i_21 = PHI _2 = (int) i_21; _32 = &(*d_16(D))[_2]; _3 = .MASK_LOAD (_32, 32B, h_15(D)); _5 = _3 != 0; _23 = _5 & h_15(D); prephitmp_

[Bug fortran/102698] omp atomic capture Abnormal results after running multiple times

2021-10-12 Thread han.wu--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102698 --- Comment #4 from han.wu --- Thank you very much for your prompt reply! @Jakub Jelinek One thing I don't quite understand is that if we modify the test case as suggested as the extra note, then the value of temp_v may vary at each execution, t

[Bug fortran/102698] omp atomic capture Abnormal results after running multiple times

2021-10-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102698 --- Comment #5 from Jakub Jelinek --- !$omp atomic capture v = x x = ior(x, expr) !$omp end atomic etc. is conceptually similar to !$omp atomic load v = x !$omp end atomic !$omp atomic update x = ior(x, expr) !$omp end atomic except that the cap

[Bug fortran/102685] [12 Regression] ICE in output_constructor_regular_field, at varasm.c:5514 since r12-4278-g74ccca380cde5e79

2021-10-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102685 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Sum

[Bug tree-optimization/102572] [11/12 Regression] ICE for skx in vect_build_gather_load_calls, at tree-vect-stmts.c:2835 since r11-3070-g783dc66f9ccb0019

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102572 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:9f12a45ef147e563f099c24c293830727e8204cc commit r12-4350-g9f12a45ef147e563f099c24c293830727e8204cc Author: Richard Biener Date:

[Bug fortran/102686] [PDT] ICE in check_host_association, at fortran/resolve.c:6055

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

[Bug tree-optimization/102696] [12 Regression] ICE in vect_build_slp_tree, at tree-vect-slp.c:1551 for skylake-avx512 and icelake-server

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102696 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:d1dcaa31453fa080a27938b064e53f02272d4aa1 commit r12-4351-gd1dcaa31453fa080a27938b064e53f02272d4aa1 Author: Richard Biener Date:

[Bug tree-optimization/102572] [11 Regression] ICE for skx in vect_build_gather_load_calls, at tree-vect-stmts.c:2835 since r11-3070-g783dc66f9ccb0019

2021-10-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102572 Richard Biener changed: What|Removed |Added Known to work||12.0 Summary|[11/12 Regress

[Bug tree-optimization/102696] [12 Regression] ICE in vect_build_slp_tree, at tree-vect-slp.c:1551 for skylake-avx512 and icelake-server

2021-10-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102696 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug demangler/102702] New: libiberty: heap/stack buffer overflow when decoding user input

2021-10-12 Thread contact at lsferreira dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102702 Bug ID: 102702 Summary: libiberty: heap/stack buffer overflow when decoding user input Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal

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

2021-10-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102543 --- Comment #8 from Richard Biener --- I would mostly expect less peeling for alignment being done (and thus slightly smaller code size with the issue fixed).

[Bug demangler/102702] libiberty: heap/stack buffer overflow when decoding user input

2021-10-12 Thread contact at lsferreira dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102702 --- Comment #1 from Luís Ferreira --- Submitted patch: https://gcc.gnu.org/pipermail/gcc-patches/2021-September/579985.html

[Bug c++/101480] [11 Regression] Miscompiled code involving operator new

2021-10-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101480 --- Comment #23 from Jonathan Wakely --- The first thing a delete expression does is invoke the destructor, after that there is no object anyway.

[Bug lto/102649] GCC 9.3.1 LTO bug -- incorrect function call, bad stack arguments pushed

2021-10-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102649 --- Comment #3 from Martin Liška --- All right, so being in the described situation I would recommend the following steps: 1) please try bisecting GCC revisions and find the first on that fixed the issue in between version 9.x and 10.x release.

[Bug c++/101480] [11 Regression] Miscompiled code involving operator new

2021-10-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101480 --- Comment #24 from Richard Biener --- (In reply to Jonathan Wakely from comment #23) > The first thing a delete expression does is invoke the destructor, after > that there is no object anyway. The situation where we avoid the escape only is

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

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

[Bug tree-optimization/102703] New: [12 Regression] Dead Code Elimination Regression at -O3

2021-10-12 Thread theodort at inf dot ethz.ch via Gcc-bugs
Using built-in specs. Target: x86_64-pc-linux-gnu Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20211012 (experimental) (GCC) Started with https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=2e96b5f14e4025691b57d2301d71aa6092ed44bc (same as https://gcc.gnu.o

[Bug c++/102704] New: NRVO for throw expression

2021-10-12 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102704 Bug ID: 102704 Summary: NRVO for throw expression Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee

[Bug c++/102691] rvalue reference overload in not preferred over lvalue reference

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

[Bug c++/102283] Inconsistent/wrong overload resolution when using an initializer list and a defaulted template parameter

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

[Bug tree-optimization/102705] New: [12 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2021-10-12 Thread theodort at inf dot ethz.ch via Gcc-bugs
cfi_def_cfa_offset 8 ret .cfi_endproc gcc-trunk -v Using built-in specs. Target: x86_64-pc-linux-gnu Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20211012 (experimental) (GCC) It started with https://gcc.gnu.org/git/?

[Bug tree-optimization/102703] [12 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2021-10-12 Thread theodort at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102703 --- Comment #1 from Theodoros Theodoridis --- (11.2.0 at -O3 can eliminate the call to foo but trunk at -O3 cannot)

[Bug c++/102283] Inconsistent/wrong overload resolution when using an initializer list and a defaulted template parameter

2021-10-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102283 --- Comment #7 from Patrick Palka --- (In reply to Fedor Chelnokov from comment #0 in PR102691) > This code is valid: > ``` > struct Foo {}; > struct Bar {}; > > constexpr int Baz(const Foo&) { return 0; } > constexpr int Baz(Bar&&) { return 1;

[Bug tree-optimization/102703] [12 Regression] Dead Code Elimination Regression at -O3 since r12-2591-g2e96b5f14e402569

2021-10-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102703 Martin Liška changed: What|Removed |Added Summary|[12 Regression] Dead Code |[12 Regression] Dead Code

[Bug tree-optimization/102705] [12 Regression] Dead Code Elimination Regression at -O3 since r12-2637-g145bc41dae7c7bfa093d61e77346f98e6a595a0e

2021-10-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102705 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Ever confi

[Bug tree-optimization/102706] New: [12 regression] -O2 vectorization causes regression in Warray-bounds-48.c on many targets

2021-10-12 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102706 Bug ID: 102706 Summary: [12 regression] -O2 vectorization causes regression in Warray-bounds-48.c on many targets Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/102707] New: template coroutine generated code failed

2021-10-12 Thread netcan1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102707 Bug ID: 102707 Summary: template coroutine generated code failed Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/102707] template coroutine generated code failed

2021-10-12 Thread netcan1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102707 --- Comment #1 from Net Can --- the code is compiled success in msvc

[Bug c++/102281] -ftrivial-auto-var-init=zero causes ice

2021-10-12 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102281 --- Comment #11 from qinzhao at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #8) > Sure, you can, but just note that it is conservative and fast, it will > return true even for types that don't have any padding. > But for double, _

[Bug fortran/102708] New: Improve ''array temporary was created for argument" diagnostic

2021-10-12 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102708 Bug ID: 102708 Summary: Improve ''array temporary was created for argument" diagnostic Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: diagnostic

[Bug fortran/102699] Stream access input/output

2021-10-12 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102699 --- Comment #1 from kargl at gcc dot gnu.org --- (In reply to xin liu from comment #0) > > is it a bug or is there something wrong with my understanding? I think you may be tripped up by "12.3.3.4 Stream access" where one finds P. 213 Whil

[Bug c++/102281] -ftrivial-auto-var-init=zero causes ice

2021-10-12 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102281 --- Comment #12 from qinzhao at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #8) > and if you have a variable that isn't addressable, you need to figure out > what to do. I think it might be easiest not to clear anything, another

[Bug c++/102709] New: ICE: in build_function_type, at tree.c:7304

2021-10-12 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102709 Bug ID: 102709 Summary: ICE: in build_function_type, at tree.c:7304 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/102710] New: ICE: in build_function_type, at tree.c:7304

2021-10-12 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102710 Bug ID: 102710 Summary: ICE: in build_function_type, at tree.c:7304 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug middle-end/102697] [12 Regression] overflow warning missing after -O2 vectorization

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

[Bug c/102711] New: Infinite loop with extern calls removed with -O2 or higher

2021-10-12 Thread andy.koppe at analog dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102711 Bug ID: 102711 Summary: Infinite loop with extern calls removed with -O2 or higher Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/102181] std::advance and std::views::iota don't work

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102181 --- Comment #7 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:d9dfd7ad3e0196f60a3fc6df6d65a40fb905409f commit r12-4355-gd9dfd7ad3e0196f60a3fc6df6d65a40fb905409f Author: Jonathan Wakely Date:

[Bug libstdc++/101960] std::tuple with an array element is rejected as a named return type

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101960 --- Comment #7 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:7481021364e75ba583972e15ed421a53988368ea commit r12-4356-g7481021364e75ba583972e15ed421a53988368ea Author: Jonathan Wakely Date:

[Bug c++/102710] ICE: in build_function_type, at tree.c:7304

2021-10-12 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102710 康桓瑋 changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug c++/102709] ICE: in build_function_type, at tree.c:7304

2021-10-12 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102709 --- Comment #1 from 康桓瑋 --- *** Bug 102710 has been marked as a duplicate of this bug. ***

[Bug libstdc++/102712] New: std::optional::operator* should assert on unset value

2021-10-12 Thread ott at fb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102712 Bug ID: 102712 Summary: std::optional::operator* should assert on unset value Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug tree-optimization/102711] [9/10/11 Regression] CDDCE removes condition that might lead to an infinite loop causing an unconditional infinite loop

2021-10-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102711 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.5 --- Comment #1 from Andrew Pinski

[Bug libstdc++/102712] std::optional::operator* should assert on unset value

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

[Bug libstdc++/102712] std::optional::operator* should assert on unset value

2021-10-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102712 --- Comment #2 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > Just compile with -D_GLIBCXX_ASSERTIONS Or the more heavyweight -D_GLIBCXX_DEBUG which implies _GLIBCXX_ASSERTIONS too.

[Bug tree-optimization/102711] [9/10/11 Regression] CDDCE removes condition that might lead to an infinite loop causing an unconditional infinite loop

2021-10-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102711 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/102712] std::optional::operator* should assert on unset value

2021-10-12 Thread ott at fb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102712 --- Comment #3 from Giuseppe Ottaviano --- Oh well this is embarrassing, I was looking at _Optional_payload_base::_M_get() instead of _Optional_base_impl::_M_get() . Sorry for the noise and thanks for fixing this 4 years ago!

[Bug libstdc++/102181] [DR 3197] std::advance and std::views::iota don't work

2021-10-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102181 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|SUSPENDED Summary|std::adv

[Bug c++/102709] [11/12 Regression] ICE: in build_function_type, at tree.c:7304

2021-10-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102709 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Known to work|

[Bug target/99723] [11/12 Regression] arm: ICE in build_function_type during selftests

2021-10-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99723 Andrew Pinski changed: What|Removed |Added Summary|arm: ICE in |[11/12 Regression] arm: ICE

[Bug target/82524] [7/8 Regression] expensive-optimizations produces wrong results

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524 --- Comment #21 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:b37351e3279d192d5d4682f002abe5b2e133bba6 commit r12-4359-gb37351e3279d192d5d4682f002abe5b2e133bba6 Author: Uros Bizjak Date: Tue O

[Bug target/85730] complex code for modifying lowest byte in a 4-byte vector

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85730 --- Comment #10 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:b37351e3279d192d5d4682f002abe5b2e133bba6 commit r12-4359-gb37351e3279d192d5d4682f002abe5b2e133bba6 Author: Uros Bizjak Date: Tue O

[Bug libstdc++/101960] std::tuple with an array element is rejected as a named return type

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101960 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:e748216c237cff2915390e9653de2db63b2161ac commit r11-9121-ge748216c237cff2915390e9653de2db63b2161ac Author: Jonathan Wake

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

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102667 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:be3fbe792444bc750a8a1b37481bac9a84528949 commit r10-10181-gbe3fbe792444bc750a8a1b37481bac9a84528949 Author: Jonathan Wak

[Bug libstdc++/102280] span's range deduction guide is missing ranges::contiguous_range constraint

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102280 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:1a27df25a71bb0d6a5dfb0162d1867d308f8f33f commit r10-10184-g1a27df25a71bb0d6a5dfb0162d1867d308f8f33f Author: Jonathan Wak

[Bug libstdc++/99876] std::filesystem::absolute is inefficient

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99876 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:154316697dbea9ba96bc14680b642b3ae35dadbd commit r10-10186-g154316697dbea9ba96bc14680b642b3ae35dadbd Author: Jonathan Wake

[Bug libstdc++/102425] std::error_code() does not compare equal to std::error_condition()

2021-10-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102425 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:49f0936bdcdbad9903c3a1e9342205fd27cb8596 commit r10-10188-g49f0936bdcdbad9903c3a1e9342205fd27cb8596 Author: Jonathan Wak

[Bug libstdc++/102280] span's range deduction guide is missing ranges::contiguous_range constraint

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

[Bug libstdc++/99876] std::filesystem::absolute is inefficient

2021-10-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99876 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/102425] std::error_code() does not compare equal to std::error_condition()

2021-10-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102425 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |9.5 --- Comment #6 from Jonathan Wake

[Bug tree-optimization/102706] [12 regression] -O2 vectorization causes regression in Warray-bounds-48.c on many targets

2021-10-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102706 Martin Sebor changed: What|Removed |Added CC||crazylht at gmail dot com Keyw

  1   2   >