[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 Target Milestone|--- |11.2

[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++/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++/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++/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++/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++/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++/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++/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++/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++/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++/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++/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 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++/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 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++/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 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 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 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 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++/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++/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++/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++/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++/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++/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++/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++/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++/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 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 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 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/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 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/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 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia 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 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 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 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 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 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] 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 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

<    1   2   3