[Bug c++/99760] New: [modules] ICE qsort checking failed

2021-03-24 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
c_parse_final_cleanups() ../../gcc/gcc/cp/decl2.c:5175 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. g++ (GCC) 11.0.1 20210324 (experimental) Copyright (C

[Bug target/97329] POWER9 default cache and line sizes appear to be wrong

2021-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97329 --- Comment #13 from CVS Commits --- The releases/gcc-9 branch has been updated by Xiong Hu Luo : https://gcc.gnu.org/g:48354138267e0682f61866003b67a9851d3be3a2 commit r9-9307-g48354138267e0682f61866003b67a9851d3be3a2 Author: Xionghu Luo Date:

[Bug target/97329] POWER9 default cache and line sizes appear to be wrong

2021-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97329 --- Comment #12 from CVS Commits --- The releases/gcc-10 branch has been updated by Xiong Hu Luo : https://gcc.gnu.org/g:52eacca2455f7468d7ddb990259e8583028c5185 commit r10-9541-g52eacca2455f7468d7ddb990259e8583028c5185 Author: Xionghu Luo Dat

[Bug tree-optimization/99746] [11 Regression] ICE in vect_get_vec_defs_for_operand, at tree-vect-stmts.c:1450

2021-03-24 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99746 --- Comment #15 from Arseny Solokha --- (In reply to Tamar Christina from comment #13) > (In reply to Arseny Solokha from comment #10) > > (In reply to Tamar Christina from comment #9) > > > I wonder if whatever you're compiling is open source.

[Bug fortran/99711] Crash when reading an allocated character array in namelist

2021-03-24 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99711 --- Comment #11 from Jerry DeLisle --- Steve, I agree with your comment. Now in the READ at runtime there is a loop specification that is initialized to allow the read process to loop through these elements of an array. This works fine elsewhere,

[Bug libgcc/99759] New: morestack.S should support .init_array.0 besides .ctors.65535

2021-03-24 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99759 Bug ID: 99759 Summary: morestack.S should support .init_array.0 besides .ctors.65535 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal P

[Bug target/99758] New: ICE in setup_preferred_alternate_classes_for_new_pseudos, at ira.c:2772

2021-03-24 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99758 Bug ID: 99758 Summary: ICE in setup_preferred_alternate_classes_for_new_pseudos, at ira.c:2772 Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/99757] New: ICE when parameter pack not expanded with static_data_member

2021-03-24 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99757 Bug ID: 99757 Summary: ICE when parameter pack not expanded with static_data_member Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Pr

[Bug target/97329] POWER9 default cache and line sizes appear to be wrong

2021-03-24 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97329 luoxhu at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|-

[Bug analyzer/93695] Allocation and freeing memory for array members in loops is not handled properly by the analyzer

2021-03-24 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93695 --- Comment #4 from David Malcolm --- The above commit helps with related issues, but doesn't yet fix this bug. In particular, -Wanalyzer-too-complex shows that the analyzer generates an infinite chain of states for the loop, and eventually hits

[Bug analyzer/99044] use-after-free false positive in loop

2021-03-24 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99044 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug analyzer/99716] -Wanalyzer-double-fclose when fclose is called inside a loop

2021-03-24 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99716 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug analyzer/99044] use-after-free false positive in loop

2021-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99044 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:71fc4655ab86ab66b40165b2cb49c1395ca82a9a commit r11-7820-g71fc4655ab86ab66b40165b2cb49c1395ca82a9a Author: David Malcolm Date: We

[Bug analyzer/99716] -Wanalyzer-double-fclose when fclose is called inside a loop

2021-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99716 --- Comment #5 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:71fc4655ab86ab66b40165b2cb49c1395ca82a9a commit r11-7820-g71fc4655ab86ab66b40165b2cb49c1395ca82a9a Author: David Malcolm Date: We

[Bug analyzer/93695] Allocation and freeing memory for array members in loops is not handled properly by the analyzer

2021-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93695 --- Comment #3 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:71fc4655ab86ab66b40165b2cb49c1395ca82a9a commit r11-7820-g71fc4655ab86ab66b40165b2cb49c1395ca82a9a Author: David Malcolm Date: We

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

2021-03-24 Thread worx at pouf dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #32 from Worx --- I'm pretty confident, that the patch shared fixes the original issue. And the second problem is maybe more linked to a issue with my gcc configuration, when I want to build from GCC source outside Gentoo build.

[Bug tree-optimization/99756] bogus -Wmaybe-uninitialized with a use conditional that's a subset of a defining conditional

2021-03-24 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99756 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Depends on|

[Bug tree-optimization/99756] New: bogus -Wmaybe-uninitialized with a use conditional that's a subset of a defining conditional

2021-03-24 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99756 Bug ID: 99756 Summary: bogus -Wmaybe-uninitialized with a use conditional that's a subset of a defining conditional Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug tree-optimization/99755] New: failure to fold a conditional that's a subset of another expression

2021-03-24 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99755 Bug ID: 99755 Summary: failure to fold a conditional that's a subset of another expression Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug target/90834] Header and startup objects not found on macOS 10.15

2021-03-24 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90834 --- Comment #18 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #17 from Iain Sandoe --- > ping for closing this - or new information otherwise. I haven't reread the whole thread, but AFAICS one still needs to configure with --with-sy

[Bug sanitizer/96318] FAIL: c-c++-common/asan/strncpy-overflow-1.c * output pattern test with C on Darwin

2021-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96318 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:716d345c237f030a3e85d7410b06a8c1ac4c46fb commit r10-9539-g716d345c237f030a3e85d7410b06a8c1ac4c46fb Author: Iain Sandoe Dat

[Bug objc++/49070] [8/9/10/11 regression] ObjC++ compiler fails to compile ObjC method invocations without keyword arguments

2021-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49070 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:e3cac00975a1de879dc8356285a8908c25026ec4 commit r10-9536-ge3cac00975a1de879dc8356285a8908c25026ec4 Author: Iain Sandoe Dat

[Bug target/99708] __SIZEOF_FLOAT128__ not defined on powerpc64le-linux

2021-03-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99708 --- Comment #7 from Jonathan Wakely --- (In reply to Segher Boessenkool from comment #6) > Yes. And it does not mean the type exist (or is usable), either. Example? > Do we? The types should always exist! Please tell that to our IBM colleagu

[Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1

2021-03-24 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494 --- Comment #29 from Iain Sandoe --- (In reply to Piotr Kubaj from comment #28) > I just tried on FreeBSD 12.2-RELEASE on powerpc64 with base gcc 4.2.1: > gmake[4]: Entering directory > '/wrkdirs/usr/ports/lang/gcc10-devel/work/.build/gcc' > c++

[Bug analyzer/95043] GCC 10 Analyzer and false positive on 'memcpy(dest, src, count);'

2021-03-24 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95043 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/99708] __SIZEOF_FLOAT128__ not defined on powerpc64le-linux

2021-03-24 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99708 --- Comment #6 from Segher Boessenkool --- (In reply to Jonathan Wakely from comment #5) > (In reply to Segher Boessenkool from comment #3) > > In an ideal world the user can just assume those types exist always. > Arguably a __SIZEOF_

[Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1

2021-03-24 Thread pkubaj at anongoth dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494 Piotr Kubaj changed: What|Removed |Added Status|RESOLVED|WAITING Resolution|FIXED

[Bug target/90834] Header and startup objects not found on macOS 10.15

2021-03-24 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90834 --- Comment #17 from Iain Sandoe --- ping for closing this - or new information otherwise.

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2021-03-24 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #33 from Iain Sandoe --- Have we now resolved this issue? All current open branches work OK for me on all Darwin versions from 10.4 - 11.2. Please update if there is still something to fix.

[Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1

2021-03-24 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494 Iain Sandoe changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/99718] [11 regression] ICE in new test case gcc.target/powerpc/pr98914.c for 32 bits

2021-03-24 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99718 --- Comment #5 from Segher Boessenkool --- (In reply to Jakub Jelinek from comment #3) > If the non-constant vec_set can't be supported when > !(TARGET_P8_VECTOR && TARGET_DIRECT_MOVE_64BIT) I don't see why not? It may need different code, sure

[Bug target/99753] [11 Regression] ICE in ix86_target_macros_internal, at config/i386/i386-c.c:250 since r11-5757-g3e2ae3ee285a5745

2021-03-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99753 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/99283] [modules] ICE in assert_definition, at cp/module.cc:4608

2021-03-24 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. g++ (GCC) 11.0.1 20210324 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copyin

[Bug target/99753] [11 Regression] ICE in ix86_target_macros_internal, at config/i386/i386-c.c:250 since r11-5757-g3e2ae3ee285a5745

2021-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99753 --- Comment #1 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:4f00c4d40a539360938607561460904663c64cda commit r11-7818-g4f00c4d40a539360938607561460904663c64cda Author: Martin Liska Date: Wed

[Bug c++/99479] [modules] ICE Aborted signal terminated program cc1plus

2021-03-24 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
: Aborted signal terminated program cc1plus Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. g++ (GCC) 11.0.1 20210324 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the sour

[Bug c++/99241] [modules] ICE in install_entity, at cp/module.cc:7584

2021-03-24 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
bool) ../../gcc/gcc/cp/module.cc:9184 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. g++ (GCC) 11.0.1 20210324 (experimental) Copyright (C) 2021 Free Software

[Bug c++/99426] [modules] failed to read compiled module cluster 1186: Bad file data

2021-03-24 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
); } | ^ compilation terminated. g++ (GCC) 11.0.1 20210324 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or

[Bug bootstrap/98860] [11 Regression] bootstrap failure on MinGW-w64 windows 10

2021-03-24 Thread rogero at howzatt dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98860 --- Comment #57 from Roger Orr --- I've also confirmed the "non-noisy" patch when used with binutils 2.35.2 (Sadly I've not yet manged to build binutils from source to try dwarf-5 with the fix) Many thanks. I believe the "noisy" patch needs an

[Bug c++/99427] [modules] in system headers: non-constant condition for static assertion

2021-03-24 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
is_signed | ^ /usr/local/include/c++/11.0.1/condition_variable: warning: not writing module ‘/usr/local/include/c++/11.0.1/condition_variable’ due to errors g++ (GCC) 11.0.1 20210324 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see t

[Bug ipa/99122] [10/11 Regression] ICE in force_constant_size, at gimplify.c:733

2021-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99122 --- Comment #27 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:f225c6b0c50dc472e0b73b440b572a3bf1514020 commit r11-7817-gf225c6b0c50dc472e0b73b440b572a3bf1514020 Author: Martin Jambor Date: W

[Bug c++/99735] [modules] in system headers: non-template type ‘rebind_alloc’ used as a template

2021-03-24 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
1.0.1/filesystem: warning: not writing module ‘/usr/local/include/c++/11.0.1/filesystem’ due to errors g++ (GCC) 11.0.1 20210324 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[Bug target/99540] [10 Regression] ICE: Segmentation fault in aarch64_add_offset

2021-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99540 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:7e1c6d7a53a64fdca23b2299b43f57f7a1dece74 commit r10-9528-g7e1c6d7a53a64fdca23b2299b43f57f7a1dece74 Author: Richard Sand

[Bug target/99754] New: [sse2] new _mm_loadu_si16 and _mm_loadu_si32 implemented incorrectly

2021-03-24 Thread evan--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99754 Bug ID: 99754 Summary: [sse2] new _mm_loadu_si16 and _mm_loadu_si32 implemented incorrectly Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug target/99744] __attribute__ ((target("general-regs-only"))) doesn't work with GPR intrinsics

2021-03-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99744 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/99746] [11 Regression] ICE in vect_get_vec_defs_for_operand, at tree-vect-stmts.c:1450

2021-03-24 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99746 --- Comment #14 from Tamar Christina --- (In reply to Richard Biener from comment #12) > Btw, the following also works as a fix but obviously I'm not in a position > to fully evaluate this. That said, hybrid SLP detection was rewritten during >

[Bug tree-optimization/99746] [11 Regression] ICE in vect_get_vec_defs_for_operand, at tree-vect-stmts.c:1450

2021-03-24 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99746 --- Comment #13 from Tamar Christina --- (In reply to Arseny Solokha from comment #10) > (In reply to Tamar Christina from comment #9) > > I wonder if whatever you're compiling is open source. I'd love to fix some > > of these cases properly in

[Bug c++/99745] ICE when parameter pack not expanded in bit field

2021-03-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99745 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug debug/99230] [11 Regression] gcc.dg/pr83527.c excess errors: '-fcompare-debug' failure (length)

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

[Bug target/99753] [11 Regression] ICE in ix86_target_macros_internal, at config/i386/i386-c.c:250 since r11-5757-g3e2ae3ee285a5745

2021-03-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99753 Martin Liška changed: What|Removed |Added Target Milestone|--- |11.0 Known to fail|

[Bug libstdc++/99752] ranges::find_end should return empty subrange when search range is empty

2021-03-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99752 --- Comment #3 from Jonathan Wakely --- Your example is an infinite loop because you're asking for the last occurrence of e in an infinite range. There is no end of an infinite range.

[Bug target/99753] [11 Regression] ICE in ix86_target_macros_internal, at config/i386/i386-c.c:250 since r11-5757-g3e2ae3ee285a5745

2021-03-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99753 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-03-24 Assignee|unassigned

[Bug target/99753] New: [11 Regression] ICE in ix86_target_macros_internal, at config/i386/i386-c.c:250 since r11-5757-g3e2ae3ee285a5745

2021-03-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99753 Bug ID: 99753 Summary: [11 Regression] ICE in ix86_target_macros_internal, at config/i386/i386-c.c:250 since r11-5757-g3e2ae3ee285a5745 Product: gcc Version: 11.0

[Bug libstdc++/99752] ranges::find_end should return empty subrange when search range is empty

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

[Bug target/99708] __SIZEOF_FLOAT128__ not defined on powerpc64le-linux

2021-03-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99708 --- Comment #5 from Jonathan Wakely --- (In reply to Segher Boessenkool from comment #3) > In an ideal world the user can just assume those types exist always. In a > less ideal world, use autoconf? You have to anyway, if you want to support >

[Bug libstdc++/99752] ranges::find_end should return empty subrange when search range is empty

2021-03-24 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99752 --- Comment #1 from 康桓瑋 --- My pardon, since the ranges::find_end return type is ranges::subrange, we still to get the common last1 iterator through the ranges::next call, so this seems not a bug.

[Bug other/93641] Wrong strncmp and strncasecmp size arguments

2021-03-24 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93641 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug testsuite/98894] New test case experimental/simd/standard_abi_usable.cc in r11-6935 fails on power 7

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

[Bug target/99727] [11 Regression] MVE: ICE (segfault) in arm_print_operand at -O3 since r11-6616-g25bef689

2021-03-24 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99727 --- Comment #5 from Alex Coplan --- Thanks for the quick fix :)

[Bug ipa/98834] [10 Regression] Code path incorrectly determined to be unreachable

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

[Bug ipa/98834] [10 Regression] Code path incorrectly determined to be unreachable

2021-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98834 --- Comment #12 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:592388d4f6e8a6adb470428fef6195694f4a3dce commit r10-9527-g592388d4f6e8a6adb470428fef6195694f4a3dce Author: Richard Biener

[Bug lto/96591] [8/9/10 Regression] ICE with -flto=auto and -O1: tree code ‘typename_type’ is not supported in LTO streams

2021-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96591 --- Comment #10 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:277fbd0748279cfcb241eff7c4d5ef93afbfbafd commit r10-9526-g277fbd0748279cfcb241eff7c4d5ef93afbfbafd Author: Richard Biener

[Bug middle-end/99694] [9/10 Regression] gcc: fatal error: Killed signal terminated program cc1 under -O2 to -Os since r9-7156-g33579b59aaf02eb7

2021-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99694 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:73d1e612011f1781275c7504c4fa5c365c0c3ddd commit r10-9525-g73d1e612011f1781275c7504c4fa5c365c0c3ddd Author: Richard Biener

[Bug libstdc++/79700] std::fabsf and std::fabsl missing from

2021-03-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79700 Jonathan Wakely changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug target/99727] [11 Regression] MVE: ICE (segfault) in arm_print_operand at -O3 since r11-6616-g25bef689

2021-03-24 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99727 Christophe Lyon changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/99727] [11 Regression] MVE: ICE (segfault) in arm_print_operand at -O3 since r11-6616-g25bef689

2021-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99727 --- Comment #3 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:79cdbabbc4cbf79491c274220928406dff3d4039 commit r11-7816-g79cdbabbc4cbf79491c274220928406dff3d4039 Author: Christophe Lyon Date:

[Bug libstdc++/99752] New: ranges::find_end should return empty subrange when search range is empty

2021-03-24 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99752 Bug ID: 99752 Summary: ranges::find_end should return empty subrange when search range is empty Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug sanitizer/96318] FAIL: c-c++-common/asan/strncpy-overflow-1.c * output pattern test with C on Darwin

2021-03-24 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96318 Iain Sandoe changed: What|Removed |Added Status|WAITING |ASSIGNED Assignee|unassigned at

[Bug bootstrap/98860] [11 Regression] bootstrap failure on MinGW-w64 windows 10

2021-03-24 Thread jyong at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98860 --- Comment #56 from jyong at gcc dot gnu.org --- OK, I've tested the patch from attachment 50461, seems to work fine: gcc uses dwarf 4 by default if it does find a broken linker, but allows the user to specify -gdwarf-5 if they want, resulting in

[Bug c++/99750] gcc allow operator literal operator have default parameters

2021-03-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99750 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug ipa/98834] [10 Regression] Code path incorrectly determined to be unreachable

2021-03-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98834 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/65847] SSE2 code for adding two structs is much worse at -O3 than at -O2

2021-03-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65847 --- Comment #3 from Richard Biener --- Similarly struct X { int a; int b; int c; int d; }; struct X foo (struct X x, struct X y) { struct X res; res.a = x.a + y.a; res.b = x.b + y.b; res.c = x.c + y.c; res.d = x.d + y.d; return res;

[Bug ipa/99751] [11 Regression] wrong code at -O1

2021-03-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99751 --- Comment #5 from Richard Biener --- parm 0 flags: nodirectescape void e (int * d) { int * * c.0_1; int * _2; : c.0_1 = c; _2 = b (d_4(D)); *c.0_1 = _2; return; is wrong, it does escape through the *c store. I suppose b (d)

[Bug c++/95616] [coroutines] coroutines with potentially-throwing 'co_await promise.final_suspend()' expressions should be ill-formed

2021-03-24 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95616 Iain Sandoe changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/97587] [coroutines] promise_type constructor is called with original parameters, not parameter copies

2021-03-24 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97587 Iain Sandoe changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/95822] [coroutines] compiler internal error with local object with noexcept false destructor

2021-03-24 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95822 Iain Sandoe changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/99047] ICE on simple task coroutine example

2021-03-24 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99047 Iain Sandoe changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/98480] [coroutines] ICE on co_await in for-loop end condition.

2021-03-24 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98480 Iain Sandoe changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/98704] coroutine_handle::done() == false after promise's unhandled_exception() has thrown

2021-03-24 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98704 Iain Sandoe changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c/89180] [meta-bug] bogus/missing -Wunused warnings

2021-03-24 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89180 Bug 89180 depends on bug 96749, which changed state. Bug 96749 Summary: [coroutines] unexpected 'warning: statement has no effect [-Wunused-value]' https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96749 What|Removed

[Bug c++/96749] [coroutines] unexpected 'warning: statement has no effect [-Wunused-value]'

2021-03-24 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96749 Iain Sandoe changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug ipa/99751] [11 Regression] wrong code at -O1

2021-03-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99751 --- Comment #4 from Jakub Jelinek --- Started with r11-5391-gbb07490abba850fd5b1d2d09d76d18b8bdc7d817

[Bug ipa/99751] [11 Regression] wrong code at -O1

2021-03-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99751 Richard Biener changed: What|Removed |Added Component|tree-optimization |ipa Priority|P3

[Bug c++/98118] [coroutines] ICE with coroutine with parameter with non-trivial destructor since r10-6876-gdc192bbdd0442f75

2021-03-24 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98118 Iain Sandoe changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/95615] [coroutines] Coroutine frame and promise is leaked if exception thrown from promise.initial_suspend()

2021-03-24 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95615 Iain Sandoe changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/99751] [11 Regression] wrong code at -O1

2021-03-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99751 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment

[Bug tree-optimization/99751] [11 Regression] wrong code at -O1

2021-03-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99751 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/99751] New: wrong code at -O1

2021-03-24 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
-pc-linux-gnu Configured with: ../gcc-trunk/configure --disable-bootstrap --prefix=/local/suz-local/software/local/gcc-trunk --enable-languages=c,c++ --disable-werror --enable-multilib --with-system-zlib Thread model: posix Supported LTO compression algorithms: zlib gcc version 11.0.1 20210324

[Bug c++/99750] New: gcc allow operator literal operator have default parameters

2021-03-24 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99750 Bug ID: 99750 Summary: gcc allow operator literal operator have default parameters Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c++/99749] New: Error when using std::string in a module (versions 11.0.1 20210307, 11.0.1 20210314, and 11.0.1 20210321)

2021-03-24 Thread patrick.kox at commandoregel dot be via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99749 Bug ID: 99749 Summary: Error when using std::string in a module (versions 11.0.1 20210307, 11.0.1 20210314, and 11.0.1 20210321) Product: gcc Version: 11.0 Status: UNCONF

[Bug target/99744] __attribute__ ((target("general-regs-only"))) doesn't work with GPR intrinsics

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

[Bug tree-optimization/99746] [11 Regression] ICE in vect_get_vec_defs_for_operand, at tree-vect-stmts.c:1450

2021-03-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99746 --- Comment #12 from Richard Biener --- Btw, the following also works as a fix but obviously I'm not in a position to fully evaluate this. That said, hybrid SLP detection was rewritten during SLP pattern development so the requirement to hook th

[Bug target/99724] [11 Regression] CE in in extract_insn, at recog.c:2770

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

[Bug target/99724] [11 Regression] CE in in extract_insn, at recog.c:2770

2021-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99724 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:4f992de4f369e17b64a66246ec35bf75f41dc98d commit r11-7814-g4f992de4f369e17b64a66246ec35bf75f41dc98d Author: Jakub Jelinek Date: We

[Bug target/99708] __SIZEOF_FLOAT128__ not defined on powerpc64le-linux

2021-03-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99708 --- Comment #4 from Jakub Jelinek --- __SIZEOF_FLOAT128__ is predefined on all targets that have the __float128 type, except for rs6000: grep '"__float128"' */* i386/i386-builtins.c: lang_hooks.types.register_builtin_type (float128_type_node, "_

[Bug tree-optimization/99746] [11 Regression] ICE in vect_get_vec_defs_for_operand, at tree-vect-stmts.c:1450

2021-03-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99746 --- Comment #11 from Richard Biener --- (In reply to Tamar Christina from comment #7) > the problem starts because it marks _50 as hybrid, but don't see why it > thinks that... Because t.f:36:16: note: Processing hybrid candidate : IMAGPART_E

[Bug target/99748] MVE: Wrong code at -O0 with float to integer conversion

2021-03-24 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99748 --- Comment #2 from Alex Coplan --- GCC 10 also has the issue, so not a regression.

[Bug tree-optimization/99746] [11 Regression] ICE in vect_get_vec_defs_for_operand, at tree-vect-stmts.c:1450

2021-03-24 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99746 --- Comment #10 from Arseny Solokha --- (In reply to Tamar Christina from comment #9) > I wonder if whatever you're compiling is open source. I'd love to fix some > of these cases properly in GCC 12. These Fortran snippets I've been filing this

[Bug target/99748] MVE: Wrong code at -O0 with float to integer conversion

2021-03-24 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99748 --- Comment #1 from Alex Coplan --- I should have mentioned, I found this because a number of the execution tests are failing when testing with --with-arch=armv8.1-m.main+mve --with-float=hard.

[Bug target/99748] New: MVE: Wrong code at -O0 with float to integer conversion

2021-03-24 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99748 Bug ID: 99748 Summary: MVE: Wrong code at -O0 with float to integer conversion Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priorit

[Bug c++/99246] [modules] ICE in write_location, at cp/module.cc:15687

2021-03-24 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
lude the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. g++ (GCC) 11.0.1 20210324 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for M

  1   2   >