[Bug tree-optimization/101110] [12 regression] gcc.c-torture/execute/950704-1.c fails after r12-1546

2021-07-15 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101110 --- Comment #5 from Xi Ruoyao --- (In reply to Andrew Macleod from comment #4) > Does this still fail? When i look at a cross compiler listing I do not see > any differences from ranger in the listing. Should be fixed at

[Bug target/61032] rs6000 code gen suffers from lack of address_cost

2021-07-15 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61032 Alan Modra changed: What|Removed |Added Assignee|amodra at gmail dot com|unassigned at gcc dot gnu.org

[Bug target/94393] Powerpc suboptimal 64-bit constant comparison

2021-07-15 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94393 Alan Modra changed: What|Removed |Added Status|ASSIGNED|NEW URL|

[Bug target/101448] Use GCC 9.3.0 to build Ceph crimson-osd on Arm64, linker failed for relocation truncated to fit: R_AARCH64_CALL26 against symbol

2021-07-15 Thread kevin.zhao at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101448 --- Comment #7 from Kevin Zhao --- Hi Richard, Thanks for your clarification. Really appreciated! I think that should be the root cause.

[Bug c/101453] ICE on compilable code: *** buffer overflow detected ***: terminated

2021-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101453 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug target/101464] Replace zveroupper with vpxor

2021-07-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101464 --- Comment #2 from H.J. Lu --- Created attachment 51159 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51159=edit A patch

[Bug target/101464] Replace zveroupper with vpxor

2021-07-15 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101464 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #1

[Bug other/101459] Mismatch in description of option "-falign-functions" between source code and documentation

2021-07-15 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101459 --- Comment #5 from ashimida --- (In reply to Andrew Pinski from comment #4) > (In reply to ashimida from comment #3) > > (In reply to Richard Biener from comment #2) > > > The flag, -falign-functions is only enabled at -O2+ (but not -Os), but

[Bug other/101459] Mismatch in description of option "-falign-functions" between source code and documentation

2021-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101459 --- Comment #4 from Andrew Pinski --- (In reply to ashimida from comment #3) > (In reply to Richard Biener from comment #2) > > The flag, -falign-functions is only enabled at -O2+ (but not -Os), but the > > actual alignment is recorded in the

[Bug tree-optimization/101110] [12 regression] gcc.c-torture/execute/950704-1.c fails after r12-1546

2021-07-15 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101110 --- Comment #4 from Andrew Macleod --- Does this still fail? When i look at a cross compiler listing I do not see any differences from ranger in the listing.

[Bug c++/50462] poor diagnostics for missing parenthesis in call to method

2021-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50462 --- Comment #7 from Jonathan Wakely --- Oh, it's the overloaded function thjat makes the difference between saying "invalid use of non-static member function" and trying to do overload resolution with an . Reduced example that actually

[Bug c++/101465] Poorly worded error from a call to a pointer-to-member function not wrapped in parentheses

2021-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101465 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/50462] poor diagnostics for missing parenthesis in call to method

2021-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50462 --- Comment #6 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #5) > Since GCC 4.9 we don't perform overload resolution, so I think this is fixed: Huh, that's true for the reduced example in comment 4, but the original one

[Bug c++/50462] poor diagnostics for missing parenthesis in call to method

2021-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50462 --- Comment #5 from Jonathan Wakely --- Since GCC 4.9 we don't perform overload resolution, so I think this is fixed: 50462.C: In function 'void print(V)': 50462.C:13:13: error: invalid use of non-static member function 'int V::size()' 13 |

[Bug target/101346] ICE: maximum number of generated reload insns per insn achieved (90)

2021-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101346 --- Comment #3 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:f364cdffa47af574f90f671b2dcf5afa91442741 commit r12-2340-gf364cdffa47af574f90f671b2dcf5afa91442741 Author: Uros Bizjak Date: Thu

[Bug c++/17459] Spurious message when forgetting parentheses on call of member

2021-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17459 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2005-06-13 00:43:47 |2021-7-15 --- Comment #6 from

[Bug tree-optimization/85316] [meta-bug] VRP range propagation missed cases

2021-07-15 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85316 Bug 85316 depends on bug 71690, which changed state. Bug 71690 Summary: some integer conversions defeat memcpy optimizaton https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71690 What|Removed |Added

[Bug middle-end/71690] some integer conversions defeat memcpy optimizaton

2021-07-15 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71690 Andrew Macleod changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/83596] ['17] can't use member pointer result of a constexpr function as template argument

2021-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83596 Jonathan Wakely changed: What|Removed |Added CC||jakub at gcc dot gnu.org Target

[Bug tree-optimization/101466] Optimizers should fold bounds checking for -D_GLIBCXX_ASSERTIONS=1

2021-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101466 --- Comment #7 from Andrew Pinski --- (In reply to cqwrteur from comment #6) > (In reply to Andrew Pinski from comment #4) > > Reduced testcase: > > extern void g() __attribute__((noreturn)); > > > > void square(int t, int *tt) > > { > >

[Bug tree-optimization/101466] Optimizers should fold bounds checking for -D_GLIBCXX_ASSERTIONS=1

2021-07-15 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101466 --- Comment #6 from cqwrteur --- (In reply to Andrew Pinski from comment #4) > Reduced testcase: > extern void g() __attribute__((noreturn)); > > void square(int t, int *tt) > { > if (t == 0) g(); > tt[0] = 0; > if (t == 1) g();

[Bug tree-optimization/101466] Optimizers should fold bounds checking for -D_GLIBCXX_ASSERTIONS=1

2021-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101466 --- Comment #5 from Andrew Pinski --- (In reply to cqwrteur from comment #2) > The --enable-libstdcxx-verbose has side effects, not optimizing to > vectorization code is correct, although Those can be merged still since the arguments to

[Bug analyzer/95006] RFE: Reimplement -Wanalyzer-use-of-uninitialized-value

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

[Bug analyzer/95006] RFE: Reimplement -Wanalyzer-use-of-uninitialized-value

2021-07-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95006 Bug 95006 depends on bug 94714, which changed state. Bug 94714 Summary: Analyzer: no warning on access of an uninitialized variable of automatic storage duration https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94714 What|Removed

[Bug analyzer/94714] Analyzer: no warning on access of an uninitialized variable of automatic storage duration

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

[Bug analyzer/95006] RFE: Reimplement -Wanalyzer-use-of-uninitialized-value

2021-07-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95006 Bug 95006 depends on bug 94713, which changed state. Bug 94713 Summary: Analyzer is buggy on uninitialized pointer https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94713 What|Removed |Added

[Bug analyzer/94713] Analyzer is buggy on uninitialized pointer

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

[Bug tree-optimization/101466] Optimizers should fold bounds checking for -D_GLIBCXX_ASSERTIONS=1

2021-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101466 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-07-15

[Bug tree-optimization/101466] Optimizers should fold bounds checking for -D_GLIBCXX_ASSERTIONS=1 + --disable-libstdcxx-verbose

2021-07-15 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101466 --- Comment #3 from cqwrteur --- > > However, the __builtin_abort() case can be merged together without any issue > I believe. And optimize to vectorized code.

[Bug tree-optimization/101466] Optimizers should fold bounds checking for -D_GLIBCXX_ASSERTIONS=1 + --disable-libstdcxx-verbose

2021-07-15 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101466 --- Comment #2 from cqwrteur --- The --enable-libstdcxx-verbose has side effects, not optimizing to vectorization code is correct, although .L12: mov ecx, OFFSET FLAT:.LC1 mov edx, OFFSET FLAT:.LC2 mov esi,

[Bug tree-optimization/101466] Optimizers should fold bounds checking for -D_GLIBCXX_ASSERTIONS=1

2021-07-15 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101466 --- Comment #1 from cqwrteur --- Created attachment 51158 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51158=edit this is the assembly generated from --disable-libstdcxx-verbose The bounds checking is still not folding together, even

[Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings

2021-07-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 97027, which changed state. Bug 97027 Summary: missing warning on buffer overflow storing a larger scalar into a smaller array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97027 What|Removed

[Bug middle-end/97027] missing warning on buffer overflow storing a larger scalar into a smaller array

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

[Bug tree-optimization/101466] New: Optimizers should fold bounds checking for -D_GLIBCXX_ASSERTIONS=1

2021-07-15 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101466 Bug ID: 101466 Summary: Optimizers should fold bounds checking for -D_GLIBCXX_ASSERTIONS=1 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug middle-end/97027] missing warning on buffer overflow storing a larger scalar into a smaller array

2021-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97027 --- Comment #10 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:f0500db3692276f60e0562c17c87a0cb03e34398 commit r12-2338-gf0500db3692276f60e0562c17c87a0cb03e34398 Author: Martin Sebor Date:

[Bug analyzer/94714] Analyzer: no warning on access of an uninitialized variable of automatic storage duration

2021-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94714 --- Comment #3 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:33255ad3ac14e3953750fe0f2d82b901c2852ff6 commit r12-2337-g33255ad3ac14e3953750fe0f2d82b901c2852ff6 Author: David Malcolm Date:

[Bug analyzer/95006] RFE: Reimplement -Wanalyzer-use-of-uninitialized-value

2021-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95006 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:33255ad3ac14e3953750fe0f2d82b901c2852ff6 commit r12-2337-g33255ad3ac14e3953750fe0f2d82b901c2852ff6 Author: David Malcolm Date:

[Bug analyzer/94713] Analyzer is buggy on uninitialized pointer

2021-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94713 --- Comment #3 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:33255ad3ac14e3953750fe0f2d82b901c2852ff6 commit r12-2337-g33255ad3ac14e3953750fe0f2d82b901c2852ff6 Author: David Malcolm Date:

[Bug c++/101465] New: Poorly worded error from a call to a pointer-to-member function not wrapped in parentheses

2021-07-15 Thread josephcsible at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101465 Bug ID: 101465 Summary: Poorly worded error from a call to a pointer-to-member function not wrapped in parentheses Product: gcc Version: 11.1.0 Status: UNCONFIRMED

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-07-15 Thread bugzilla-gcc at thewrittenword dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #243 from The Written Word --- (In reply to John Buddery from comment #238) > It seems binutils 2.32 and earlier works fine in 32 bit mode, but 2.33.1 and > later require a 64 bit build for 64 bit objects to work reliably. I can

[Bug target/101464] New: Replace zveroupper with vpxor

2021-07-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101464 Bug ID: 101464 Summary: Replace zveroupper with vpxor Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/101448] Use GCC 9.3.0 to build Ceph crimson-osd on Arm64, linker failed for relocation truncated to fit: R_AARCH64_CALL26 against symbol

2021-07-15 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101448 --- Comment #6 from Richard Earnshaw --- (In reply to Kevin Zhao from comment #5) > Hi Richard, > > Thanks for your info. > Previously it is built without any -O parameters, so it should be -O0 by > default. > > I've tried to use the "-Og" to

[Bug driver/47785] GCC with -flto does not pass -Wa/-Xassembler options to the assembler

2021-07-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47785 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/98667] gcc generates endbr32 invalid opcode on -march=i486

2021-07-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98667 H.J. Lu changed: What|Removed |Added Target Milestone|--- |11.0 Status|NEW

[Bug c++/101443] [9/10/11 Regression] internal compiler error: in wide_int_to_tree_1, at tree.c:1519

2021-07-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101443 Jakub Jelinek changed: What|Removed |Added Summary|[9/10/11/12 Regression] |[9/10/11 Regression]

[Bug c++/101443] [9/10/11/12 Regression] internal compiler error: in wide_int_to_tree_1, at tree.c:1519

2021-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101443 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:7094a69bd62a14dfa311eaa2fea468f221c7c9f3 commit r12-2331-g7094a69bd62a14dfa311eaa2fea468f221c7c9f3 Author: Jakub Jelinek Date:

[Bug middle-end/101457] [12 regression] new test cases in r12-2300 fail

2021-07-15 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101457 Tamar Christina changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/101457] [12 regression] new test cases in r12-2300 fail

2021-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101457 --- Comment #2 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:b25edf6e6feeadc6a5aa337b8c725786227162dd commit r12-2330-gb25edf6e6feeadc6a5aa337b8c725786227162dd Author: Tamar Christina

[Bug c/97548] bogus -Wvla-parameter on a bound expression involving a parameter

2021-07-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97548 --- Comment #4 from Martin Sebor --- Fixed for GCC 12.0.

[Bug c/101289] bogus -Wvla-paramater warning when using const for vla param

2021-07-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101289 Martin Sebor changed: What|Removed |Added Known to fail|12.0| --- Comment #4 from Martin Sebor ---

[Bug c/101289] bogus -Wvla-paramater warning when using const for vla param

2021-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101289 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:98f1f9f38c45218c06200feb1939c9433a2ab6ca commit r12-2329-g98f1f9f38c45218c06200feb1939c9433a2ab6ca Author: Martin Sebor Date:

[Bug c/97548] bogus -Wvla-parameter on a bound expression involving a parameter

2021-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97548 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:98f1f9f38c45218c06200feb1939c9433a2ab6ca commit r12-2329-g98f1f9f38c45218c06200feb1939c9433a2ab6ca Author: Martin Sebor Date: Thu

[Bug c++/101233] ICE when using ::ranges::v3::to

2021-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101233 --- Comment #6 from Jonathan Wakely --- (In reply to Patrick Palka from comment #5) > but one needs to include > as well (for pmr::polymorphic_allocator). For libstdc++ the header only declares the pmr::vector alias, without defining

[Bug c++/101233] ICE when using ::ranges::v3::to

2021-07-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101233 --- Comment #5 from Patrick Palka --- Looks like the original testcase is indeed valid, but one needs to include as well (for pmr::polymorphic_allocator). Reduced: template struct A { A(T, U); }; template using B = A; using type =

[Bug fortran/100949] [9/10/11/12 Regression] ICE in gfc_conv_expr_present, at fortran/trans-expr.c:1975

2021-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100949 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:ba66193c2966ff7106245e23d6b359f7d30bcff7 commit r11-8756-gba66193c2966ff7106245e23d6b359f7d30bcff7 Author: Harald Anlauf

[Bug libstdc++/101307] Variable templates for type traits—corrections

2021-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101307 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2021-07-15 Ever confirmed|0

[Bug c++/101463] New: Using a constexpr variable template specialization as default argument for non-type template parameter of reference type leads gcc to reject function call

2021-07-15 Thread michael.kenzel at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101463 Bug ID: 101463 Summary: Using a constexpr variable template specialization as default argument for non-type template parameter of reference type leads gcc to reject function call

[Bug libstdc++/101427] [11 Regression] std::get should refuse to compile if type is provided and it is duplicated in std::tuple

2021-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101427 Jonathan Wakely changed: What|Removed |Added Summary|[11/12 Regression] std::get |[11 Regression] std::get

[Bug libstdc++/101429] __replacement_assert should be marked as noexcept

2021-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101429 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug libstdc++/101427] [11/12 Regression] std::get should refuse to compile if type is provided and it is duplicated in std::tuple

2021-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101427 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:17855eed7fc76b2cee7fbbc26f84d3c8b99be13c commit r12-2327-g17855eed7fc76b2cee7fbbc26f84d3c8b99be13c Author: Jonathan Wakely

[Bug c++/101460] Useless cascade of overload resolution errors for invalid expression

2021-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101460 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:17855eed7fc76b2cee7fbbc26f84d3c8b99be13c commit r12-2327-g17855eed7fc76b2cee7fbbc26f84d3c8b99be13c Author: Jonathan Wakely

[Bug libstdc++/101429] __replacement_assert should be marked as noexcept

2021-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101429 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:1f7182d68c24985dace2a94422c671ff987c262c commit r12-2326-g1f7182d68c24985dace2a94422c671ff987c262c Author: Jonathan Wakely

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-07-15 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #242 from dave.anglin at bell dot net --- On 2021-07-15 11:01 a.m., bugzilla-gcc at thewrittenword dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 > > --- Comment #241 from The Written Word com> --- > (In reply to

[Bug c++/101233] ICE when using ::ranges::v3::to

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

[Bug target/101129] [11/12 Regression] wrong code at -O1 since r11-5839

2021-07-15 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101129 Bill Schmidt changed: What|Removed |Added Known to fail|12.0| Known to work|

[Bug tree-optimization/101462] New: [12 regression] ICE on aarch64 after r12-2292

2021-07-15 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101462 Bug ID: 101462 Summary: [12 regression] ICE on aarch64 after r12-2292 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/101129] [11/12 Regression] wrong code at -O1 since r11-5839

2021-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101129 --- Comment #9 from CVS Commits --- The master branch has been updated by William Schmidt : https://gcc.gnu.org/g:ad5f8ac1d2f2dc92d43663243b52f9e9eb3cf7c0 commit r12-2325-gad5f8ac1d2f2dc92d43663243b52f9e9eb3cf7c0 Author: Bill Schmidt Date:

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-07-15 Thread bugzilla-gcc at thewrittenword dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #241 from The Written Word --- (In reply to John Buddery from comment #240) > One question about PR66319 - it's marked as resolved, so is this committed > as a patch in the trunk ? It's resolved for HP-UX/PA but my HP-UX/IA patch

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-07-15 Thread jvb at cyberscience dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #240 from John Buddery --- Yeah, it sure eats up the space. One question about PR66319 - it's marked as resolved, so is this committed as a patch in the trunk ? I'm hoping that eventually there will be a way to get all the edits

[Bug c++/99664] Overriding virtual function with different return type (and not covariant) is allowed to compile, when it shouldn’t be

2021-07-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99664 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-07-15 Thread bugzilla-gcc at thewrittenword dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #239 from The Written Word --- (In reply to John Buddery from comment #238) > Thanks, I'll give it a go. > > It seems binutils 2.32 and earlier works fine in 32 bit mode, but 2.33.1 and > later require a 64 bit build for 64 bit

[Bug target/101456] Unnecessary vzeroupper when upper bits of YMM registers already zero

2021-07-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101456 H.J. Lu changed: What|Removed |Added Attachment #51153|0 |1 is obsolete|

[Bug testsuite/101461] New: [12 regression] gcc.target/powerpc/fold-vec-load-builtin_vec_xl test cases fail after r12-2266

2021-07-15 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101461 Bug ID: 101461 Summary: [12 regression] gcc.target/powerpc/fold-vec-load-builtin_vec_xl test cases fail after r12-2266 Product: gcc Version: 12.0

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-07-15 Thread jvb at cyberscience dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #238 from John Buddery --- Thanks, I'll give it a go. It seems binutils 2.32 and earlier works fine in 32 bit mode, but 2.33.1 and later require a 64 bit build for 64 bit objects to work reliably. Was your 11.1 build successful ?

[Bug driver/101447] Remove legacy external declarations in toplev.h

2021-07-15 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101447 ashimida changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug demangler/100968] libiberty: stuck in infinite loop in nm-new while demangling rust symbols

2021-07-15 Thread nickc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100968 Nick Clifton changed: What|Removed |Added CC||nickc at gcc dot gnu.org --- Comment #1

[Bug libstdc++/101427] [11/12 Regression] std::get should refuse to compile if type is provided and it is duplicated in std::tuple

2021-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101427 --- Comment #1 from Jonathan Wakely --- The std::get code stopped working as a result of r11-4693 which implemented a core language change: c++: DR2303, ambiguous base deduction [PR97453] When there are two possible matches and one is

[Bug target/101023] [11/12 Regression] wrong code with -mstackrealign

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

[Bug target/101023] [11/12 Regression] wrong code with -mstackrealign

2021-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101023 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:ba3b30cf70990f4aadb393b64b76ff490bb0bd0f commit r11-8755-gba3b30cf70990f4aadb393b64b76ff490bb0bd0f Author: H.J. Lu Date:

[Bug c++/99664] Overriding virtual function with different return type (and not covariant) is allowed to compile, when it shouldn’t be

2021-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99664 Jonathan Wakely changed: What|Removed |Added CC||xmh970252187 at gmail dot com ---

[Bug c++/101458] An invalid covaraint return type is accepted

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

[Bug target/101395] [11/12 regression] Compile failure with -march=native -m32 on sapphirerapids

2021-07-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101395 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/101395] [11/12 regression] Compile failure with -march=native -m32 on sapphirerapids

2021-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101395 --- Comment #13 from CVS Commits --- The releases/gcc-11 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:a0128f11e9dadc3cc3ed0ad0edb36593b16f72e8 commit r11-8754-ga0128f11e9dadc3cc3ed0ad0edb36593b16f72e8 Author: H.J. Lu Date:

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-07-15 Thread bugzilla-gcc at thewrittenword dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #237 from The Written Word --- (In reply to John Buddery from comment #228) > gcov-tool.c avoids build errors from ftwbuf differences on HP, apply if you > hit errors but may need tidying up. Instead of this patch, try the patch

[Bug c++/101460] Useless cascade of overload resolution errors for invalid expression

2021-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101460 --- Comment #2 from Jonathan Wakely --- I know that attempting to continue compiling can be very useful, so that additional errors in the code can still be diagnosed. But in this case, maybe we should mark 'n' as "tainted" so that we don't keep

[Bug c++/101460] Useless cascade of overload resolution errors for invalid expression

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

[Bug inline-asm/101422] register variable uninitialised before passing to asm

2021-07-15 Thread simon.willcocks at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101422 --- Comment #8 from Simon Willcocks --- (In reply to Andrew Pinski from comment #4) > (In reply to Simon Willcocks from comment #2) > > That's not an accurate description of the problem; the value of the variable > > is being passed, not its

[Bug c++/96286] Unhelpful errors after a failed static_assert

2021-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96286 --- Comment #3 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #2) > Why is the compiler even doing overload resolution for std::get if I is > an invalid constant expression?! It's not going to match any overload! This part

[Bug target/101448] Use GCC 9.3.0 to build Ceph crimson-osd on Arm64, linker failed for relocation truncated to fit: R_AARCH64_CALL26 against symbol

2021-07-15 Thread kevin.zhao at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101448 --- Comment #5 from Kevin Zhao --- Hi Richard, Thanks for your info. Previously it is built without any -O parameters, so it should be -O0 by default. I've tried to use the "-Og" to link, it is quite interesting that use -Og we can link

[Bug c++/101460] New: Useless cascade of overload resolution errors for invalid expression

2021-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101460 Bug ID: 101460 Summary: Useless cascade of overload resolution errors for invalid expression Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug c++/96286] Unhelpful errors after a failed static_assert

2021-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96286 --- Comment #2 from Jonathan Wakely --- It also doesn't help that the compiler thwarts my attempt to trigger errors earlier like so: // Return index of _Tp in _Types. // Ill-formed if _Tp doesn't occur exactly once in _Types. template

[Bug c++/96286] Unhelpful errors after a failed static_assert

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

[Bug target/101346] ICE: maximum number of generated reload insns per insn achieved (90)

2021-07-15 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101346 Uroš Bizjak changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail dot com Ever

[Bug target/101448] Use GCC 9.3.0 to build Ceph crimson-osd on Arm64, linker failed for relocation truncated to fit: R_AARCH64_CALL26 against symbol

2021-07-15 Thread xinliang.liu at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101448 --- Comment #4 from Xinliang --- Looking into the relocation code[1] of ld. I'm very curious why ld can't handle long call here. [1]: ``` 2976 static enum elf_aarch64_stub_type 2977 aarch64_type_of_stub (asection *input_sec, 2978

[Bug middle-end/97027] missing warning on buffer overflow storing a larger scalar into a smaller array

2021-07-15 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97027 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug middle-end/101437] [12 Regression] ICE: Segmentation fault signal terminated program cc1

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

[Bug middle-end/101437] [12 Regression] ICE: Segmentation fault signal terminated program cc1

2021-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101437 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f6dde32b9d487dd6e343d0a1e1d1f60783f5e735 commit r12-2320-gf6dde32b9d487dd6e343d0a1e1d1f60783f5e735 Author: Jakub Jelinek Date:

[Bug ipa/54569] Compiling code with -O3 results to segfault in MAME/MESS binary

2021-07-15 Thread alexander.grund--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54569 Alexander Grund changed: What|Removed |Added CC||alexander.grund@tu-dresden.

[Bug debug/101452] [debug, dwarf-5] undefined static member removed by -feliminate-unused-debug-symbols

2021-07-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101452 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug debug/101452] [debug, dwarf-5] undefined static member removed by -feliminate-unused-debug-symbols

2021-07-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101452 --- Comment #3 from Richard Biener --- I agree the pruning doesn't make much sense and that it's bad from a QOI perspective. So it looks like fixing this part would be better then.

  1   2   >