[Bug tree-optimization/108783] [13 Regression] ICE: verify_flow_info failed (error: returns_twice call is not first in basic block 3)

2023-02-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108783 Richard Biener changed: What|Removed |Added Keywords||needs-bisection Ever confirmed|0

[Bug tree-optimization/108782] [13 Regression] ICE in add_phi_arg, at tree-phinodes.cc:359

2023-02-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108782 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0 Status|UNCONFIRMED

[Bug rtl-optimization/108774] [13 Regression] ICE: in get_equiv, at lra-constraints.cc:534 with -Os -ftrapv -mcmodel=large

2023-02-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108774 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug debug/108784] New: '-fcompare-debug' failure (length) w/ -O1 -fharden-conditional-branches -funroll-all-loops --param ira-simple-lra-insn-threshold=1

2023-02-13 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108784 Bug ID: 108784 Summary: '-fcompare-debug' failure (length) w/ -O1 -fharden-conditional-branches -funroll-all-loops --param ira-simple-lra-insn-threshold=1 Product: gcc

[Bug c++/108781] Underlying variables of structured bindings should not be treated as having external or module linkage

2023-02-13 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108781 --- Comment #1 from Jiang An --- Oh, the variable doesn't seem strictly unnamed ([dcl.struct.bind]/1): > First, a variable with a unique name e is introduced. But it seems that `e` should be unique in the whole program...

[Bug tree-optimization/108783] New: [13 Regression] ICE: verify_flow_info failed (error: returns_twice call is not first in basic block 3)

2023-02-13 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108783 Bug ID: 108783 Summary: [13 Regression] ICE: verify_flow_info failed (error: returns_twice call is not first in basic block 3) Product: gcc Version: 13.0 Status:

[Bug tree-optimization/108782] New: [13 Regression] ICE in add_phi_arg, at tree-phinodes.cc:359

2023-02-13 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108782 Bug ID: 108782 Summary: [13 Regression] ICE in add_phi_arg, at tree-phinodes.cc:359 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug target/80175] rs6000 target should have a strlensi pattern that works for recent powerpc processors

2023-02-13 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80175 Peter Bergner changed: What|Removed |Added Assignee|acsawdey at gcc dot gnu.org|unassigned at gcc dot gnu.org

[Bug c++/108781] New: Underlying variables of structured bindings should not be treated as having external or module linkage

2023-02-13 Thread de34 at live dot cn via Gcc-bugs
: ```C++ // main.cpp using Arr = int[2]; auto [bx, by] = Arr{}; int main(){} ``` ```C++ // a.cpp using Arr = int[2]; auto [bx, by] = Arr{}; ``` Currently a linker error is emitted (Godbolt link: https://godbolt.org/z/e43s4ErKs): > /opt/compiler-explorer/gcc-trunk-20230213/bin/../lib/gcc/x86_64-li

[Bug target/96373] SVE miscompilation on vectorized division loop, leading to FP exception

2023-02-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96373 --- Comment #15 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:4f5a1198065dc078f8099db628da7b06a2666f34 commit r13-5978-g4f5a1198065dc078f8099db628da7b06a2666f34 Author: Kewen Lin Date: Mon Feb

[Bug libstdc++/103934] std::atomic_flag: multiple C++20 functions missing

2023-02-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103934 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Thomas Rodgers : https://gcc.gnu.org/g:2e558da77adade314d4373397c93a700717d50cd commit r11-10524-g2e558da77adade314d4373397c93a700717d50cd Author: Thomas W

[Bug libstdc++/103934] std::atomic_flag: multiple C++20 functions missing

2023-02-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103934 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Thomas Rodgers : https://gcc.gnu.org/g:dec869c95562c0b1255f770e68e7ea72e7e92681 commit r12-9172-gdec869c95562c0b1255f770e68e7ea72e7e92681 Author: Thomas W

[Bug libstdc++/103934] std::atomic_flag: multiple C++20 functions missing

2023-02-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103934 --- Comment #3 from CVS Commits --- The master branch has been updated by Thomas Rodgers : https://gcc.gnu.org/g:56cf9372c0596c4df4003c72dc4665a306fbfe31 commit r13-5977-g56cf9372c0596c4df4003c72dc4665a306fbfe31 Author: Thomas W Rodgers

[Bug libstdc++/103934] std::atomic_flag: multiple C++20 functions missing

2023-02-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103934 --- Comment #2 from CVS Commits --- The master branch has been updated by Thomas Rodgers : https://gcc.gnu.org/g:a8d769045b43e8509490362865a85cb31a855ccf commit r13-5976-ga8d769045b43e8509490362865a85cb31a855ccf Author: Thomas W Rodgers

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2023-02-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 108780, which changed state. Bug 108780 Summary: Spurious warning with -ftrivial-auto-var-init=zero https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108780 What|Removed |Added

[Bug middle-end/107411] trivial-auto-var-init=zero invalid uninitialized variable warning

2023-02-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107411 Andrew Pinski changed: What|Removed |Added CC||trprince at synopsys dot com ---

[Bug middle-end/108780] Spurious warning with -ftrivial-auto-var-init=zero

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

[Bug c++/108780] New: Spurious warning with -ftrivial-auto-var-init=zero

2023-02-13 Thread trprince at synopsys dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108780 Bug ID: 108780 Summary: Spurious warning with -ftrivial-auto-var-init=zero Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug d/107469] Build of GDC on FreeBSD 14 fails due to outdated value of __FreeBSD_version

2023-02-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107469 --- Comment #2 from CVS Commits --- The master branch has been updated by Gerald Pfeifer : https://gcc.gnu.org/g:daeb6c94bbdfdf909bae23b6dbe31eee8957af9d commit r13-5974-gdaeb6c94bbdfdf909bae23b6dbe31eee8957af9d Author: Lorenzo Salvadore

[Bug target/105010] [12/13 regression] GCC 12 after 20220227 fails to build on powerpc64-freebsd with Error: invalid mfcr mask

2023-02-13 Thread pkubaj at anongoth dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105010 --- Comment #23 from Piotr Kubaj --- (In reply to Segher Boessenkool from comment #22) > (In reply to Piotr Kubaj from comment #21) > > I'm not sure whether it will help, but the issue only affects building > > 32-bit multilib libraries on

[Bug fortran/105167] ICE in gfc_set_default_type, at fortran/symbol.cc:298

2023-02-13 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105167 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug sanitizer/108777] Add support for --param asan-kernel-mem-intrinsic-prefix=1

2023-02-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108777 --- Comment #5 from Jakub Jelinek --- It is a similar tweak like many other asan tweaks which use params rather than switches.

[Bug sanitizer/108777] Add support for --param asan-kernel-mem-intrinsic-prefix=1

2023-02-13 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108777 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #4

[Bug rtl-optimization/108681] [13 Regression] gcc hangs compiling opencv/channels_combine.cpp for aarch64

2023-02-13 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108681 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug rtl-optimization/108681] [13 Regression] gcc hangs compiling opencv/channels_combine.cpp for aarch64

2023-02-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108681 --- Comment #8 from CVS Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:3cac06d84f334705ed0bce12fbc3a4cec4a8fd3b commit r13-5972-g3cac06d84f334705ed0bce12fbc3a4cec4a8fd3b Author: Richard Sandiford

[Bug fortran/103475] ICE in gfc_expr_attr, at fortran/primary.c:2782

2023-02-13 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103475 anlauf at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |13.0 Resolution|---

[Bug rtl-optimization/108774] [13 Regression] ICE: in get_equiv, at lra-constraints.cc:534 with -Os -ftrapv -mcmodel=large

2023-02-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108774 --- Comment #2 from CVS Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:a33e3dcbd15e73603796e30b5eeec11a0c8bacec commit r13-5971-ga33e3dcbd15e73603796e30b5eeec11a0c8bacec Author: Vladimir N. Makarov

[Bug fortran/103475] ICE in gfc_expr_attr, at fortran/primary.c:2782

2023-02-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103475 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:2ce7e2a83e18a27fe9c659f8667fc24f0df4ea9a commit r13-5970-g2ce7e2a83e18a27fe9c659f8667fc24f0df4ea9a Author: Harald Anlauf Date:

[Bug tree-optimization/108757] We do not simplify (a - (N*M)) / N + M -> a / N

2023-02-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108757 --- Comment #19 from Andrew Pinski --- Note in the loop case we know it does not wrap because there is a check already: [local count: 118111600]: if (rows_8(D) > 3) goto ; [89.00%] else goto ; [11.00%] [local count:

[Bug tree-optimization/108757] We do not simplify (a - (N*M)) / N + M -> a / N

2023-02-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108757 Andrew Pinski changed: What|Removed |Added Target|powerpc64le-linux |powerpc64le-linux, |

[Bug tree-optimization/108757] We do not simplify (a - (N*M)) / N + M -> a / N

2023-02-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108757 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|tree-optimization --- Comment #17 from

[Bug rtl-optimization/108757] We do not simplify (a - (N*M)) / N + M -> a / N

2023-02-13 Thread chip.kerchner at ibm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108757 --- Comment #16 from Chip Kerchner --- Dang copy and paste issue... This is what I meant. unsigned long int foo (unsigned long int a) { return (a + (N*M)) / N - M; }

[Bug rtl-optimization/108757] We do not simplify (a - (N*M)) / N + M -> a / N

2023-02-13 Thread chip.kerchner at ibm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108757 --- Comment #15 from Chip Kerchner --- How about this (from Peter's testcase)? Does it still have issues? It produces the same assembly. #define N 32 #define M 2 unsigned long int foo (unsigned long int a) { return (a - (N*M)) / N + M; }

[Bug rtl-optimization/108757] We do not simplify (a - (N*M)) / N + M -> a / N

2023-02-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108757 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/108757] We do not simplify (a - (N*M)) / N + M -> a / N

2023-02-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108757 --- Comment #13 from Andrew Pinski --- IIRC this is a doloop issue and has been reported before. Maybe even by myself while I was working at Sony. I think I tried to fix it too.

[Bug tree-optimization/108757] We do not simplify (a - (N*M)) / N + M -> a / N

2023-02-13 Thread chip.kerchner at ibm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108757 --- Comment #12 from Chip Kerchner --- Here is an example of the original problem #define EIGEN_ALWAYS_INLINE __attribute__((always_inline)) inline typedef __vector float Packet4f; typedef size_t Index; EIGEN_ALWAYS_INLINE Packet4f

[Bug fortran/103475] ICE in gfc_expr_attr, at fortran/primary.c:2782

2023-02-13 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103475 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug target/108516] [11/12 Regression] Useless movzx instruction emitted when loading 8 bits from 24 bit struct

2023-02-13 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108516 Uroš Bizjak changed: What|Removed |Added Resolution|--- |FIXED Summary|Useless movzx

[Bug target/108779] AARCH64 should add an option to change TLS register location to support EL1/EL2/EL3 system registers

2023-02-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108779 Andrew Pinski changed: What|Removed |Added Summary|No option to change |AARCH64 should add an

[Bug sanitizer/108777] Add support for --param asan-kernel-mem-intrinsic-prefix=1

2023-02-13 Thread elver at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108777 --- Comment #3 from Marco Elver --- (In reply to Jakub Jelinek from comment #2) > Marco, is this what you are looking for? Yes, looks good - the tests verify the behaviour I'd expect. Thanks!

[Bug target/108779] New: No option to change thread-pointer location on AArch64

2023-02-13 Thread zach-gcc at cs dot stanford.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108779 Bug ID: 108779 Summary: No option to change thread-pointer location on AArch64 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/108778] New: Missing optimization with direct register access instead of structure mapping

2023-02-13 Thread klaus.doldinger64 at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108778 Bug ID: 108778 Summary: Missing optimization with direct register access instead of structure mapping Product: gcc Version: 12.2.1 Status: UNCONFIRMED

[Bug target/108516] Useless movzx instruction emitted when loading 8 bits from 24 bit struct

2023-02-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108516 --- Comment #7 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:00b8a212ea2132fb68e42488317392346e169035 commit r13-5969-g00b8a212ea2132fb68e42488317392346e169035 Author: Uros Bizjak Date: Mon

[Bug c++/107938] [11/12/13 Regression] ICE directly returning `this` of `extern` variable in template since r11-557

2023-02-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107938 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/108761] Add option to produce a unique section for non-COMDAT __attribute__((section("foo"))) object

2023-02-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108761 --- Comment #6 from Andrew Pinski --- (In reply to Paul Robinson from comment #5) > Modifying the syntax of the attribute won't help users who are importing > code from a third party, but still want to do dead-stripping/deduplication. And it

[Bug c++/108761] Add option to produce a unique section for non-COMDAT __attribute__((section("foo"))) object

2023-02-13 Thread paul_robinson at playstation dot sony.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108761 --- Comment #5 from Paul Robinson --- Modifying the syntax of the attribute won't help users who are importing code from a third party, but still want to do dead-stripping/deduplication.

[Bug c++/108759] "mandatory copy elision" not implemented during constant evaluation redux

2023-02-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108759 Marek Polacek changed: What|Removed |Added Last reconfirmed||2023-02-13

[Bug c++/108773] [13 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.cc:3058 compiling ceph since r13-4563-g1e1847612d7f169f

2023-02-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108773 --- Comment #11 from Jakub Jelinek --- Even better don't make second initializer_list member __rebind: namespace std { struct __new_allocator {}; template using __allocator_base = __new_allocator; struct allocator : __allocator_base {};

[Bug c++/108773] [13 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.cc:3058 compiling ceph since r13-4563-g1e1847612d7f169f

2023-02-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108773 --- Comment #10 from Jakub Jelinek --- Slightly better testcase where basic_string, array and list are at least templates, again -std=c++20: namespace std { struct __new_allocator {}; template using __allocator_base = __new_allocator; struct

[Bug sanitizer/108777] Add support for --param asan-kernel-mem-intrinsic-prefix=1

2023-02-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108777 Jakub Jelinek changed: What|Removed |Added CC||elver at google dot com --- Comment #2

[Bug sanitizer/108777] Add support for --param asan-kernel-mem-intrinsic-prefix=1

2023-02-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108777 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2023-02-13

[Bug c++/108761] Add option to produce a unique section for non-COMDAT __attribute__((section("foo"))) object

2023-02-13 Thread paul_robinson at playstation dot sony.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108761 Paul Robinson changed: What|Removed |Added CC||paul_robinson at playstation dot s

[Bug sanitizer/108777] New: Add support for --param asan-kernel-mem-intrinsic-prefix=1

2023-02-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108777 Bug ID: 108777 Summary: Add support for --param asan-kernel-mem-intrinsic-prefix=1 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug testsuite/108776] New: new test case c-c++-common/rotate-11.c from r12-9158-ga015ebe382cd6d fails

2023-02-13 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108776 Bug ID: 108776 Summary: new test case c-c++-common/rotate-11.c from r12-9158-ga015ebe382cd6d fails Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity:

[Bug rtl-optimization/108774] [13 Regression] ICE: in get_equiv, at lra-constraints.cc:534 with -Os -ftrapv -mcmodel=large

2023-02-13 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108774 --- Comment #1 from Vladimir Makarov --- Thank you for reporting this. I'll try to fix it as soon as possible, today or tomorrow.

[Bug c++/108775] Move construction clobbers data through [[no_unique_address]]

2023-02-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108775 --- Comment #2 from Andrew Pinski --- I suspect this is similar to https://open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#2403 .

[Bug c++/82113] RVO isn't applied to base class constructor call in C++17

2023-02-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82113 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #3 from Andrew

[Bug c++/98995] [10/11/12/13 Regression] Copy elision not applied to members declared with [[no_unique_address]] or a empty base class

2023-02-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98995 Andrew Pinski changed: What|Removed |Added CC||for.gcc.bugzilla at gmail dot com ---

[Bug c++/108773] [13 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.cc:3058 compiling ceph since r13-4563-g1e1847612d7f169f

2023-02-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108773 --- Comment #9 from Jakub Jelinek --- Well, the reduction isn't exactly valid though, given how it defines std::list/array. I guess I could retry reduce with class RGWSyncTraceManager { std::list > admin_commands; public: int

[Bug c++/108775] Move construction clobbers data through [[no_unique_address]]

2023-02-13 Thread danakj at orodu dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108775 --- Comment #1 from danakj at orodu dot net --- This occurs on 12.2.0 Linux, as well as GCC trunk on Godbolt in C++20 mode.

[Bug c++/108775] New: Move construction clobbers data through [[no_unique_address]]

2023-02-13 Thread danakj at orodu dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108775 Bug ID: 108775 Summary: Move construction clobbers data through [[no_unique_address]] Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal

[Bug c++/108773] [13 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.cc:3058 compiling ceph since r13-4563-g1e1847612d7f169f

2023-02-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108773 --- Comment #8 from Martin Liška --- Wow, you reduced that really fast Jakub!

[Bug c++/108773] [13 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.cc:3058 compiling ceph since r13-4563-g1e1847612d7f169f

2023-02-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108773 --- Comment #7 from Jakub Jelinek --- Reduced testcase: struct __new_allocator {}; template using __allocator_base = __new_allocator; struct allocator : __allocator_base {}; template struct initializer_list { void *_M_array;

[Bug middle-end/108102] rust bootstrap comparison failure on s390x-linux-gnu

2023-02-13 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108102 --- Comment #16 from Stefan Schulze Frielinghaus --- Fixed in mainline. Fine for me to close this now.

[Bug debug/108772] [13 Regression] ICE in force_decl_die, at dwarf2out.cc:26751 since r13-4161-g32d16fe9d7e347bc

2023-02-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108772 --- Comment #3 from Richard Biener --- (In reply to Martin Liška from comment #2) > (In reply to Jakub Jelinek from comment #1) > > Does firefox really use -fimplicit-constexpr and -g1? > > Yes. Note the former option is used since gcc12: >

[Bug rtl-optimization/108774] [13 Regression] ICE: in get_equiv, at lra-constraints.cc:534 with -Os -ftrapv -mcmodel=large

2023-02-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108774 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |13.0 CC|

[Bug rtl-optimization/108774] New: [13 Regression] ICE: in get_equiv, at lra-constraints.cc:534 with -Os -ftrapv -mcmodel=large

2023-02-13 Thread zsojka at seznam dot cz via Gcc-bugs
mpression algorithms: zlib zstd gcc version 13.0.1 20230213 (experimental) (GCC)

[Bug tree-optimization/108691] [13 Regression] ICE with function ptr and setjmp/returns twice at -O1

2023-02-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108691 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/28614] gcc.c-torture/compile/20001226-1.c times out

2023-02-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28614 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:72ae1e5635648bd3f6a5760ca46d531ad1f2c6b1 commit r13-5966-g72ae1e5635648bd3f6a5760ca46d531ad1f2c6b1 Author: Richard Biener Date:

[Bug tree-optimization/108691] [13 Regression] ICE with function ptr and setjmp/returns twice at -O1

2023-02-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108691 --- Comment #9 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:6436add49ed9ecf74f1f01b4fe18961df4f3e83d commit r13-5965-g6436add49ed9ecf74f1f01b4fe18961df4f3e83d Author: Richard Biener Date:

[Bug tree-optimization/26854] Inordinate compile times on large routines

2023-02-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26854 --- Comment #150 from Richard Biener --- For _num.i at -O2+ it's PRE / postreload GCSE via compute_transp that takes all compile-time. The reason is all the sbitmaps used and using them "inverted" aka one bitmap per BB instead of one bitmap per

[Bug c++/108773] [13 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.cc:3058 compiling ceph since r13-4563-g1e1847612d7f169f

2023-02-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108773 --- Comment #6 from Jakub Jelinek --- Trying to cvise reduce now (from hand reduced testcase from 15M to 5M).

[Bug middle-end/108102] rust bootstrap comparison failure on s390x-linux-gnu

2023-02-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108102 --- Comment #15 from CVS Commits --- The master branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:452db716d8debb6e09b85e4a0c0e73a047ed5c1d commit r13-5964-g452db716d8debb6e09b85e4a0c0e73a047ed5c1d Author: Stefan

[Bug c++/108773] [13 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.cc:3058 compiling ceph since r13-4563-g1e1847612d7f169f

2023-02-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108773 --- Comment #5 from Jakub Jelinek --- It is on admin_commands = { { "sync trace show name=search,type=CephString,req=false", "sync trace show [filter_str]: show current multisite tracing information" }, { "sync trace

[Bug debug/108772] [13 Regression] ICE in force_decl_die, at dwarf2out.cc:26751 since r13-4161-g32d16fe9d7e347bc

2023-02-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108772 --- Comment #2 from Martin Liška --- (In reply to Jakub Jelinek from comment #1) > Does firefox really use -fimplicit-constexpr and -g1? Yes. Note the former option is used since gcc12: https://bugzilla.mozilla.org/show_bug.cgi?id=1754752

[Bug c/108375] [10/11/12/13 Regression] Some variably modified types not detected as such

2023-02-13 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108375 --- Comment #5 from Martin Uecker --- Recursing into arrays is simple and does not seem to cause any problems, but this not enough for GNU C, we can also have VLA or variably modified types as member of structs. At least the later is sometimes

[Bug c++/108773] [13 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.cc:3058 compiling ceph since r13-4563-g1e1847612d7f169f

2023-02-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108773 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Target

[Bug c++/108773] [13 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.cc:3058 compiling ceph since r13-4563-g1e1847612d7f169f

2023-02-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108773 Martin Liška changed: What|Removed |Added Keywords||needs-reduction --- Comment #4 from

[Bug c++/108773] [13 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.cc:3058 compiling ceph since r13-4563-g1e1847612d7f169f

2023-02-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108773 Martin Liška changed: What|Removed |Added Summary|internal compiler error: in |[13 Regression] ICE in

[Bug c++/108773] internal compiler error: in gimplify_var_or_parm_decl, at gimplify.cc:3058 compiling ceph

2023-02-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108773 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/108773] internal compiler error: in gimplify_var_or_parm_decl, at gimplify.cc:3058 compiling ceph

2023-02-13 Thread kkeithle at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108773 --- Comment #1 from kkeithle at redhat dot com --- see https://bugzilla.redhat.com/show_bug.cgi?id=2169364 see https://bugzilla-attachments.redhat.com/attachment.cgi?id=1943849 for preprocessed source file (too big to attach here)

[Bug c++/108773] New: internal compiler error: in gimplify_var_or_parm_decl, at gimplify.cc:3058 compiling ceph

2023-02-13 Thread kkeithle at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108773 Bug ID: 108773 Summary: internal compiler error: in gimplify_var_or_parm_decl, at gimplify.cc:3058 compiling ceph Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug debug/108772] [13 Regression] ICE in force_decl_die, at dwarf2out.cc:26751 since r13-4161-g32d16fe9d7e347bc

2023-02-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108772 --- Comment #1 from Jakub Jelinek --- Does firefox really use -fimplicit-constexpr and -g1? Anyway, I'm afraid I have no idea what the problem is here, the ICE is when trying to force a DIE for std::_Sp_make_shared_tag::_S_ti()::__tag late, but

[Bug debug/108772] [13 Regression] ICE in force_decl_die, at dwarf2out.cc:26751 since r13-4161-g32d16fe9d7e347bc

2023-02-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108772 Martin Liška changed: What|Removed |Added Last reconfirmed||2023-02-13

[Bug c++/108772] New: [13 Regression] ICE in force_decl_die, at dwarf2out.cc:26751 since r13-4161-g32d16fe9d7e347bc

2023-02-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108772 Bug ID: 108772 Summary: [13 Regression] ICE in force_decl_die, at dwarf2out.cc:26751 since r13-4161-g32d16fe9d7e347bc Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug tree-optimization/105651] [12 Regression] bogus "may overlap" memcpy warning with std::string and operator+ at -O3

2023-02-13 Thread jg at jguk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105651 Jonny Grant changed: What|Removed |Added CC||jg at jguk dot org --- Comment #24 from

[Bug libstdc++/108771] New: Incorrect noexcept for merging in

2023-02-13 Thread frankhb1989 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108771 Bug ID: 108771 Summary: Incorrect noexcept for merging in Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug c/108770] Spurious -Warray-bounds at -O2 (gcc >= 12)

2023-02-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108770 Richard Biener changed: What|Removed |Added Last reconfirmed||2023-02-13 Blocks|

[Bug c/108770] New: Spurious -Warray-bounds at -O2 (gcc >= 12)

2023-02-13 Thread andrew.jones at vector dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108770 Bug ID: 108770 Summary: Spurious -Warray-bounds at -O2 (gcc >= 12) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/108691] [13 Regression] ICE with function ptr and setjmp/returns twice at -O1

2023-02-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108691 Richard Biener changed: What|Removed |Added Keywords|needs-bisection | --- Comment #8 from Richard Biener

[Bug tree-optimization/108691] [13 Regression] ICE with function ptr and setjmp/returns twice at -O1

2023-02-13 Thread david.spickett at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108691 --- Comment #7 from David Spickett --- > That still leaves us with missing abnormal edges - David, was this reduced > from an actual program? No, it's a simplified version of the C used to generate an LLVM IR test case: extern int

[Bug tree-optimization/108691] [13 Regression] ICE with function ptr and setjmp/returns twice at -O1

2023-02-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108691 --- Comment #6 from Richard Biener --- The reason is that gimple_call_flags returns a different answer from the indirect function call vs. the direct function call after propagating of the constant. First of all 'returns_twice' is an

[Bug c++/108769] [C++20] __is_trivial returns true even if a default constructor's constraints are unsatisfied

2023-02-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108769 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW See Also|

[Bug c++/108769] New: [C++20] __is_trivial returns true even if a default constructor's constrains are unsatisfied

2023-02-13 Thread roi.jacobson1 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108769 Bug ID: 108769 Summary: [C++20] __is_trivial returns true even if a default constructor's constrains are unsatisfied Product: gcc Version: unknown Status: UNCONFIRMED

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2023-02-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 108768, which changed state. Bug 108768 Summary: bogus -Warray-bounds warnings https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108768 What|Removed |Added

[Bug tree-optimization/108768] bogus -Warray-bounds warnings

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

[Bug libcc1/67590] libcc1 cannot find objdump when cross build native

2023-02-13 Thread christer.solskogen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67590 Christer Solskogen changed: What|Removed |Added CC||christer.solskogen at gmail dot co

[Bug lto/97637] Compiling with LTO causes a bigger binary

2023-02-13 Thread christer.solskogen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97637 Christer Solskogen changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING

[Bug rtl-optimization/108516] Useless movzx instruction emitted when loading 8 bits from 24 bit struct

2023-02-13 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108516 Uroš Bizjak changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug analyzer/108403] -Wanalyzer-null-dereference false negative with *q == 0

2023-02-13 Thread geoffreydgr at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108403 Geoffrey changed: What|Removed |Added CC||geoffreydgr at icloud dot com --- Comment

  1   2   >