[Bug gcov-profile/97834] gcov-instrumented binaries are very slow due to unbuffered IO

2020-11-16 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97834 --- Comment #7 from Roland Illig --- (In reply to Nathan Sidwell from comment #5) > you're looking in the wrong place. see gcov_var and GCOV_BLOCK_SIZE. Hmmm, this looks like there is some buffering. But still, in gcov_open, when I comment out

Re: [Bug middle-end/97840] [11 regression] Bogus -Wmaybe-uninitialized

2020-11-16 Thread Jan Hubicka
> Note i686-linux bootstrap is still broken in r11-5062 - the PR97853 error. Yes, as discussed earlier (but perhaps lost in other coments) we need fix for the targetm.calls.empty_record_p (type) divergence. It is not clear to me if simply calling the default implementation instead of the rather com

[Bug middle-end/97840] [11 regression] Bogus -Wmaybe-uninitialized

2020-11-16 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97840 --- Comment #11 from Jan Hubicka --- > Note i686-linux bootstrap is still broken in r11-5062 - the PR97853 error. Yes, as discussed earlier (but perhaps lost in other coments) we need fix for the targetm.calls.empty_record_p (type) divergence. It

[Bug gcov-profile/97834] gcov-instrumented binaries are very slow due to unbuffered IO

2020-11-16 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97834 Roland Illig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2020-11-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97828 --- Comment #7 from Patrick Palka --- Patch posted at https://gcc.gnu.org/pipermail/libstdc++/2020-November/051458.html

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

2020-11-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #13 from Thomas Koenig --- (In reply to Thomas Koenig from comment #12) > Reduced test case: > > program main > type global_model_state > real, allocatable :: ps(:) [:] > end type global_model_state > type (global_model_s

[Bug middle-end/97840] [11 regression] Bogus -Wmaybe-uninitialized

2020-11-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97840 --- Comment #12 from Jakub Jelinek --- I agree we should just rename default_is_empty_type to is_empty_type, export it, declare in tree.h and use it instead that complicated test. TYPE_EMPTY_P isn't something tree-ssa-uninit.c should care about,

[Bug fortran/97864] New: Homebrew Operator Overload ICE

2020-11-16 Thread everythingfunctional at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97864 Bug ID: 97864 Summary: Homebrew Operator Overload ICE Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

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

2020-11-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #14 from Thomas Koenig --- (In reply to Thomas Koenig from comment #13) > (In reply to Thomas Koenig from comment #12) > > Reduced test case: > > > > program main > > type global_model_state > > real, allocatable :: ps(:) [:]

[Bug middle-end/97840] [11 regression] Bogus -Wmaybe-uninitialized

2020-11-16 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97840 --- Comment #13 from Jan Hubicka --- > I agree we should just rename default_is_empty_type to is_empty_type, export > it, declare in tree.h and use it instead that complicated test. TYPE_EMPTY_P > isn't something tree-ssa-uninit.c should care ab

[Bug gcov-profile/97834] gcov-instrumented binaries are very slow due to unbuffered IO

2020-11-16 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97834 --- Comment #9 from Roland Illig --- (In reply to Roland Illig from comment #7) > I wonder why on NetBSD there is no buffering but on Linux there is. > Both stdio implementations are so old that I don't expect any bugs > in this area anymore. It

Re: [Bug middle-end/97840] [11 regression] Bogus -Wmaybe-uninitialized

2020-11-16 Thread Jan Hubicka
> I agree we should just rename default_is_empty_type to is_empty_type, export > it, declare in tree.h and use it instead that complicated test. TYPE_EMPTY_P > isn't something tree-ssa-uninit.c should care about, that is just whether the > backend decided it will not be passed at all. OK, perhaps

[Bug target/97865] New: MACOSX_DEPLOY_TARGET needs to be updated

2020-11-16 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97865 Bug ID: 97865 Summary: MACOSX_DEPLOY_TARGET needs to be updated Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug d/97843] Bad code gen when concatenating to array

2020-11-16 Thread alex at sunopti dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97843 --- Comment #6 from Alex --- >From cppreference.com : The behavior of every builtin compound-assignment expression E1 op= E2 (where E1 is a modifiable lvalue expression and E2 is an rvalue expression or a braced-init-list (since C++11)) is exact

[Bug libfortran/48958] Add runtime diagnostics for SIZE intrinsic function

2020-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48958 --- Comment #6 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:0c81ccc3d87098b93b0e6a2dd76815e4d6e78ff0 commit r11-5064-g0c81ccc3d87098b93b0e6a2dd76815e4d6e78ff0 Author: Harald Anlauf Date: Mo

[Bug c++/86465] [8/9/10/11 Regression] C++17 triggers: ‘’ may be used uninitialized in this function

2020-11-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86465 --- Comment #11 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #10) > Created attachment 49449 [details] > preprocessed source, unreduced, gzipped > > Here's another example that produces this kind of warning, this time from

[Bug target/97865] MACOSX_DEPLOY_TARGET needs to be updated

2020-11-16 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97865 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug rtl-optimization/97777] ICE: in df_refs_verify, at df-scan.c:3991 with -O -ffinite-math-only -fzero-call-used-regs=all

2020-11-16 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9 --- Comment #5 from qinzhao at gcc dot gnu.org --- the following patch in reg-stack.c fixed the failure: qinzhao@gcc10:~/Work/write_gcc/gcc$ git diff reg-stack.c diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index 8f98bd85750..3dab843f803 100644

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

2020-11-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #16 from Thomas Koenig --- program random_weather implicit none type global_model_state real, allocatable :: ps(:,:) [:,:] end type global_model_state integer :: nxslab, nyslab type(global_model_state) :: ms_full in

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

2020-11-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #15 from Thomas Koenig --- Next reduced test-case:

[Bug libstdc++/93456] No overflow check in __atomic_futex_unsigned_base::_M_futex_wait_until

2020-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93456 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:730e1357dfb9aff481d6c47a21ef748f0d810d4f commit r10-9031-g730e1357dfb9aff481d6c47a21ef748f0d810d4f Author: Jonathan Wakel

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

2020-11-16 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97857 --- Comment #8 from Jan Hubicka --- In my setup I get ICE segfault with #0 0x011fcf44 in vec::release (this=0x0) at ../../gcc/vec.h:1811 #1 0x011fcf2f in auto_vec::~auto_vec (this=, this=) at ../../gcc/vec.h:1542 #2 speculative

[Bug objc/97854] [11 regression] ODR violation in stub-objc.c

2020-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97854 --- Comment #2 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:814e016318646d06b1662219cc716d502b76d8ce commit r11-5065-g814e016318646d06b1662219cc716d502b76d8ce Author: Iain Sandoe Date: Mon

[Bug target/97866] New: [11 Regression] bootstrap error in libasan building a s390x-linux-gnu cross compiler

2020-11-16 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97866 Bug ID: 97866 Summary: [11 Regression] bootstrap error in libasan building a s390x-linux-gnu cross compiler Product: gcc Version: 11.0 Status: UNCONFIRMED Sever

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

2020-11-16 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97857 --- Comment #9 from Jan Hubicka --- The checking enabled build ICEs for me at same spot as for you 0x01475505 <+165>: punpcklqdq %xmm2,%xmm3 0x01475509 <+169>: movaps %xmm3,0x30(%rsp) 0x0147550e <+174>: cal

[Bug target/93071] std::__lg (and all functions that use it) generates suboptimal code

2020-11-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93071 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2020-11-16 Thread Jan Hubicka
The checking enabled build ICEs for me at same spot as for you 0x01475505 <+165>: punpcklqdq %xmm2,%xmm3 0x01475509 <+169>: movaps %xmm3,0x30(%rsp) 0x0147550e <+174>: callq 0x10949d0 ::iterator::slide()> 0x01475513 <+179>: mov%r12,0x20(%rsp

[Bug target/93071] std::__lg (and all functions that use it) generates suboptimal code

2020-11-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93071 --- Comment #2 from Jonathan Wakely --- These might benefit from the same improvements (compile with -std=c++20): #include int i(int x) { return 31 - std::countl_zero((unsigned)x); } int j(int x) { return std::bit_width((unsigned)x) -

[Bug middle-end/97840] [11 regression] Bogus -Wmaybe-uninitialized

2020-11-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97840 --- Comment #14 from Martin Sebor --- Created attachment 49572 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49572&action=edit Patch under test. The attached patch avoids the warning on aarch64. Let me finish testing it and submit it lat

[Bug target/97865] MACOSX_DEPLOY_TARGET needs to be updated

2020-11-16 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97865 --- Comment #2 from Jürgen Reuter --- (In reply to Eric Gallager from comment #1) > This should probably handled by upstream libtool Indeed I reported this to libtool as well, and I was not the first apparently. How do you include this? In our c

[Bug libstdc++/92978] std::gcd mishandles mixed-signedness

2020-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92978 --- Comment #6 from CVS Commits --- The releases/gcc-8 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:7dbed9dead9002ee0cd4aa9c22b20942c6f13757 commit r8-10624-g7dbed9dead9002ee0cd4aa9c22b20942c6f13757 Author: Jonathan Wakely

[Bug libstdc++/92978] std::gcd mishandles mixed-signedness

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

Re: [Bug middle-end/97840] [11 regression] Bogus -Wmaybe-uninitialized

2020-11-16 Thread Jan Hubicka
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97840 > > --- Comment #14 from Martin Sebor --- > Created attachment 49572 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49572&action=edit > Patch under test. > > The attached patch avoids the warning on aarch64. Let me finish testing it

[Bug middle-end/97840] [11 regression] Bogus -Wmaybe-uninitialized

2020-11-16 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97840 --- Comment #15 from Jan Hubicka --- > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97840 > > --- Comment #14 from Martin Sebor --- > Created attachment 49572 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49572&action=edit > Patch unde

[Bug libstdc++/91488] [9/10/11 Regression] char_traits::length causes "inlining failed in call to always_inline" error with -fgnu-tm -O2 -std=c++17

2020-11-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91488 --- Comment #3 from Jonathan Wakely --- (In reply to ensadc from comment #1) > It seems that the inliner does not like the `static` specifier in > `__constant_string_p`. This also triggers "inlining failed in call to > always_inline" error: > >

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

2020-11-16 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 Component|middle-end |bootstrap --- Comment #1 from Jan Hubicka

[Bug c++/94568] template specialization of equivalent nontype template argument involving member pointer considered distinct

2020-11-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94568 Jonathan Wakely changed: What|Removed |Added Keywords||ABI Status|UNCONFIRMED

[Bug libstdc++/94345] std::chrono overflows due to c++14 non-compliance

2020-11-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94345 --- Comment #2 from Jonathan Wakely --- Fixed for GCC 11 by b1850c617b14eedaf60b358f3b7d4707cff73b8a I might still backport it.

[Bug d/97842] ice compiling dxml

2020-11-16 Thread alex at sunopti dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97842 --- Comment #4 from Alex --- Created attachment 49573 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49573&action=edit dustmite reduced problem.

[Bug fortran/48958] Add runtime diagnostics for SIZE intrinsic function

2020-11-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48958 anlauf at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P5 Status|SUSPEND

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

2020-11-16 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97857 --- Comment #10 from Jan Hubicka --- So I think I know what happens. It is actually the pre-existing problem I mentioned in https://gcc.gnu.org/pipermail/gcc-patches/2020-November/559017.html the iterator is small type consiting of two pointers

[Bug target/97847] [11 Regression] ICE in insert_insn_on_edge, at cfgrtl.c:1976

2020-11-16 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97847 Segher Boessenkool changed: What|Removed |Added Status|NEW |WAITING --- Comment #1 from Segher

[Bug fortran/97864] Homebrew Operator Overload ICE

2020-11-16 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97864 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug tree-optimization/80635] [8/9/10/11 regression] std::optional and bogus -Wmaybe-uninitialized warning

2020-11-16 Thread law at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 --- Comment #55 from Jeffrey A. Law --- So to summarize some thoughts from Richi from last year. Converting the V_C_E into a NOP_EXPR is undesirable as the truncation becomes sub-optimal because we end up with an additional masking operation. S

[Bug jit/97867] New: FAIL: test-combination.c.exe test-functions.c.exe test-pr66779.c.exe test-threads.c.exe killed

2020-11-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97867 Bug ID: 97867 Summary: FAIL: test-combination.c.exe test-functions.c.exe test-pr66779.c.exe test-threads.c.exe killed Product: gcc Version: unknown Status: UNCONFIRMED

[Bug jit/97867] FAIL: test-combination.c.exe test-functions.c.exe test-pr66779.c.exe test-threads.c.exe killed

2020-11-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97867 David Malcolm changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #

[Bug jit/96089] Support initializers for global variables.

2020-11-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96089 --- Comment #1 from David Malcolm --- gcc_jit_global_set_initializer was added in GCC 11, which can initialize some global variables.

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

2020-11-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97858 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

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

2020-11-16 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97857 --- Comment #11 from Jan Hubicka --- This patch fixes the issue by making the conflict with C type sticky via clearing the CXX bit. I checked that it recovers profiledbootstrap, hwoever I want to look into the code tomorrow bit more to be sure t

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

2020-11-16 Thread Jan Hubicka
This patch fixes the issue by making the conflict with C type sticky via clearing the CXX bit. I checked that it recovers profiledbootstrap, hwoever I want to look into the code tomorrow bit more to be sure that it does not disable more than it should. Honza diff --git a/gcc/ipa-utils.h b/gcc/ip

[Bug rtl-optimization/92180] Missed optimization on casting __builtin_ia32_rdtsc result to int32

2020-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92180 --- Comment #5 from CVS Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:be39636d9f68c437c8a2c2e7a225c4aed4663e78 commit r11-5066-gbe39636d9f68c437c8a2c2e7a225c4aed4663e78 Author: Roger Sayle Date: Mon Nov 1

[Bug tree-optimization/97736] [9/10/11 Regression] switch codegen

2020-11-16 Thread ncm at cantrip dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97736 --- Comment #12 from ncm at cantrip dot org --- As it is, your probability of failure in 9 and 10 is exactly 1.0.

[Bug c++/90569] __STDCPP_DEFAULT_NEW_ALIGNMENT__ is wrong for i386-pc-solaris2.11

2020-11-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90569 Jonathan Wakely changed: What|Removed |Added Blocks||77691 --- Comment #10 from Jonathan Wa

[Bug sanitizer/97868] New: warn about using fences with TSAN

2020-11-16 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97868 Bug ID: 97868 Summary: warn about using fences with TSAN Product: gcc Version: 10.2.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3

[Bug c++/97846] No diagnostic for use of identifier label in constexpr function

2020-11-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97846 Marek Polacek changed: What|Removed |Added Last reconfirmed||2020-11-17 Status|UNCONFIRME

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

2020-11-16 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97805 --- Comment #4 from John David Anglin --- We need: #include The define for LLONG_MIN is guarded by __STDC_VERSION__ in glimits.h: #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* Minimum and maximum values a `signed long long

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

2020-11-16 Thread foom at fuhm dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88115 --- Comment #7 from James Y Knight --- I've created an ABI proposal against itanium abi, here: https://github.com/itanium-cxx-abi/cxx-abi/issues/112 I realized since writing my last comment here that ::= u [] # vendor extended type has been

[Bug middle-end/95673] missing -Wstring-compare for an impossible strncmp test

2020-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95673 --- Comment #8 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:b1ecb86569f63f897f6a95049c4ccf400bddeaad commit r11-5072-gb1ecb86569f63f897f6a95049c4ccf400bddeaad Author: Martin Sebor Date: Mon

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2020-11-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 95673, which changed state. Bug 95673 Summary: missing -Wstring-compare for an impossible strncmp test https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95673 What|Removed |Added

[Bug middle-end/95673] missing -Wstring-compare for an impossible strncmp test

2020-11-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95673 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/97840] [11 regression] Bogus -Wmaybe-uninitialized

2020-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97840 --- Comment #16 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:3072125a40ccfc139a92d44fb3911a8a7186b025 commit r11-5073-g3072125a40ccfc139a92d44fb3911a8a7186b025 Author: Martin Sebor Date: Mon

[Bug target/97194] optimize vector element set/extract at variable position

2020-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97194 --- Comment #22 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:287cc750b0887e86cb309d976b17c7ee95f7ad48 commit r11-5074-g287cc750b0887e86cb309d976b17c7ee95f7ad48 Author: liuhongt Date: Mon Oct

[Bug target/97194] optimize vector element set/extract at variable position

2020-11-16 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97194 --- Comment #23 from Hongtao.liu --- Fixed in GCC11, may need a bit adjustment for the modeless operand(the variable index) as dicussed in https://gcc.gnu.org/pipermail/gcc-patches/2020-November/559213.html

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

2020-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97682 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Kito Cheng : https://gcc.gnu.org/g:4ba2f918583089172ac899c8eecaddef0d47cd85 commit r10-9033-g4ba2f918583089172ac899c8eecaddef0d47cd85 Author: Monk Chiang Date:

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

2020-11-16 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97869 Bug ID: 97869 Summary: defines __cpp_lib_span even when doesn't provide an implementation Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/97849] [10/11 Regression] aarch64: ICE (segfault) during GIMPLE pass: ifcvt since r10-3543-gf30b3d28

2020-11-16 Thread prathamesh3492 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97849 --- Comment #1 from prathamesh3492 at gcc dot gnu.org --- Hi, Sorry for the breakage, will take a look. Regards, Prathamesh

[Bug fortran/97864] Homebrew Operator Overload ICE

2020-11-16 Thread everythingfunctional at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97864 --- Comment #2 from Brad Richardson --- (In reply to Dominique d'Humieres from comment #1) > Works for me on Big Sur with all the revision I have tried. I just update to Big Sur (initial report was still on Catalina), and am still seeing the sam

[Bug tree-optimization/97849] [10/11 Regression] aarch64: ICE (segfault) during GIMPLE pass: ifcvt since r10-3543-gf30b3d28

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

[Bug tree-optimization/97849] [10/11 Regression] aarch64: ICE (segfault) during GIMPLE pass: ifcvt since r10-3543-gf30b3d28

2020-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97849 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug objc/97854] [11 regression] ODR violation in stub-objc.c

2020-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97854 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/97870] New: [11 Regression] ICE: verify_flow_info failed (error: too many outgoing branch edges from bb 2)

2020-11-16 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97870 Bug ID: 97870 Summary: [11 Regression] ICE: verify_flow_info failed (error: too many outgoing branch edges from bb 2) Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug middle-end/97855] [11 regression] Bogus warning locations during lto-bootstrap

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

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

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

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

2020-11-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97857 --- Comment #12 from Martin Liška --- I can confirm that, using dbgcnt-bisect.py script I was able to reduce that to: -fdbg-cnt=merged_ipa_icf:4876-4877 where the problematic function is really slide: ../../gcc/hash-table.h:1110:1: optimized: Se

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

2020-11-16 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22326 --- Comment #5 from luoxhu at gcc dot gnu.org --- With above hack, changing argument x from float to double could still generate correct code with conversion of fabsf result: float foo(float f, double x, float y) { return (fabs(f)*x+y); } 006t.g

[Bug rtl-optimization/97856] Missed optimization: repeated call

2020-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97856 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Version|

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

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

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

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

[Bug c/97860] [11 Regression] ICE in handle_argspec_attribute, at c-family/c-attribs.c:3244 since r11-3303-g6450f07388f9fe57

2020-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97860 Richard Biener changed: What|Removed |Added Priority|P3 |P1

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

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

[Bug c/97861] [11 Regression] ICE in warn_parm_array_mismatch, at c-family/c-warn.c:3378

2020-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97861 Richard Biener changed: What|Removed |Added Priority|P3 |P1

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

2020-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97862 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug target/97866] [11 Regression] bootstrap error in libasan building a s390x-linux-gnu cross compiler

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

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

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

[Bug target/97870] [11 Regression] ICE: verify_flow_info failed (error: too many outgoing branch edges from bb 2)

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

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

2020-11-16 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 Target Milestone|--- |10.3 Status|UNCONFIRMED

[Bug target/97872] New: Missed optimization for less-than comparison on vectors

2020-11-16 Thread prathamesh3492 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97872 Bug ID: 97872 Summary: Missed optimization for less-than comparison on vectors Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priorit

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

2020-11-16 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97859 --- Comment #2 from Matthias Klose --- targeting powerpc-linux-gnu also works

<    1   2