[Bug ada/97805] [11 Regression] adaint.c:1488:12: note: 'LLONG_MIN' is defined in header ''; did you forget to '#include '?

2020-11-17 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97805 --- Comment #5 from Eric Botcazou --- > We need: > > #include We cannot do that unconditionally because it's also compiled as a C file.

[Bug ada/97805] [11 Regression] adaint.c:1488:12: note: 'LLONG_MIN' is defined in header ''; did you forget to '#include '?

2020-11-17 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97805 Eric Botcazou changed: What|Removed |Added Attachment #49555|0 |1 is obsolete|

[Bug c/90628] __builtin_mul_overflow writes to const qualified integer

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90628 --- Comment #8 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:2d8b144a2a61b007f59286731275773f6e167be1 commit r11-5077-g2d8b144a2a61b007f59286731275773f6e167be1 Author: Jakub Jelinek Date: Tu

[Bug d/97842] ice compiling dxml

2020-11-17 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97842 --- Comment #5 from Iain Buclaw --- (In reply to Alex from comment #4) > Created attachment 49573 [details] > dustmite reduced problem. Your reduction seems to have instead found another segfault. :-) https://issues.dlang.org/show_bug.cgi?id=21

[Bug tree-optimization/97832] AoSoA complex caxpy-like loops: AVX2+FMA -Ofast 7 times slower than -O3

2020-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97832 Richard Biener changed: What|Removed |Added Component|target |tree-optimization --- Comment #4 from R

[Bug target/97682] Miscompiled tail call with -fPIC

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97682 --- Comment #6 from CVS Commits --- The releases/gcc-9 branch has been updated by Kito Cheng : https://gcc.gnu.org/g:c52868904b784f5a90db6cf347edba81d14cf921 commit r9-9051-gc52868904b784f5a90db6cf347edba81d14cf921 Author: Monk Chiang Date:

[Bug target/97865] MACOSX_DEPLOY_TARGET needs to be updated

2020-11-17 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97865 Iain Sandoe changed: What|Removed |Added Last reconfirmed||2020-11-17 Ever confirmed|0

[Bug target/97682] Miscompiled tail call with -fPIC

2020-11-17 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97682 Kito Cheng changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/97873] New: Failure to optimize abs optimally (at least one useless instruction on x86)

2020-11-17 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97873 Bug ID: 97873 Summary: Failure to optimize abs optimally (at least one useless instruction on x86) Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: norm

[Bug rtl-optimization/31799] Failed to optimize out test instruction

2020-11-17 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31799 Gabriel Ravier changed: What|Removed |Added CC||gabravier at gmail dot com --- Comment

[Bug target/97865] MACOSX_DEPLOY_TARGET needs to be updated

2020-11-17 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97865 --- Comment #4 from Jürgen Reuter --- (In reply to Iain Sandoe from comment #3) > I didn't have x86 Big Sur until the weekend - still working through things. > > 1/ > > The change you have keeps the default as $wl-undefined ${wl}dynamic_lookup,

[Bug driver/97574] Allow for nul output with Windows

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97574 --- Comment #5 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:200c9e865f49255ea32d4891b746d394d156a16f commit r11-5078-g200c9e865f49255ea32d4891b746d394d156a16f Author: Tamar Christina Date:

[Bug tree-optimization/97832] AoSoA complex caxpy-like loops: AVX2+FMA -Ofast 7 times slower than -O3

2020-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97832 --- Comment #5 from Richard Biener --- OK, so I have a patch to keep the association linear which IMHO is good. It fixes the smaller and my testcase but not the original one which now is linear but still not homogenous. The store groups are as

[Bug other/97417] RISC-V Unnecessary andi instruction when loading volatile bool

2020-11-17 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97417 --- Comment #38 from Levy --- Created attachment 49575 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49575&action=edit riscv-shorten-memrefs_V1.patch Did little bit change in get_si_mem_base_reg() and transform() Now for the same c input

[Bug tree-optimization/97717] compilation with -O(1/2/3) flag failed while -O0 succeeds

2020-11-17 Thread kranti.rkiran at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97717 --- Comment #3 from Rahul Kranti Kiran --- The stack size was 8 KB and 'ulimit -s unlimited' worked for root but gets reset as soon as I got back to the userspace. Running the compilation with unlimited stack still threw a SEGFAULT. The compl

[Bug target/97535] [9/10 Regression] On AArch64 memcpy expansion cannot handle length > 32-bit signed int max

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97535 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Tamar Christina : https://gcc.gnu.org/g:886964a78aa89ef3c15e69a7b4b96c55d51ea812 commit r10-9034-g886964a78aa89ef3c15e69a7b4b96c55d51ea812 Author: Tamar Christin

[Bug tree-optimization/22326] promotions (from float to double) are not removed when they should be able to

2020-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22326 --- Comment #6 from Andrew Pinski --- (In reply to luoxhu from comment #4) > float foo(float f, float x, float y) { > return (fabs(f)*x+y); > } > > the input of fabs is float type, so use fabsf is enough here, drafted a > patch to avoid double p

[Bug c++/97874] New: [11 Regression] ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in lookup_using_decl, at cp/name-lookup.c:4652

2020-11-17 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97874 Bug ID: 97874 Summary: [11 Regression] ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in lookup_using_decl, at cp/n

[Bug target/97535] [9/10 Regression] On AArch64 memcpy expansion cannot handle length > 32-bit signed int max

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97535 --- Comment #9 from CVS Commits --- The releases/gcc-9 branch has been updated by Tamar Christina : https://gcc.gnu.org/g:9d65095e72502c12903e202cfe2e1fc58140522a commit r9-9052-g9d65095e72502c12903e202cfe2e1fc58140522a Author: Tamar Christina

[Bug target/97535] [9/10 Regression] On AArch64 memcpy expansion cannot handle length > 32-bit signed int max

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97535 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Tamar Christina : https://gcc.gnu.org/g:7e785f4c7643dbf5c4ae8cf02e2c148429adbfcf commit r9-9053-g7e785f4c7643dbf5c4ae8cf02e2c148429adbfcf Author: Tamar Christina

[Bug target/97535] [9/10 Regression] On AArch64 memcpy expansion cannot handle length > 32-bit signed int max

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97535 --- Comment #11 from CVS Commits --- The releases/gcc-10 branch has been updated by Tamar Christina : https://gcc.gnu.org/g:98ba03ffe0b9f37b4916ce6238fad754e00d720b commit r10-9035-g98ba03ffe0b9f37b4916ce6238fad754e00d720b Author: Tamar Christi

[Bug target/97535] [9/10 Regression] On AArch64 memcpy expansion cannot handle length > 32-bit signed int max

2020-11-17 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97535 Tamar Christina changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/97865] MACOSX_DEPLOY_TARGET needs to be updated

2020-11-17 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97865 --- Comment #5 from Iain Sandoe --- I bootstrapped several times (without using MACOSX_DEPLOYMENT_TARGET) and have been looking into other issues. Note that the libgfortran directory throws up a lot of warnings when 'autoreconf'ed' so maybe ther

[Bug target/97865] MACOSX_DEPLOY_TARGET needs to be updated

2020-11-17 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97865 --- Comment #6 from Jürgen Reuter --- (In reply to Iain Sandoe from comment #5) > I bootstrapped several times (without using MACOSX_DEPLOYMENT_TARGET) and > have been looking into other issues. > > Note that the libgfortran directory throws up

[Bug target/97535] [9/10 Regression] On AArch64 memcpy expansion cannot handle length > 32-bit signed int max

2020-11-17 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97535 --- Comment #13 from rguenther at suse dot de --- On Tue, 17 Nov 2020, tnfchris at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97535 > > Tamar Christina changed: > >What|Removed |A

[Bug target/97865] MACOSX_DEPLOY_TARGET needs to be updated

2020-11-17 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97865 --- Comment #7 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #6) > (In reply to Iain Sandoe from comment #5) > > I bootstrapped several times (without using MACOSX_DEPLOYMENT_TARGET) and > > have been looking into other issues. > >

[Bug target/97535] [9/10 Regression] On AArch64 memcpy expansion cannot handle length > 32-bit signed int max

2020-11-17 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97535 Tamar Christina changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug target/97535] [9/10 Regression] On AArch64 memcpy expansion cannot handle length > 32-bit signed int max

2020-11-17 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97535 --- Comment #15 from Tamar Christina --- Hmm indeed. I only saw it was doing unsigned arithmetic. I'll patch that one too.

[Bug ada/97859] [11 Regression] bootstrap error building a gnat cross compiler targeting ppc64le on x86_64-linux-gnu

2020-11-17 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97859 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug target/97827] bootstrap error building the amdgcn-amdhsa offload compiler with LLVM 11

2020-11-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97827 Tobias Burnus changed: What|Removed |Added CC||ams at gcc dot gnu.org,

[Bug tree-optimization/97693] [11 Regression] SVE: ICE in prepare_load_store_mask, at tree-vect-stmts.c since r11-1143-gb05d5563

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97693 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:fcd513df9aa83f30dbd1c34d13c8a0972702ffa1 commit r11-5088-gfcd513df9aa83f30dbd1c34d13c8a0972702ffa1 Author: Richard Sandiford Da

[Bug tree-optimization/97693] [11 Regression] SVE: ICE in prepare_load_store_mask, at tree-vect-stmts.c since r11-1143-gb05d5563

2020-11-17 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97693 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolutio

[Bug target/97827] bootstrap error building the amdgcn-amdhsa offload compiler with LLVM 11

2020-11-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97827 --- Comment #3 from Tobias Burnus --- Now filled https://bugs.llvm.org/show_bug.cgi?id=48201 for this LLVM and GNU as ("gas") tried to align, cf. discussion https://sourceware.org/legacy-ml/binutils/2020-02/msg00091.html and the GAS patch to

[Bug bootstrap/97858] [11 regression] Bogus warnings about va_list during profiledbootstrap

2020-11-17 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97858 Nathan Sidwell changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org E

[Bug target/97535] [9/10 Regression] On AArch64 memcpy expansion cannot handle length > 32-bit signed int max

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97535 --- Comment #16 from CVS Commits --- The releases/gcc-8 branch has been updated by Tamar Christina : https://gcc.gnu.org/g:ff3bb57646fb49090ce84b05bda5003b8f33fc07 commit r8-10626-gff3bb57646fb49090ce84b05bda5003b8f33fc07 Author: Tamar Christin

[Bug target/97535] [9/10 Regression] On AArch64 memcpy expansion cannot handle length > 32-bit signed int max

2020-11-17 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97535 Tamar Christina changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/97865] MACOSX_DEPLOY_TARGET needs to be updated

2020-11-17 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97865 --- Comment #8 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #4) > (In reply to Iain Sandoe from comment #3) > > I didn't have x86 Big Sur until the weekend - still working through things. > > 1/ > > > > The change you have keeps

[Bug tree-optimization/97875] New: suboptimal loop vectorization

2020-11-17 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97875 Bug ID: 97875 Summary: suboptimal loop vectorization Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug c++/85282] CWG 727 (full specialization in non-namespace scope)

2020-11-17 Thread dan at danny dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85282 Dan Horák changed: What|Removed |Added CC||dan at danny dot cz --- Comment #12 from Dan

[Bug fortran/97589] Segementation fault when allocating coarrays.

2020-11-17 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #17 from Thomas Koenig --- A bit more reduced (no derived types necessary): program random_weather implicit none real, allocatable :: ps(:,:) [:,:] integer :: nxslab, nyslab integer :: npx integer :: i, j real, paramete

[Bug rtl-optimization/31799] Failed to optimize out test instruction

2020-11-17 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31799 --- Comment #8 from H.J. Lu --- It is fixed by r8-647.

[Bug target/97865] MACOSX_DEPLOY_TARGET needs to be updated

2020-11-17 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97865 --- Comment #9 from Jürgen Reuter --- (In reply to Iain Sandoe from comment #8) > (In reply to Jürgen Reuter from comment #4) > > It's OK to need it (there are legitimate design reasons to do so) - however > where that need exists, the -Wl,-und

[Bug rtl-optimization/31799] Failed to optimize out test instruction

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31799 --- Comment #9 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:7f87b4ef2323769bd71f7ccea2aa6017a7376f76 commit r11-5090-g7f87b4ef2323769bd71f7ccea2aa6017a7376f76 Author: H.J. Lu Date: Tue Nov 17 06:

[Bug rtl-optimization/31799] Failed to optimize out test instruction

2020-11-17 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31799 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/88115] Incorrect result from alignof in templates, if also using __alignof__.

2020-11-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88115 --- Comment #8 from Jonathan Wakely --- Thanks for starting the discussion there.

[Bug libstdc++/97869] defines __cpp_lib_span even when doesn't provide an implementation

2020-11-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97869 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug bootstrap/97857] [11 Regression] profiledbootstrap broken freeing speculative call summary since r11-4987-g602c6cfc79ce4ae61e277107e0a60079c1a93a97

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97857 --- Comment #13 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:18dd295638724b455e072cd790451ace15a3d463 commit r11-5093-g18dd295638724b455e072cd790451ace15a3d463 Author: Jan Hubicka Date: Tue N

[Bug bootstrap/97857] [11 Regression] profiledbootstrap broken freeing speculative call summary since r11-4987-g602c6cfc79ce4ae61e277107e0a60079c1a93a97

2020-11-17 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97857 Jan Hubicka changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug bootstrap/97858] [11 regression] Bogus warnings about va_list during profiledbootstrap

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97858 --- Comment #5 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:d7ab349c44f30bed90b03b45865f6c7c5de1dfd8 commit r11-5095-gd7ab349c44f30bed90b03b45865f6c7c5de1dfd8 Author: Nathan Sidwell Date:

[Bug bootstrap/97858] [11 regression] Bogus warnings about va_list during profiledbootstrap

2020-11-17 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97858 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/97862] [11 Regression] ICE in expand_omp_for_init_vars, at omp-expand.c:2524

2020-11-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97862 --- Comment #3 from Jakub Jelinek --- Created attachment 49576 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49576&action=edit gcc11-pr97862.patch Untested fix.

[Bug gcov-profile/96919] [GCOV] uncovered line of stack allocation while using virutal destructor

2020-11-17 Thread bhavana.kilambi at blackfigtech dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96919 Bhavana Kilambi changed: What|Removed |Added CC||bhavana.kilambi@blackfigtec

[Bug bootstrap/97314] bootstrap failure on i686-linux-gnu with --enable-checking=yes,extra,rtl

2020-11-17 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97314 rsandifo at gcc dot gnu.org changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug bootstrap/97858] [11 regression] Bogus warnings about va_list during profiledbootstrap

2020-11-17 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97858 --- Comment #7 from Jan Hubicka --- > Fixed d7ab349c44f Thanks, my original intention was to mostly track the fact that we do not want to warn about fields of va_list type that is internal to compiler though :)

[Bug tree-optimization/97875] suboptimal loop vectorization

2020-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97875 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-11-17 Ever confirmed|0

[Bug c++/97874] [11 Regression] ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in lookup_using_decl, at cp/name-lookup.c:4652

2020-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97874 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0

[Bug libstdc++/97828] std::ranges::search_n does not work with counted_iterator<_List_iterator<...>>

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97828 --- Comment #8 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:8661f4faa875f361cd22a197774c1fa04cd0580b commit r11-5096-g8661f4faa875f361cd22a197774c1fa04cd0580b Author: Patrick Palka Date: Tu

[Bug target/97873] Failure to optimize abs optimally (at least one completely useless instruction on x86)

2020-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97873 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Target|

[Bug c++/97874] [11 Regression] ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in lookup_using_decl, at cp/name-lookup.c:4652

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97874 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Ever con

[Bug target/97873] Failure to optimize abs optimally (at least one completely useless instruction on x86)

2020-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97873 --- Comment #2 from Richard Biener --- gcc-7 goes the x86 abs expander way: abs: .LFB0: .cfi_startproc movl%edi, %edx movl%edi, %eax sarl$31, %edx xorl%edx, %eax subl%edx, %eax

[Bug c++/97874] [11 Regression] ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in lookup_using_decl, at cp/name-lookup.c:4652

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97874 Marek Polacek changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #1

[Bug bootstrap/97858] [11 regression] Bogus warnings about va_list during profiledbootstrap

2020-11-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97858 --- Comment #8 from Jakub Jelinek --- Well, so one enhancement request would be for va_list fields don't warn about the internal fields, but warn about use of uninitialized va_list itself. And the second thing is if the if (tail) va_start (ap,

[Bug target/97872] [ARM NEON] Missed optimization for less-than comparison on vectors

2020-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97872 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-11-17 Ever confirmed|0

[Bug target/97875] suboptimal loop vectorization

2020-11-17 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97875 --- Comment #2 from Christophe Lyon --- Checking the Arm v8-M manual, my understanding is that this architecture does not support unaligned vector loads/stores. However, my understanding is that vldrw.32 accepts to load from addresses aligned on

[Bug c++/97871] [11 Regression] ICE in cp_parser_declaration, at cp/parser.c:13539

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97871 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/97839] Template lambda incorrectly requiring the optional lambda-declarator

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97839 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/97871] [11 Regression] ICE in cp_parser_declaration, at cp/parser.c:13539

2020-11-17 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97871 --- Comment #2 from Iain Sandoe --- (In reply to Marek Polacek from comment #1) > Started with r11-4927. Iain, I think the assert should go: > > --- a/gcc/cp/parser.c > +++ b/gcc/cp/parser.c > @@ -13536,7 +13536,6 @@ cp_parser_declaration (cp_p

[Bug bootstrap/97858] [11 regression] Bogus warnings about va_list during profiledbootstrap

2020-11-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97858 --- Comment #9 from Jakub Jelinek --- That said, can't reproduce with simplified: void foo (char *str, char *tail, ...) { __builtin_va_list ap; if (tail) __builtin_va_start (ap, tail); for (int first = 1; str; first = 0) { *st

[Bug middle-end/97858] [11 regression] Bogus warnings about va_list

2020-11-17 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97858 Jan Hubicka changed: What|Removed |Added Status|RESOLVED|REOPENED Severity|normal

[Bug middle-end/97858] [11 regression] Bogus warnings about va_list

2020-11-17 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97858 --- Comment #11 from Jan Hubicka --- Jakub, with code patterns if (foo) ininit var ... if (foo) use var the false positive really depends on how far we do jump threading and similar transforms.

[Bug c++/97839] Template lambda incorrectly requiring the optional lambda-declarator

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97839 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug libstdc++/97869] defines __cpp_lib_span even when doesn't provide an implementation

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97869 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ecf65330c11544ebf35e198087b4a42be089c620 commit r11-5099-gecf65330c11544ebf35e198087b4a42be089c620 Author: Jonathan Wakely Date:

[Bug target/96791] ICE in convert_mode_scalar, at expr.c:412

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96791 --- Comment #11 from CVS Commits --- The master branch has been updated by Aaron Sawdey : https://gcc.gnu.org/g:6b91b3e9df171970a907638d9b2e0bca1e792975 commit r11-5097-g6b91b3e9df171970a907638d9b2e0bca1e792975 Author: Aaron Sawdey Date: Wed

[Bug libstdc++/97828] std::ranges::search_n does not work with counted_iterator<_List_iterator<...>>

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97828 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:04cb64dadb5c115b4ad093ff92c3f5a0a87ef15f commit r10-9036-g04cb64dadb5c115b4ad093ff92c3f5a0a87ef15f Author: Patrick Palka D

[Bug libstdc++/97828] std::ranges::search_n does not work with counted_iterator<_List_iterator<...>>

2020-11-17 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97828 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/97827] bootstrap error building the amdgcn-amdhsa offload compiler with LLVM 11

2020-11-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97827 --- Comment #4 from Tobias Burnus --- Draft patch (untested): diff --git a/gcc/varasm.c b/gcc/varasm.c index ada99940f65..51a507393a8 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -6738,9 +6738,11 @@ default_elf_asm_named_section (const char *

[Bug c++/97871] [11 Regression] ICE in cp_parser_declaration, at cp/parser.c:13539

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97871 --- Comment #3 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:c2cf58f0e3a32b803c890ea8daa8d9f550cf9888 commit r11-5104-gc2cf58f0e3a32b803c890ea8daa8d9f550cf9888 Author: Iain Sandoe Date: Tue

[Bug tree-optimization/83072] Late VRP optimization

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83072 --- Comment #7 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:a5f9c27bfc4417224e332392bb81a2d733b2b5bf commit r11-5105-ga5f9c27bfc4417224e332392bb81a2d733b2b5bf Author: Andrew MacLeod Date:

[Bug tree-optimization/83072] Late VRP optimization

2020-11-17 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83072 --- Comment #8 from Andrew Macleod --- I've adjusted range-ops so that EVRP will recognize that c |= 1 is a non-zero range, and I've added a test case to check it. The rest of this PR involves exposing ranges in a better way to fold-const. N

[Bug c++/97871] [11 Regression] ICE in cp_parser_declaration, at cp/parser.c:13539

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

[Bug tree-optimization/83073] Range for VR_VARYING | [1, 1]

2020-11-17 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83073 Andrew Macleod changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment

[Bug libstdc++/97876] New: stop_token header doesn't compile on clang-8 with -std=c++20

2020-11-17 Thread eric.niebler at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97876 Bug ID: 97876 Summary: stop_token header doesn't compile on clang-8 with -std=c++20 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/96835] Constructor in offload template class

2020-11-17 Thread tobias.weinzierl at durham dot ac.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96835 --- Comment #6 from Tobias Weinzierl --- We've found some more stuff. This works: #include #define mydt double #pragma omp declare target struct vector { vector(mydt x, mydt y); mydt dot(vector o); mydt v[2]; }; vector::vector(mydt

[Bug target/96835] Constructor in offload template class

2020-11-17 Thread tobias.weinzierl at durham dot ac.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96835 --- Comment #7 from Tobias Weinzierl --- Adding a default constructor to the vector class still does not allow us to create the object on the target: #include #define mydt double #pragma omp declare target struct vector { vector() {}; v

[Bug c++/97877] New: [11 Regression] ICE in cp_genericize_r, at cp/cp-gimplify.c:968

2020-11-17 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97877 Bug ID: 97877 Summary: [11 Regression] ICE in cp_genericize_r, at cp/cp-gimplify.c:968 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/97878] New: [9/10/11 Regression] ICE in cxx_eval_outermost_constant_expr, at cp/constexpr.c:6825

2020-11-17 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97878 Bug ID: 97878 Summary: [9/10/11 Regression] ICE in cxx_eval_outermost_constant_expr, at cp/constexpr.c:6825 Product: gcc Version: 11.0 Status: UNCONFI

[Bug tree-optimization/85315] missed range optimisation opportunity for derefences where index must be 0 or otherwise constrained

2020-11-17 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85315 Andrew Macleod changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment

[Bug c/97879] New: [11 Regression] ICE in from_mode_char, at attribs.h:298

2020-11-17 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97879 Bug ID: 97879 Summary: [11 Regression] ICE in from_mode_char, at attribs.h:298 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priorit

[Bug c++/97877] [11 Regression] ICE in cp_genericize_r, at cp/cp-gimplify.c:968

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97877 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org,

[Bug c/97879] [11 Regression] ICE in from_mode_char, at attribs.h:298

2020-11-17 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97879 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comment #1 from G

[Bug c/97880] New: [9/10/11 Regression] ICE in emit_library_call_value_1, at calls.c:5298

2020-11-17 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97880 Bug ID: 97880 Summary: [9/10/11 Regression] ICE in emit_library_call_value_1, at calls.c:5298 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/97877] [11 Regression] ICE in cp_genericize_r, at cp/cp-gimplify.c:968

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97877 --- Comment #2 from Marek Polacek --- We ICE because stmt's DECL_LANG_SPECIFIC is null: 965 /* Map block scope extern declarations to visible declarations with the 966 same name and type in outer scopes if any. */ 967 if (VAR_OR_FUN

[Bug c++/97878] [9/10/11 Regression] ICE in cxx_eval_outermost_constant_expr, at cp/constexpr.c:6825

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97878 Marek Polacek changed: What|Removed |Added Target Milestone|--- |8.5 Status|UNCONFIRMED

[Bug c++/97877] [11 Regression] ICE in cp_genericize_r, at cp/cp-gimplify.c:968

2020-11-17 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97877 Nathan Sidwell changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/97881] New: [11 Regression] ICE in warn_about_ambiguous_parse, at cp/parser.c:20800

2020-11-17 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97881 Bug ID: 97881 Summary: [11 Regression] ICE in warn_about_ambiguous_parse, at cp/parser.c:20800 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-i

[Bug target/96191] aarch64 stack_protect_test canary leak

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96191 --- Comment #10 from CVS Commits --- The releases/gcc-8 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:3ee527923b1ce92c6b16c587d072720a6c813c95 commit r8-10627-g3ee527923b1ce92c6b16c587d072720a6c813c95 Author: Richard Sand

[Bug c++/97881] [11 Regression] ICE in warn_about_ambiguous_parse, at cp/parser.c:20800

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97881 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org As

[Bug tree-optimization/85375] possible missed optimisation / regression from 6.3 with while (__builtin_ffs(x) && x)

2020-11-17 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85375 Andrew Macleod changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment

[Bug c++/70489] ICE in cxx_eval_increment_expression initializing a VLA in a constexpr function

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70489 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c++/16994] [meta-bug] VLA and C++

2020-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16994 Bug 16994 depends on bug 70489, which changed state. Bug 70489 Summary: ICE in cxx_eval_increment_expression initializing a VLA in a constexpr function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70489 What|Removed

  1   2   >