[Bug target/102602] New: [10/11/12 Regression] 32bit mips: Error: branch out of range

2021-10-05 Thread bunk at stusta dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102602 Bug ID: 102602 Summary: [10/11/12 Regression] 32bit mips: Error: branch out of range Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal

[Bug target/102602] [10/11/12 Regression] 32bit mips: Error: branch out of range

2021-10-05 Thread bunk at stusta dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102602 --- Comment #1 from Adrian Bunk --- Created attachment 51553 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51553&action=edit Generated assembler

[Bug c++/102603] New: Compile-time evaluation of indirection via dangling pointer is not rejected

2021-10-05 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102603 Bug ID: 102603 Summary: Compile-time evaluation of indirection via dangling pointer is not rejected Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: no

[Bug c++/102535] __is_trivially_constructible rejects some trivial cases in aggregate initializations

2021-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102535 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:7646847df71e57edca5ec5b8c3c3dc4550dcb49d commit r12-4181-g7646847df71e57edca5ec5b8c3c3dc4550dcb49d Author: Jonathan Wakely Date:

[Bug tree-optimization/102587] ICE in tree_to_uhwi, at tree.h:4668

2021-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102587 --- Comment #7 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:604459a09585314841cdce4698893c656481691b commit r12-4182-g604459a09585314841cdce4698893c656481691b Author: Richard Biener Date:

[Bug middle-end/102285] New flag -ftrivial-auto-var-init=zero causes crash in pr82421.c

2021-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102285 --- Comment #29 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:604459a09585314841cdce4698893c656481691b commit r12-4182-g604459a09585314841cdce4698893c656481691b Author: Richard Biener Date:

[Bug middle-end/102285] New flag -ftrivial-auto-var-init=zero causes crash in pr82421.c

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

[Bug tree-optimization/102587] ICE in tree_to_uhwi, at tree.h:4668

2021-10-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102587 --- Comment #8 from Richard Biener --- pattern-init support for SVE vectors is still missing as well as maybe handling aggregates with embedded SVE vectors if that's a thing.

[Bug ipa/102528] Unused out-of-line functions emitted for trivial coroutines

2021-10-05 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102528 --- Comment #6 from Iain Sandoe --- #include struct simple { struct promise_type { void return_void() {} std::suspend_never initial_suspend() { return {}; } std::suspend_never final_suspend() noexcept { return {}; }

[Bug target/102604] New: arm v7m_extra_costs for SFmode inaccurate?

2021-10-05 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102604 Bug ID: 102604 Summary: arm v7m_extra_costs for SFmode inaccurate? Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: targe

[Bug ipa/102528] Unused out-of-line functions emitted for trivial coroutines

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

[Bug target/102591] Failure to optimize search for value in vector-sized area to use SIMD

2021-10-05 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102591 --- Comment #2 from Gabriel Ravier --- memcpy can fail on unaligned memory ??? I used it specifically to avoid this problem ! (also, LLVM's code, I am pretty sure, does not have any issue with alignment, as it uses either AVX instructions which

[Bug ipa/102528] Unused out-of-line functions emitted for trivial coroutines

2021-10-05 Thread redbeard0531 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102528 --- Comment #8 from Mathias Stearn --- Sorry again about the confusion caused by my typo. I am not able to edit the comment to make it clear that the comment#0 should be ignored. If that happens again, would it be better for me to close the tick

[Bug other/102605] New: address instruction from -fdump-tree-*-gimple doesn't work with -fgimple

2021-10-05 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102605 Bug ID: 102605 Summary: address instruction from -fdump-tree-*-gimple doesn't work with -fgimple Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norma

[Bug c++/92010] [8/9 Regression] gcc internal error since 8x on warning write-strings

2021-10-05 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92010 qingzhe huang changed: What|Removed |Added CC||nickhuang99 at hotmail dot com --- Comme

[Bug ipa/102528] Unused out-of-line functions emitted for trivial coroutines

2021-10-05 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102528 --- Comment #9 from Iain Sandoe --- (In reply to Mathias Stearn from comment #8) > Sorry again about the confusion caused by my typo. I am not able to edit the > comment to make it clear that the comment#0 should be ignored. If that > happens ag

[Bug tree-optimization/102591] Failure to optimize search for value in vector-sized area to use SIMD

2021-10-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102591 Richard Biener changed: What|Removed |Added Status|WAITING |NEW Component|target

[Bug c/102606] New: miscompilation of a program with large array in a dead-code

2021-10-05 Thread k.even-mendoza at imperial dot ac.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102606 Bug ID: 102606 Summary: miscompilation of a program with large array in a dead-code Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal P

[Bug middle-end/102606] large array in a dead-code is not optimized away at -O0

2021-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102606 Andrew Pinski changed: What|Removed |Added Component|c |middle-end Summary|miscompil

[Bug middle-end/102606] large array in a dead-code is not optimized away at -O0

2021-10-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102606 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/102605] address instruction from -fdump-tree-*-gimple doesn't work with -fgimple

2021-10-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102605 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc

[Bug target/102602] [10/11/12 Regression] 32bit mips: Error: branch out of range

2021-10-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102602 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target|

[Bug libstdc++/91356] Poor optimization of calls involving std::unique_ptr

2021-10-05 Thread nisse at lysator dot liu.se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91356 --- Comment #11 from Niels Möller --- Here's a bit more docs on using std::unique_ptr [[clang::trivial_abi]] with clang and its C++ library. https://libcxx.llvm.org//DesignDocs/UniquePtrTrivialAbi.html As for "No, it needs co-operation between

[Bug c++/98930] ICE with static variable in template function used as template argument

2021-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98930 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:f3930418cb82000fae3cb4e98e870428800cf295 commit r12-4186-gf3930418cb82000fae3cb4e98e870428800cf295 Author: Patrick Palka Date: Tu

[Bug c++/98930] ICE with static variable in template function used as template argument

2021-10-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98930 Patrick Palka changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug c++/55004] [meta-bug] constexpr issues

2021-10-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 98930, which changed state. Bug 98930 Summary: ICE with static variable in template function used as template argument https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98930 What|Removed |A

[Bug tree-optimization/102540] [12 Regression] Dead Code Elimination Regression at -O3 since r12-476-gd846f225c25c5885

2021-10-05 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102540 --- Comment #8 from Andrew Macleod --- > > > > It would probably resolve an entire class of things where we don't > > recognize an > > equivalence between a cast and a bitmask of equivalent precision. > > > > This would also mean the reverse

[Bug other/102605] address instruction from -fdump-tree-*-gimple doesn't work with -fgimple

2021-10-05 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102605 --- Comment #2 from Aldy Hernandez --- (In reply to Richard Biener from comment #1) > You need > > if (p_2(D) == _Literal (char *) &global[2]) > > and of course you need to provide the > > char global[10]; > > declaration. And then we sti

[Bug c++/93389] Failure to detect UB in constexpr context

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

[Bug c++/70331] missing error dereferencing a dangling pointer (out of scope) in constexpr function

2021-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70331 Andrew Pinski changed: What|Removed |Added CC||klaus.doldinger64@googlemai

[Bug c++/55004] [meta-bug] constexpr issues

2021-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 93389, which changed state. Bug 93389 Summary: Failure to detect UB in constexpr context https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93389 What|Removed |Added --

[Bug c++/102603] Compile-time evaluation of indirection via dangling pointer is not rejected

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

[Bug c++/70331] missing error dereferencing a dangling pointer (out of scope) in constexpr function

2021-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70331 Andrew Pinski changed: What|Removed |Added CC||fchelnokov at gmail dot com --- Comment

[Bug c++/55004] [meta-bug] constexpr issues

2021-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 102603, which changed state. Bug 102603 Summary: Compile-time evaluation of indirection via dangling pointer is not rejected https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102603 What|Removed

[Bug tree-optimization/102571] FAIL: libgomp.c/../libgomp.c-c++-common/atomic-21.c execution test

2021-10-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102571 --- Comment #2 from Jakub Jelinek --- Created attachment 51554 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51554&action=edit gcc12-pr102571.patch Untested patch for the OpenMP optimization that will result in this bug not triggering fo

[Bug c++/92010] [8/9 Regression] gcc internal error since 8x on warning write-strings

2021-10-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92010 --- Comment #12 from Patrick Palka --- (In reply to qingzhe huang from comment #11) > The testcase g++.dg/cpp2a/lambda-uneval11.C still suffers a segment fault if > run by compiler cc1plus with latest code. Hmm, I can't reproduce that on latest

[Bug c++/53164] Undefined reference to template function instantiation

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

[Bug target/102604] arm v7m_extra_costs for SFmode inaccurate?

2021-10-05 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102604 --- Comment #1 from Richard Earnshaw --- I wonder if it might be better to change this test to use -Os, since then the cost model is much more consistent as it's based on size rather than speed.

[Bug other/102605] address instruction from -fdump-tree-*-gimple doesn't work with -fgimple

2021-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102605 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:d4f6dbe18374385b8199ca3d6121e37a1189b589 commit r12-4187-gd4f6dbe18374385b8199ca3d6121e37a1189b589 Author: Richard Biener Date:

[Bug c++/102607] New: [modules] option -g results in undefined reference to `typeinfo for type`

2021-10-05 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102607 Bug ID: 102607 Summary: [modules] option -g results in undefined reference to `typeinfo for type` Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: link

[Bug tree-optimization/102608] New: [12 regression] Recent change to VN causes bogus Wuninitialized warnings & kernel build failures

2021-10-05 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102608 Bug ID: 102608 Summary: [12 regression] Recent change to VN causes bogus Wuninitialized warnings & kernel build failures Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug middle-end/102566] [i386] GCC should emit LOCK BTS for simple bit-test-and-set operations with std::atomic

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

[Bug tree-optimization/102608] [12 regression] Recent change to VN causes bogus Wuninitialized warnings & kernel build failures

2021-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102608 --- Comment #1 from Andrew Pinski --- old32_34 = .DEFERRED_INIT (4, 2, 0); ... - _24 = .DEFERRED_INIT (4, 2, 0); - __res ={v} _24; + __res ={v} old32_34; # 68 "../arch/mips/include/asm/cmpxchg.h" This is due to __typeof(*((volatile u32

[Bug tree-optimization/102608] [12 regression] Recent change to VN causes bogus Wuninitialized warnings & kernel build failures

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

[Bug debug/102507] ICE in btf_finalize when compiling with -gbtf

2021-10-05 Thread ibhagat at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102507 Indu Bhagat changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/102609] New: [C++23] P0847R7 - Deducing this

2021-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102609 Bug ID: 102609 Summary: [C++23] P0847R7 - Deducing this Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug middle-end/102566] [i386] GCC should emit LOCK BTS for simple bit-test-and-set operations with std::atomic

2021-10-05 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102566 --- Comment #15 from Thiago Macieira --- Works now for the failing case. Additionally: bool tbit(std::atomic &i) { return i.fetch_and(~CONSTANT, std::memory_order_relaxed) & (CONSTANT); } Will properly produce LOCK BTR (CONSTANT=2):

[Bug middle-end/102566] [i386] GCC should emit LOCK BTS for simple bit-test-and-set operations with std::atomic

2021-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102566 --- Comment #16 from Andrew Pinski --- (In reply to H.J. Lu from comment #14) > Created attachment 51556 [details] > The v5 patch > > Changes in v5: > > 1. Check SSA_NAME before SSA_NAME_OCCURS_IN_ABNORMAL_PHI. Why don't you just move this to

[Bug c++/102610] New: [C++23] P2036R3 - Change scope of lambda trailing-return-type

2021-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102610 Bug ID: 102610 Summary: [C++23] P2036R3 - Change scope of lambda trailing-return-type Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/102604] arm v7m_extra_costs for SFmode inaccurate?

2021-10-05 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102604 --- Comment #2 from Christophe Lyon --- Right, using -Os makes these tests pass (but vsqrt.f32 and vsqrt.f64 would fail), but I'm still wondering about the purpose of vmla? Rather than benchmarking, the costs may come from the Architecture docu

[Bug middle-end/102606] large array in a dead-code is not optimized away at -O0

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

[Bug c++/102611] New: [C++23] P2128R6 - Multidimensional subscript operator

2021-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102611 Bug ID: 102611 Summary: [C++23] P2128R6 - Multidimensional subscript operator Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug c++/92010] [8/9 Regression] gcc internal error since 8x on warning write-strings

2021-10-05 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92010 --- Comment #13 from qingzhe huang --- (In reply to Patrick Palka from comment #12) > (In reply to qingzhe huang from comment #11) > > The testcase g++.dg/cpp2a/lambda-uneval11.C still suffers a segment fault if > > run by compiler cc1plus with l

[Bug c++/102612] New: [C++23] P2242R3 - Non-literal variables (and labels and gotos) in constexpr functions

2021-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102612 Bug ID: 102612 Summary: [C++23] P2242R3 - Non-literal variables (and labels and gotos) in constexpr functions Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/102612] [C++23] P2242R3 - Non-literal variables (and labels and gotos) in constexpr functions

2021-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102612 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug c++/102613] New: [C++23] P2246R1 - Character encoding of diagnostic text

2021-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102613 Bug ID: 102613 Summary: [C++23] P2246R1 - Character encoding of diagnostic text Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Pr

[Bug c++/102614] New: [C++23] P2314R4 - Character sets and encodings

2021-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102614 Bug ID: 102614 Summary: [C++23] P2314R4 - Character sets and encodings Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c++/102615] New: [C++23] P2316R2 - Consistent character literal encoding

2021-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102615 Bug ID: 102615 Summary: [C++23] P2316R2 - Consistent character literal encoding Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Pr

[Bug c++/102615] [C++23] P2316R2 - Consistent character literal encoding

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

[Bug c++/102616] New: [C++23] P2334R1 - Add support for preprocessing directives elifdef and elifndef

2021-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102616 Bug ID: 102616 Summary: [C++23] P2334R1 - Add support for preprocessing directives elifdef and elifndef Product: gcc Version: unknown Status: UNCONFIRMED Sever

[Bug c++/102617] New: [C++23] P2360R0 - Extend init-statement to allow alias-declaration

2021-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102617 Bug ID: 102617 Summary: [C++23] P2360R0 - Extend init-statement to allow alias-declaration Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/102617] [C++23] P2360R0 - Extend init-statement to allow alias-declaration

2021-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102617 Marek Polacek changed: What|Removed |Added Blocks||98940 Status|UNCONFIRMED

[Bug c++/102616] [C++23] P2334R1 - Add support for preprocessing directives elifdef and elifndef

2021-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102616 Marek Polacek changed: What|Removed |Added Last reconfirmed||2021-10-05 Ever confirmed|0

[Bug c++/102490] Erroneous optimization of default constexpr operator== of struct with bitfields

2021-10-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102490 Jakub Jelinek changed: What|Removed |Added Assignee|jakub at gcc dot gnu.org |jason at gcc dot gnu.org --- Com

[Bug demangler/102618] New: d-demangle: anonymous symbols are not being properly skipped

2021-10-05 Thread contact at lsferreira dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102618 Bug ID: 102618 Summary: d-demangle: anonymous symbols are not being properly skipped Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/102606] large array in a dead-code is not optimized away at -O0

2021-10-05 Thread k.even-mendoza at imperial dot ac.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102606 --- Comment #4 from Karine EM --- That would make sense, and I think it is also what happens when compiling the example with Clang and -O0 since the compilation takes only a few seconds then.

[Bug fortran/102619] New: [10/11/12 Regression] ICE in gfc_conv_descriptor_dtype, at fortran/trans-array.c:215

2021-10-05 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102619 Bug ID: 102619 Summary: [10/11/12 Regression] ICE in gfc_conv_descriptor_dtype, at fortran/trans-array.c:215 Product: gcc Version: 12.0 Status: UNCON

[Bug fortran/102619] [10/11/12 Regression] ICE in gfc_conv_descriptor_dtype, at fortran/trans-array.c:215

2021-10-05 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102619 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #1 from G.

[Bug fortran/102620] New: [12 Regression] ICE in gfc_get_array_span, at fortran/trans-array.c:865

2021-10-05 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102620 Bug ID: 102620 Summary: [12 Regression] ICE in gfc_get_array_span, at fortran/trans-array.c:865 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/102620] [12 Regression] ICE in gfc_get_array_span, at fortran/trans-array.c:865

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

[Bug fortran/102621] New: [12 Regression] ICE in convert_nonlocal_reference_op, at tree-nested.c:1166

2021-10-05 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102621 Bug ID: 102621 Summary: [12 Regression] ICE in convert_nonlocal_reference_op, at tree-nested.c:1166 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: no

[Bug target/102477] [12 Regression] ICE: in emit_move_insn, at expr.c:4026 at -Og and -O

2021-10-05 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102477 --- Comment #4 from Zdenek Sojka --- Created attachment 51557 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51557&action=edit another testcase, failing at -O $ x86_64-pc-linux-gnu-gcc -O testcase.c during RTL pass: expand testcase.c: In

[Bug c++/100557] [ICE] Internal compiler error: Error reporting routines re-entered.

2021-10-05 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100557 --- Comment #2 from Luke Dalessandro --- Still failing in trunk, here's a CE link to the preprocessed source https://godbolt.org/z/YPfTGnT5f.

[Bug fortran/102620] [12 Regression] ICE in gfc_get_array_span, at fortran/trans-array.c:865

2021-10-05 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102620 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug c++/102607] [modules] option -g results in undefined reference to `typeinfo for type`

2021-10-05 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102607 --- Comment #1 from Johel Ernesto Guerrero Peña --- A workaround is to define `B`'s destructor as `constexpr virtual ~B() { }`.

[Bug middle-end/102566] [i386] GCC should emit LOCK BTS for simple bit-test-and-set operations with std::atomic

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

[Bug middle-end/102566] [i386] GCC should emit LOCK BTS for simple bit-test-and-set operations with std::atomic

2021-10-05 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102566 --- Comment #18 from H.J. Lu --- (In reply to Andrew Pinski from comment #16) > (In reply to H.J. Lu from comment #14) > > Created attachment 51556 [details] > > The v5 patch > > > > Changes in v5: > > > > 1. Check SSA_NAME before SSA_NAME_OCC

[Bug middle-end/102566] [i386] GCC should emit LOCK BTS for simple bit-test-and-set operations with std::atomic

2021-10-05 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102566 --- Comment #19 from Thiago Macieira --- (In reply to H.J. Lu from comment #17) > Created attachment 51558 [details] > The v6 patch > > Please try this. Confirmed for all inputs.

[Bug c++/102547] [11/12 Regression] g++ 11. ICE with NTTPs and partial specialization

2021-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102547 --- Comment #5 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:d4c470c376b4cb82c9a0b7e8a4b88c44d5e4289d commit r12-4196-gd4c470c376b4cb82c9a0b7e8a4b88c44d5e4289d Author: Patrick Palka Date: T

[Bug tree-optimization/102622] New: Wrong code with -O3 for skylake-avx512 and icelake-server

2021-10-05 Thread vsevolod.livinskij at frtk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 Bug ID: 102622 Summary: Wrong code with -O3 for skylake-avx512 and icelake-server Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c++/102623] New: Failure to detect destructed scalar objects in consteval function

2021-10-05 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102623 Bug ID: 102623 Summary: Failure to detect destructed scalar objects in consteval function Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/102547] [11/12 Regression] g++ 11. ICE with NTTPs and partial specialization

2021-10-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102547 --- Comment #6 from Patrick Palka --- (In reply to Bob Steagall from comment #4) > I have applied this tentative change to line 23436 of gcc/cp/pt.c from the > gcc-11.2.0 source tarball, and can confirm that the test case compiles for > me. > >

[Bug c++/102547] [11 Regression] g++ 11. ICE with NTTPs and partial specialization

2021-10-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102547 Patrick Palka changed: What|Removed |Added Summary|[11/12 Regression] g++ 11. |[11 Regression] g++ 11. ICE

[Bug fortran/102458] ICE tree check: expected array_type, have pointer_type in gfc_conv_array_initializer, at fortran/trans-array.c:6136

2021-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102458 --- Comment #17 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:4aabb9ac284fea307aa70bb8ae4bdce298461bc7 commit r10-10169-g4aabb9ac284fea307aa70bb8ae4bdce298461bc7 Author: Harald Anlauf

[Bug fortran/102458] ICE tree check: expected array_type, have pointer_type in gfc_conv_array_initializer, at fortran/trans-array.c:6136

2021-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102458 --- Comment #18 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:dea2e6c7b5af2ec620fd94d824f006440907a34d commit r10-10170-gdea2e6c7b5af2ec620fd94d824f006440907a34d Author: Harald Anlauf

[Bug fortran/102458] ICE tree check: expected array_type, have pointer_type in gfc_conv_array_initializer, at fortran/trans-array.c:6136

2021-10-05 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102458 anlauf at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |10.4 Status|ASSI

[Bug c++/102623] Failure to detect destructed scalar objects in consteval function

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

[Bug fortran/102582] allocate treats all variables as type CHARACTER after use of CHARACTER(LEN=NNN)::

2021-10-05 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102582 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |INVALID Status|U

[Bug fortran/102595] ICE in var_element, at fortran/decl.c:298

2021-10-05 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102595 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug c++/102548] [9/10/11/12 Regression] ICE with cdecl attribute on a builtin function since r7-4737-g48330c9355e32a41

2021-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102548 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:737f95bab557584d876f02779ab79fe3cfaacacf commit r12-4198-g737f95bab557584d876f02779ab79fe3cfaacacf Author: Jakub Jelinek Date: T

[Bug c++/102496] [11 regression] extern __thread and thread_local declaration in function scope produces a non-TLS reference

2021-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102496 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5fec46a0b4a94190209c81f4091a0369a056727d commit r11-9073-g5fec46a0b4a94190209c81f4091a0369a056727d Author: Jakub Jelinek

[Bug sanitizer/102515] UBSAN misses signed division instrumentation

2021-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102515 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:dcf70cb0d85d04ff680a361e32d79c326ae8b3fc commit r11-9074-gdcf70cb0d85d04ff680a361e32d79c326ae8b3fc Author: Jakub Jelinek

[Bug c++/102548] [9/10/11/12 Regression] ICE with cdecl attribute on a builtin function since r7-4737-g48330c9355e32a41

2021-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102548 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e1edbce89a93dde8653666eaf402d58dda43e3b0 commit r11-9075-ge1edbce89a93dde8653666eaf402d58dda43e3b0 Author: Jakub Jelinek

[Bug c++/92010] [8/9 Regression] gcc internal error since 8x on warning write-strings

2021-10-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92010 --- Comment #14 from Patrick Palka --- (In reply to qingzhe huang from comment #13) > (In reply to Patrick Palka from comment #12) > > (In reply to qingzhe huang from comment #11) > > > The testcase g++.dg/cpp2a/lambda-uneval11.C still suffers a

[Bug c++/102548] [9/10 Regression] ICE with cdecl attribute on a builtin function since r7-4737-g48330c9355e32a41

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

[Bug c++/92010] [8/9 Regression] gcc internal error since 8x on warning write-strings

2021-10-05 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92010 --- Comment #15 from qingzhe huang --- >>Might be better to open a separate PR for this as it seems to be a latent bug. thanks, I will file a new bug. From: ppalka at gcc dot gnu.org Sent: October 5, 2021 5:05 PM To: nickhuan...@hotmail

[Bug c++/102624] New: testcase lambda-uneval11.C causes cc1plus segment fault

2021-10-05 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102624 Bug ID: 102624 Summary: testcase lambda-uneval11.C causes cc1plus segment fault Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Prio

[Bug c++/92010] [8/9 Regression] gcc internal error since 8x on warning write-strings

2021-10-05 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92010 --- Comment #16 from qingzhe huang --- > Ah yeah, I can reproduce the crash when invoking cc1plus directly and also > when > passing -Q to the driver.  Might be better to open a separate PR for this as > it > seems to be a latent bug. just open

[Bug target/102485] -Wa,-many no longer has any effect

2021-10-05 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102485 --- Comment #3 from Segher Boessenkool --- (In reply to Paul Clarke from comment #2) > GCC putting the base ".machine" directive at the beginning of the file makes > any command-line use of "-many" (-Wa,-many) be ignored. Is that OK? If peopl

[Bug c++/102548] [9/10 Regression] ICE with cdecl attribute on a builtin function since r7-4737-g48330c9355e32a41

2021-10-05 Thread ulatekh at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102548 --- Comment #10 from Steven Boswell II --- Great work! Thanks! The patch seems to apply to gcc 10 also, but I haven't built the result yet.

  1   2   >