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

2021-10-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102281 --- Comment #8 from Jakub Jelinek --- (In reply to qinzhao from comment #7) > I agree that the above additional check is necessary. > > one question here is, can I use the routine "bool > clear_padding_type_may_have_padding_p (tree type)" in g

[Bug testsuite/102690] New: [12 regression] g++.dg/warn/Warray-bounds-16.C fails

2021-10-11 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102690 Bug ID: 102690 Summary: [12 regression] g++.dg/warn/Warray-bounds-16.C fails Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

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

2021-10-11 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102281 --- Comment #9 from David Binderman --- Created attachment 51587 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51587&action=edit C++ source code Another test case derived from compiling fedora source code.

[Bug tree-optimization/102690] [12 regression] g++.dg/warn/Warray-bounds-16.C fails

2021-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102690 Andrew Pinski changed: What|Removed |Added Component|testsuite |tree-optimization Target Milestone|--

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

2021-10-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 --- Comment #26 from CVS Commits --- The releases/gcc-9 branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:77867cd8185b206124dd24ce8229cc0bf144c078 commit r9-9765-g77867cd8185b206124dd24ce8229cc0bf144c078 Author: Andrew Pinski D

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

2021-10-11 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 Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/102687] [12 Regression] bootstrap ICE in insert_access, at ipa-modref-tree.h:582

2021-10-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102687 --- Comment #2 from Martin Sebor --- The patch gets rid of the ICE and I don't see any unexpected failures in the test suite, thanks!

[Bug libstdc++/89927] Inconsistent behavior in std::regex when optimized

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

[Bug libstdc++/102445] [meta-bug] std::regex issues

2021-10-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102445 Bug 102445 depends on bug 89927, which changed state. Bug 89927 Summary: Inconsistent behavior in std::regex when optimized https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89927 What|Removed |Added ---

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

2021-10-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 --- Comment #28 from CVS Commits --- The releases/gcc-11 branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:e3c06b990b2458b87f72a0c63e0de72cf69f7fc4 commit r11-9096-ge3c06b990b2458b87f72a0c63e0de72cf69f7fc4 Author: Andrew Pinski

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

2021-10-11 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102691 Bug ID: 102691 Summary: rvalue reference overload in not preferred over lvalue reference Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug analyzer/102692] New: -Wanalyzer-null-dereference false alarm with (!p || q || !p->next)

2021-10-11 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102692 Bug ID: 102692 Summary: -Wanalyzer-null-dereference false alarm with (!p || q || !p->next) Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal

[Bug c++/102693] New: ICE in tsubst related to lambdas as template default parameters

2021-10-11 Thread hq.ks at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102693 Bug ID: 102693 Summary: ICE in tsubst related to lambdas as template default parameters Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

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

2021-10-11 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102671 --- Comment #2 from eggert at cs dot ucla.edu --- I have filed what may be a related bug as GCC bug 102692.

[Bug middle-end/102453] buffer overflow by atomic built-ins not diagnosed

2021-10-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102453 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #1 from Martin Sebor

[Bug c++/102693] ICE in tsubst related to lambdas as template default parameters

2021-10-11 Thread hq.ks at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102693 hq.ks at web dot de changed: What|Removed |Added Version|unknown |9.4.0 --- Comment #1 from hq.ks at

[Bug fortran/102685] [12 Regression] ICE in output_constructor_regular_field, at varasm.c:5514

2021-10-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102685 --- Comment #3 from anlauf at gcc dot gnu.org --- Preliminary patch (untested): diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c index 0d0af39d23f..c5df42ba67a 100644 --- a/gcc/fortran/resolve.c +++ b/gcc/fortran/resolve.c @@ -1333,6 +

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

2021-10-11 Thread qing.zhao at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102281 --- Comment #10 from Qing Zhao --- > On Oct 11, 2021, at 3:29 PM, jakub at gcc dot gnu.org > wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102281 > > --- Comment #8 from Jakub Jelinek --- > (In reply to qinzhao from comment #7) >>

[Bug c/102694] New: no matching function for call when passing template-dependent template parameter to initialize literal class parameter

2021-10-11 Thread hq.ks at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102694 Bug ID: 102694 Summary: no matching function for call when passing template-dependent template parameter to initialize literal class parameter Product: gcc Versi

[Bug c++/102694] no matching function for call when passing template-dependent template parameter to initialize literal class parameter

2021-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102694 Andrew Pinski changed: What|Removed |Added Known to work||10.1.0 Keywords|

[Bug c++/102694] no matching function for call when passing template-dependent template parameter to initialize literal class parameter

2021-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102694 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug analyzer/102695] New: missing -Wanalyzer-write-to-const for writing to string, function, label, or const member

2021-10-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102695 Bug ID: 102695 Summary: missing -Wanalyzer-write-to-const for writing to string, function, label, or const member Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug analyzer/102692] -Wanalyzer-null-dereference false alarm with (!p || q || !p->next)

2021-10-11 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102692 --- Comment #1 from eggert at cs dot ucla.edu --- Sorry, forgot to mention the incorrect GCC output. Here it is: - analyzer-null-dereference-simple.i: In function ‘fix_overlays_before’: analyzer-null-dereference-simple.i:79:35: warning: deref

[Bug target/44860] Thumb ICE due to spill failure

2021-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44860 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

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

2021-10-11 Thread vsevolod.livinskij at frtk dot ru via Gcc-bugs
4-pc-linux-gnu/12.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /testing/gcc/gcc_src_master/configure --enable-multilib --prefix=/testing/gcc/bin_master --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20211011 (30cce6f65a77b8eaa22f3efff7f1ba54858106f9) (GCC)

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

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

[Bug fortran/94070] Assumed-rank arrays – bounds mishandled, SIZE/SHAPE/UBOUND/LBOUND

2021-10-11 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94070 --- Comment #11 from sandra at gcc dot gnu.org --- There are still some bugs present with class arrays. E.g., this test case ICEs: module m type :: t integer :: id real :: xyz(3) end type contains subroutine testit2p(a) class

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

2021-10-11 Thread han.wu--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102698 Bug ID: 102698 Summary: omp atomic capture Abnormal results after running multiple times Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/102699] New: Stream access input/output

2021-10-11 Thread xin.liu--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102699 Bug ID: 102699 Summary: Stream access input/output Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran A

[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-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102696 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Summary|ICE in vect_bui

[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-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102696 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug ipa/102687] [12 Regression] bootstrap ICE in insert_access, at ipa-modref-tree.h:582

2021-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102687 Andrew Pinski changed: What|Removed |Added CC||marxin at gcc dot gnu.org Target Mile

[Bug ipa/102687] [12 Regression] bootstrap ICE in insert_access, at ipa-modref-tree.h:582

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

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

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

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

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

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

2021-10-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101480 Richard Biener changed: What|Removed |Added Known to fail|11.1.0 | --- Comment #22 from Richard Biener

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

2021-10-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102684 Richard Biener changed: What|Removed |Added Keywords||missed-optimization --- Comment #1 fro

[Bug fortran/102685] [12 Regression] ICE in output_constructor_regular_field, at varasm.c:5514

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

[Bug tree-optimization/102690] [12 regression] g++.dg/warn/Warray-bounds-16.C fails

2021-10-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102690 Richard Biener changed: What|Removed |Added CC||msebor at gcc dot gnu.org,

[Bug tree-optimization/102690] [12 regression] g++.dg/warn/Warray-bounds-16.C fails

2021-10-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102690 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-10-12 Status|UNCONFIR

[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-11 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|NEW |ASSIGNED Assignee|unassigned

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

2021-10-11 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 Component|c++ |tree-optimization --- Comment #2 from A

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

2021-10-11 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 Severity|normal |enhancement

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

2021-10-11 Thread xkeviota at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102684 --- Comment #3 from Kevin K --- (In reply to Andrew Pinski from comment #2) > (In reply to Richard Biener from comment #1) > > ISTR that clang evaluates constexpr declared things opportunistically as > > constexpr even when that is not required

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

2021-10-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102698 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

<    1   2