[Bug rtl-optimization/101594] ICE: Segmentation fault with "-O2 -fno-if-conversion -fno-ssa-phiopt -fno-tree-ch -fno-tree-dominator-opts -fno-tree-pre -fno-tree-reassoc -fselective-scheduling -fschedu

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

[Bug tree-optimization/101594] ICE: Segmentation fault with "-O2 -fno-if-conversion -fno-ssa-phiopt -fno-tree-ch -fno-tree-dominator-opts -fno-tree-pre -fno-tree-reassoc -fselective-scheduling -fsched

2021-07-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101594 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug driver/101546] Sporadic issue during compiling a code with a '--save-temps' option

2021-07-22 Thread stanislav.simek at siemens dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101546 --- Comment #4 from Stanislav Šimek --- Hi this is copy paste mistake, we are using same compile comands for 11.1.0 and 10.2. Correct one Command Line: mips_gcc_sde_elf_11.1.0/bin/mips-sde-elf-gcc-O0 -Wunused > -Wreturn-type -Wundef -fno-co

[Bug tree-optimization/101594] New: ICE: Segmentation fault with "-O2 -fno-if-conversion -fno-ssa-phiopt -fno-tree-ch -fno-tree-dominator-opts -fno-tree-pre -fno-tree-reassoc -fselective-scheduling -f

2021-07-22 Thread suochenyao at 163 dot com via Gcc-bugs
ion 12.0.0 20210722 (experimental) (GCC) git version 4048d8a08621820dd6cc6035e13de3c3c82af4a5 *** $ gcc -O2 -fno-if-conversion -fno-ssa-phiopt -fno-tree-ch -fno-tree-dominator-opts -fno-tree-pre -fno-tree-reassoc -

[Bug target/101593] New: mips: operands missing mode

2021-07-22 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101593 Bug ID: 101593 Summary: mips: operands missing mode Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Ass

[Bug c++/101592] New: ICE in wide_int_to_tree, at tree.c:1427

2021-07-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101592 Bug ID: 101592 Summary: ICE in wide_int_to_tree, at tree.c:1427 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Pri

[Bug middle-end/101586] ICE:in clear_padding_type, at gimple-fold.c:4783 with call to __builtin_clear_padding for C++

2021-07-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586 Martin Liška changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug tree-optimization/101591] (a|b) ==/!= a -> (b & ~a) ==/!= 0 on gimple

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101591 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Mine, something like: > (for cmp (eq ne) > (simplify > (cmp:c (bit_ior @0 INTEGER_CST@1) @0) > (cmp:c (bit_and @1 (bit_not @0)) { build_zero_cst (TREE_TYPE(

[Bug tree-optimization/101591] (a|b) ==/!= a -> (b & ~a) ==/!= 0 on gimple

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101591 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug tree-optimization/96779] Failure to optimize comparison of negative version of self

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96779 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Keywords|

[Bug tree-optimization/101591] (a|b) ==/!= a -> (b & ~a) ==/!= 0 on gimple

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101591 --- Comment #1 from Andrew Pinski --- I noticed this while working on PR96779

[Bug tree-optimization/101591] New: (a|b) ==/!= a -> (b & ~a) ==/!= 0 on gimple

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101591 Bug ID: 101591 Summary: (a|b) ==/!= a -> (b & ~a) ==/!= 0 on gimple Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug libstdc++/101589] Incorrect implementation of LWG 3533 for elements_view

2021-07-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101589 Patrick Palka changed: What|Removed |Added Target Milestone|--- |10.4 Last reconfirmed|

[Bug tree-optimization/101590] New: (len & - N) <= len is not optimized to 1

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101590 Bug ID: 101590 Summary: (len & - N) <= len is not optimized to 1 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug tree-optimization/97529] Condition not constant folded

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

[Bug c++/68258] core 879 Missing built-in comparison operators for pointer types not supported

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68258 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED See Also|

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

2021-07-22 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 69700, which changed state. Bug 69700 Summary: [C++14] constexpr incorrectly implies const https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69700 What|Removed |Added

[Bug c++/69700] [C++14] constexpr incorrectly implies const

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

[Bug c++/71534] [C++11/14] Initializing a static constexpr data member of a base class by using a static constexpr data member of a derived class should be an error

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71534 Andrew Pinski changed: What|Removed |Added Blocks||55004 Status|UNCONFIRMED

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

2021-07-22 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 68985, which changed state. Bug 68985 Summary: braced initializer bug when defining a static constexpr int within a class https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68985 What|Removed

[Bug c++/68985] braced initializer bug when defining a static constexpr int within a class

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

[Bug c++/101588] [DR2126] rejects valid constexpr when binding from a constexpr function and initializer_list

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101588 Andrew Pinski changed: What|Removed |Added Summary|rejects valid constexpr |[DR2126] rejects valid

[Bug c++/101588] rejects valid constexpr when binding from a constexpr function and initializer_list

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101588 --- Comment #1 from Andrew Pinski --- Note clang was only fixed in clang 12.

[Bug c++/101589] New: Incorrect implementation of LWG 3533 for elements_view

2021-07-22 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101589 Bug ID: 101589 Summary: Incorrect implementation of LWG 3533 for elements_view Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug c++/66287] [C++11] A constexpr variable of "const int* const&" cannot be initialized

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66287 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED See Also|

[Bug c++/101588] New: rejects valid constexpr when binding from a constexpr function

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101588 Bug ID: 101588 Summary: rejects valid constexpr when binding from a constexpr function Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: rejects-valid

[Bug libstdc++/101587] New: uninitialized_copy/move incorrectly uses std::min

2021-07-22 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101587 Bug ID: 101587 Summary: uninitialized_copy/move incorrectly uses std::min Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug target/100952] [12 regression] several test case failures after r12-1202

2021-07-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100952 --- Comment #9 from CVS Commits --- The master branch has been updated by HaoChen Gui : https://gcc.gnu.org/g:3382846558e02044598556e66e5ea1cb3115429d commit r12-2479-g3382846558e02044598556e66e5ea1cb3115429d Author: Haochen Gui Date: Fri J

[Bug c++/44282] fastcall is not mangled at all

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44282 Andrew Pinski changed: What|Removed |Added CC||jacek at codeweavers dot com --- Comment

[Bug c++/79582] Wrong mangled name for stdcall functions with templated arguments when referenced directly from vtbl.

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

[Bug c++/29328] calling convention attributes not encoded in member function pointer

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29328 Andrew Pinski changed: What|Removed |Added CC||puetzk at puetzk dot org --- Comment #2

[Bug target/65789] "cannot convert" calling convention

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

[Bug c++/65591] G++ should use default constructor for {}-init when possible

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65591 --- Comment #3 from Andrew Pinski --- We should be able to do a loop instead of 1000 calls though.

[Bug c++/61834] __attribute__((may_alias)) causes compilation error with forward-declared constructor

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61834 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid Status|UNCONFI

[Bug c++/53725] Prototype does not match error if the definition of the ctor is separated from its declaration and attributes

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53725 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |6.0 See Also|

[Bug c++/60273] [DR 1430] gcc gets confused when one class uses variadic

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60273 --- Comment #3 from Andrew Pinski --- The DR is still active but clang no longer accepts the code. and GCC no longer crashes either.

[Bug c++/58184] Pointer to overloaded function is non-deduced context

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58184 --- Comment #2 from Andrew Pinski --- Still accepted on the trunk.

[Bug c++/58091] Non-ambiguous member lookup rejected

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58091 --- Comment #5 from Andrew Pinski --- clang started to reject it in clang 9.

[Bug c++/28389] [DR 563] linkage and variables

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28389 Andrew Pinski changed: What|Removed |Added Status|SUSPENDED |NEW --- Comment #2 from Andrew Pinski -

[Bug c++/57752] during the lookup for a base class name, non-type names should be ignored

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57752 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid Status|UNCONFI

[Bug c++/38658] trivial try/catch statement not eliminated

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

[Bug c++/53294] Optimize out some exception code

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53294 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE See Also|

[Bug c++/64372] [DR1560] Gratuitous lvalue-to-rvalue conversion in conditional-expression with throw-expression operand

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64372 Andrew Pinski changed: What|Removed |Added CC||zhonghao at pku dot org.cn --- Comment #

[Bug c++/86475] CWG 1550

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

[Bug c/101585] [11/12 Regression] Bad interaction of -fsanitize=undefined and -Wvla-parameters

2021-07-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101585 Martin Sebor changed: What|Removed |Added Target Milestone|--- |11.2

[Bug tree-optimization/86605] Suboptimal code for pointer arithmetic with 'this'

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86605 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > So on the trunk we get: > if (&test != 4B) > goto ; [70.00%] > else > goto ; [30.00%] > >[local count: 322122544]: > >[local count: 10737418

[Bug c/101585] [11/12 Regression] Bad interaction of -fsanitize=undefined and -Wvla-parameters

2021-07-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101585 Martin Sebor changed: What|Removed |Added Summary|Bad interaction of |[11/12 Regression] Bad

[Bug tree-optimization/86605] Suboptimal code for pointer arithmetic with 'this'

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86605 Andrew Pinski changed: What|Removed |Added Component|c++ |tree-optimization Last reconfirmed|201

[Bug c++/87699] Implement CWG 1512

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87699 Andrew Pinski changed: What|Removed |Added CC||zhonghao at pku dot org.cn --- Comment #

[Bug c++/86579] invalid operands to binary expression

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

[Bug c++/84971] ICE in build_non_dependent_expr, at cp/pt.c:25367

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84971 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2018-03-20 00:00:00 |2021-7-22 --- Comment #2 from Andrew Pin

[Bug c++/84977] ICE: Segmentation fault (build_x_unary_op())

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84977 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/84714] internal compiler error: in create_tmp_var, at gimple-expr.c:476

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84714 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/101219] [12 Regression] ice in perform_or_defer_access_check since r12-1804-g65870e75616ee435

2021-07-22 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101219 --- Comment #8 from Sergei Trofimovich --- Proposed simplistic change as https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575867.html

[Bug c/100501] ICE: segmentation fault on embedded asm code

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100501 Andrew Pinski changed: What|Removed |Added CC||vegard.nossum at gmail dot com --- Comm

[Bug inline-asm/84728] internal compiler error: Segmentation fault (is_gimple_variable())

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84728 Andrew Pinski changed: What|Removed |Added Component|c++ |inline-asm Resolution|---

[Bug target/101393] PowerPC32 inline assembly broken by commit 2d94f7dea9c73ef3c116a0ddc722724578a860fe

2021-07-22 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101393 --- Comment #17 from Segher Boessenkool --- (In reply to Franz Sirl from comment #15) > > "7400" and "403" are not supported target attribute values, fwiw (says the > > manual). > > Hmm, I don't understand what you mean. I mean that I cannot r

[Bug c++/772] Statement expressions issues

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=772 Andrew Pinski changed: What|Removed |Added CC||vegard.nossum at gmail dot com --- Comment

[Bug c++/84745] internal compiler error: Segmentation fault (main_block_label())

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

[Bug c++/70401] [c++1z] variadic template failed

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70401 --- Comment #10 from Andrew Pinski --- This is still rejected with -std=c++17 but accepted with -std=c++14 . Note since GCC 11, we default to C++17 so this might be important thing to fix.

[Bug c++/67491] [meta-bug] concepts issues

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 84344, which changed state. Bug 84344 Summary: [concepts] ICE with invalid use of auto https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84344 What|Removed |Added

[Bug c++/84344] [concepts] ICE with invalid use of auto

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

[Bug tree-optimization/101494] [11 Regression] -Wmaybe-uninitialized false alarm with memrchr of size 0

2021-07-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101494 Martin Sebor changed: What|Removed |Added Keywords||patch Target Milestone|---

[Bug tree-optimization/101584] missing -Wuninitialized with an allocated object after a built-in call

2021-07-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101584 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned a

[Bug c++/71543] [concepts] ICE on ill-formed declaration of a parameter with a constrained-type-specifier in a requires expression

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71543 --- Comment #3 from Andrew Pinski --- GCC 10 and above reject the code: :4:28: error: placeholder type not allowed in this context 4 | concept bool C2 = requires(C1 c1) {}; |^~ :4:36: error: expected primary-

[Bug c++/67491] [meta-bug] concepts issues

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 71141, which changed state. Bug 71141 Summary: [concepts] Example variadic concept code in the Concepts TS 14.1p9.4 rejected https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71141 What|Removed

[Bug c++/71141] [concepts] Example variadic concept code in the Concepts TS 14.1p9.4 rejected

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

[Bug c++/79994] Concepts technical specification

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79994 --- Comment #3 from Andrew Pinski --- GCC 10 and above rejects reduced testcase in comment 1: GCC 10: : In instantiation of 'void add(T&) [with T = Directed_Graph_impl]': :3:8: recursively required from 'void add(T&) [with T = Directed_Graph_im

[Bug c++/71808] [concepts] ICE in finish_member_declaration

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71808 --- Comment #2 from Andrew Pinski --- GCC 10 and above don't ICE but errors out: : In instantiation of 'struct model': :2:42: required from here :17:25: error: template constraint failure for 'template requires Fooable struct container' 17

[Bug c++/67491] [meta-bug] concepts issues

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 69189, which changed state. Bug 69189 Summary: [concepts] ICE: segmentation fault in instantiate_template_1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69189 What|Removed |Added ---

[Bug c++/69189] [concepts] ICE: segmentation fault in instantiate_template_1

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

[Bug c++/68246] [concepts] Incorrect evaluation of C++1z fold expressions (... || expr) in concepts

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68246 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |7.0 --- Comment #2 from Andrew Pinski -

[Bug c++/67491] [meta-bug] concepts issues

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 68487, which changed state. Bug 68487 Summary: [concepts] bad "invalid reference to variadic concept" error https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68487 What|Removed |Added ---

[Bug c++/68487] [concepts] bad "invalid reference to variadic concept" error

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

[Bug middle-end/101586] New: ICE:in clear_padding_type, at gimple-fold.c:4783 with call to __builtin_clear_padding for C++

2021-07-22 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586 Bug ID: 101586 Summary: ICE:in clear_padding_type, at gimple-fold.c:4783 with call to __builtin_clear_padding for C++ Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/96396] initializer_list in `-fconcepts -std=c++11` reports internal compiler error

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96396 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2020-08-03 00:00:00 |2021-7-22 --- Comment #2 from Andrew Pin

[Bug analyzer/101570] [12 Regression] ICE in maybe_reconstruct_from_def_stmt, at analyzer/analyzer.cc:133

2021-07-22 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101570 David Malcolm changed: What|Removed |Added Last reconfirmed||2021-07-22 Status|UNCONFIRM

[Bug c++/95703] [9 only] Please backport 0998d2fd59e7a5eb3a3566c57625702bbdc6a05f to gcc 9

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95703 Andrew Pinski changed: What|Removed |Added Summary|Please backport |[9 only] Please backport

[Bug middle-end/95103] Unexpected -Wclobbered in bits/vector.tcc with -O2

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

[Bug c/101585] New: Bad interaction of -fsanitize=undefined and -Wvla-parameters

2021-07-22 Thread jahns at dkrz dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101585 Bug ID: 101585 Summary: Bad interaction of -fsanitize=undefined and -Wvla-parameters Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/92559] Returning std∷map breaks tail-recursion optimization

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92559 --- Comment #2 from Andrew Pinski --- I don't think this can ever be optimized. Mainly because there are copies happening due to passing via value and returning by value. If I change it to foo to MyMap &foo(MyMap &m), I get the behavior you wan

[Bug c++/772] Statement expressions issues

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=772 Andrew Pinski changed: What|Removed |Added Blocks||89003 CC|

[Bug c++/89003] Return inside a statement expression while initializing a static local variable fails to cleanup cxa_guard

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89003 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Depends on|

[Bug c++/772] Statement expressions issues

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=772 Andrew Pinski changed: What|Removed |Added CC||donald.chai at synopsys dot com --- Commen

[Bug c++/70741] segfault when jumping into statement expression in array initializer

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

[Bug c++/772] Statement expressions issues

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=772 --- Comment #18 from Andrew Pinski --- *** Bug 17913 has been marked as a duplicate of this bug. ***

[Bug c++/17913] ICE jumping into statement expression

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

[Bug tree-optimization/90304] -O3 vectorization gets worse when code is inlined

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90304 Andrew Pinski changed: What|Removed |Added Summary|-O3 vectorization gets |-O3 vectorization gets

[Bug tree-optimization/90304] -O3 vectorization gets worse when code is moved into main()

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90304 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/89897] suggest header for SIGABRT

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89897 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug middle-end/88831] the layout of .data section of a binary is slightly changed when -g option is enabled.

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88831 Andrew Pinski changed: What|Removed |Added Ever confirmed|1 |0 Status|WAITING

[Bug analyzer/94355] support for C++ new expression

2021-07-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94355 --- Comment #9 from Jonathan Wakely --- (In reply to William Navarre from comment #8) > It seems that `operator new` is generally not supposed to return NULL -- > std::bad_alloc() is supposed to be thrown instead. If an operator new overload is

[Bug tree-optimization/101584] New: missing -Wuninitialized with an allocated object after a built-in call

2021-07-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101584 Bug ID: 101584 Summary: missing -Wuninitialized with an allocated object after a built-in call Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: norma

[Bug libstdc++/101034] wrong constraint in std::any's constructor

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

[Bug libstdc++/90415] [9 Regression] std::is_copy_constructible> is incomplete

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

[Bug libstdc++/92156] Cannot in-place construct std::any with std::any

2021-07-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92156 --- Comment #7 from Jonathan Wakely --- Fixed for 9.5 too.

[Bug libstdc++/100982] wrong constraint in std::optional::operator=

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

[Bug libstdc++/89322] Use of new and -lsupc++ requires -lstdc++ on architectures without atomics

2021-07-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89322 Bug 89322 depends on bug 96657, which changed state. Bug 96657 Summary: [9 Regression] libsupc++.a missing required functions from src/c++98/atomicity.cc when atomic builtins are not supported https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96657

[Bug libstdc++/96657] [9 Regression] libsupc++.a missing required functions from src/c++98/atomicity.cc when atomic builtins are not supported

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

[Bug libstdc++/96657] [9 Regression] libsupc++.a missing required functions from src/c++98/atomicity.cc when atomic builtins are not supported

2021-07-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96657 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ba5e10a8c84f56bb2838adb6d1cc9b74741ac4f1 commit r9-9640-gba5e10a8c84f56bb2838adb6d1cc9b74741ac4f1 Author: Jonathan Wakely

  1   2   3   >