[Bug analyzer/110112] [11/12/13 Regression] gcc -fanalyzer takes an excessive amount of time

2023-06-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110112 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.5

[Bug rtl-optimization/40552] wrong-code with -fsched2-use-superblocks and exceptions

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

[Bug target/110108] [14 Regression] Wrong code from combining VPABSB/VPBLENDVB since g:1ede03e2d0437ea9c2f7

2023-06-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110108 Richard Biener changed: What|Removed |Added Target|x86_64 |x86_64-*-* Priority|P3

[Bug bootstrap/110121] RTL checking failure during libstdc++-v3 build

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

[Bug bootstrap/110120] [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in

2023-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110120 Andrew Pinski changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org ---

[Bug rtl-optimization/78546] [6 Regression] wrong code at -O2 and above

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

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-06-05 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 --- Comment #61 from rguenther at suse dot de --- On Mon, 5 Jun 2023, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 > > --- Comment #60 from Jakub Jelinek --- > (In reply to Richard Biener from comment

[Bug c++/103499] C++20 modules error: invalid use of non-static member function

2023-06-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103499 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2023-06-05 Keywords|

[Bug middle-end/110117] [14 Regression] ICE on valid code at -O1 with "-ftree-vrp -fno-tree-ccp -fno-tree-forwprop": in as_a, at machmode.h:381

2023-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110117 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[Bug c/110103] the pointers return from two malloc is not equal

2023-06-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110103 Richard Biener changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug target/79364] some variadic functions with an empty struct miscompiled with C++ (at least for x64 targets)

2023-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79364 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |8.0 Status|UNCONFIRMED

[Bug other/89863] [meta-bug] Issues in gcc that other static analyzers (cppcheck, clang-static-analyzer, PVS-studio) find that gcc misses

2023-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89863 Bug 89863 depends on bug 79364, which changed state. Bug 79364 Summary: some variadic functions with an empty struct miscompiled with C++ (at least for x64 targets) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79364 What|Removed

[Bug c++/31584] [DR502] nested enum not considered dependent

2023-06-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31584 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |4.3.0 Resolution|---

[Bug rtl-optimization/110093] [12/13/14 Regression][avr] Move frenzy leading to code bloat

2023-06-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110093 Richard Biener changed: What|Removed |Added Keywords||needs-bisection Target

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-06-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 --- Comment #62 from Jakub Jelinek --- What the patch including incremental one currently does is: 1) small _BitInt (on x86-64 N <= 64) - the BITINT_TYPEs are kept as is in the IL and expanded, they always have non-BLKmode (QI/HI/SI/DI) and

[Bug c++/110122] New: using an aggregate with a member variable with a user defined copy constructor in a class NTTP causes capture and use of the `this` pointer in a generic lambda to produce the fol

2023-06-05 Thread waffl3x at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110122 Bug ID: 110122 Summary: using an aggregate with a member variable with a user defined copy constructor in a class NTTP causes capture and use of the `this` pointer in a generic

[Bug tree-optimization/110035] Missed optimization for dependent assignment statements

2023-06-05 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110035 --- Comment #10 from rguenther at suse dot de --- On Mon, 5 Jun 2023, ptk.prasertsuk at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110035 > > --- Comment #9 from Pontakorn Prasertsuk --- > (In reply to Richard Biener

[Bug c/110123] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

2023-06-05 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110123 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55260 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55260=edit the compiler output

[Bug c++/110106] [11/12/13/14 Regression] ICE on noexcept(noexcept(...)) with optional

2023-06-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110106 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.5

[Bug bootstrap/110120] [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in

2023-06-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110120 --- Comment #5 from Sam James --- Created attachment 55258 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55258=edit reduced.ii

[Bug tree-optimization/13962] [tree-ssa] make "fold" use alias information to optimize pointer comparisons

2023-06-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13962 Richard Biener changed: What|Removed |Added CC||zhongyunde at huawei dot com ---

[Bug rtl-optimization/43226] simplify_binary_operation_1 MINUS x const_int issue

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

[Bug bootstrap/110121] New: RTL checking failure during libstdc++-v3 build

2023-06-05 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110121 Bug ID: 110121 Summary: RTL checking failure during libstdc++-v3 build Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: blocker Priority: P3 Component:

[Bug tree-optimization/110035] Missed optimization for dependent assignment statements

2023-06-05 Thread ptk.prasertsuk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110035 --- Comment #9 from Pontakorn Prasertsuk --- (In reply to Richard Biener from comment #8) > (In reply to Pontakorn Prasertsuk from comment #7) > > For the LLVM IR code of the snippet I provided, Clang's alias analysis can > > prove that `new`

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-06-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 --- Comment #60 from Jakub Jelinek --- (In reply to Richard Biener from comment #59) > Oh, so BITINT_TYPE is INTEGRAL_TYPE_P but not INTEGER_TYPE (I think we > don't have any BLKmode integer types?). Yes. Some BITINT_TYPEs have BLKmode. > I

[Bug bootstrap/110120] [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in

2023-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110120 Andrew Pinski changed: What|Removed |Added CC||hp at gcc dot gnu.org,

[Bug c++/110102] [13/14 regression] initializer_list ctors of containers skip Allocator_traits::construct, copies move-only type

2023-06-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110102 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.2

[Bug bootstrap/110120] [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in

2023-06-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110120 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Last reconfirmed|

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-06-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 --- Comment #57 from Richard Biener --- (In reply to Jakub Jelinek from comment #56) > Created attachment 55244 [details] > gcc14-bitint-wip-inc.patch > > Incremental patch on top of the above patch. > > I've tried to make some progress and

[Bug libgcc/109712] Segmentation fault in linear_search_fdes

2023-06-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109712 Richard Biener changed: What|Removed |Added CC||tneumann at users dot sourceforge.

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-06-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 --- Comment #58 from Jakub Jelinek --- (In reply to Richard Biener from comment #57) > (In reply to Jakub Jelinek from comment #56) > > Created attachment 55244 [details] > > gcc14-bitint-wip-inc.patch > > > > Incremental patch on top of the

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-06-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 --- Comment #59 from Richard Biener --- (In reply to Jakub Jelinek from comment #58) > (In reply to Richard Biener from comment #57) > > (In reply to Jakub Jelinek from comment #56) > > > Created attachment 55244 [details] > > >

[Bug c++/110092] Missing warning that internal header is used

2023-06-05 Thread piotrwn1 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110092 --- Comment #5 from Piotr Nycz --- (In reply to Jonathan Wakely from comment #2) > (In reply to Piotr Nycz from comment #0) > > So, probably it is doable to add warning like: "bist/shared_ptr.h is an > > internal header file, included by other

[Bug c/110123] New: ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

2023-06-05 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110123 Bug ID: 110123 Summary: ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/110116] [12/13/14 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_gimple failed

2023-06-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110116 Richard Biener changed: What|Removed |Added Version|unknown |13.1.1 Priority|P3

[Bug tree-optimization/110035] Missed optimization for dependent assignment statements

2023-06-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110035 --- Comment #8 from Richard Biener --- (In reply to Pontakorn Prasertsuk from comment #7) > For the LLVM IR code of the snippet I provided, Clang's alias analysis can > prove that `new` call has no side effect to other memory location. This is

[Bug middle-end/79173] add-with-carry and subtract-with-borrow support (x86_64 and others)

2023-06-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79173 --- Comment #14 from Jakub Jelinek --- Unfortunately, the clang __builtin_addc* and __builtin_subc* builtins are badly designed. Instead of adding or subtracting a 1-bit carry, where the result is guaranteed to have 1-bit carry as well, they

[Bug target/71460] Copying structs can trap (on x86-32) due to SNaN to QNaN

2023-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71460 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2021-08-22 00:00:00 |2023-6-5 --- Comment #29 from Andrew

[Bug libgcc/109712] Segmentation fault in linear_search_fdes

2023-06-05 Thread tneumann at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109712 --- Comment #14 from Thomas Neumann --- I cannot reproduce the problem, but admittedly I used a newer Ubuntu version. I tried compiling it with gcc 7.5.0, linking it with gold 1.16, and using the gcc version you specified (07c52d1eec9) for the

[Bug libgcc/109712] Segmentation fault in linear_search_fdes

2023-06-05 Thread tneumann at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109712 --- Comment #19 from Thomas Neumann --- Hm, then I don't know how we end up with the non-regular table content. The code checks for hdr->fde_count_enc != DW_EH_PE_omit, and that is false in the executable that you provided. But regardless of

[Bug c++/110124] Not inlining comparison operator when using std::tie with -std=c++20

2023-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110124 --- Comment #3 from Andrew Pinski --- The reason for the C++20 and C++17 difference is because std::tie creates a std::tuple and for C++20 has a spaceship operator<=> (instead of operator<) and that causes needing to another another function

[Bug middle-end/109967] [10/11/12/13/14 Regression] Wrong code at -O2 on x86_64-linux-gnu

2023-06-05 Thread davmac at davmac dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109967 Davin McCall changed: What|Removed |Added CC||davmac at davmac dot org --- Comment #3

[Bug c++/110128] New: copy attribute does not copy from template specializations

2023-06-05 Thread jwjagersma at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110128 Bug ID: 110128 Summary: copy attribute does not copy from template specializations Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug libgcc/109712] Segmentation fault in linear_search_fdes

2023-06-05 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109712 --- Comment #18 from Carlos Galvez --- Thanks for the investigation! To clarify: my last reproducible example does not use gold, instead it uses the default GNU ld version 2.38.

[Bug middle-end/109967] [10/11/12/13/14 Regression] Wrong code at -O2 on x86_64-linux-gnu

2023-06-05 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109967 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug tree-optimization/110129] New: Possible wrong-code on -O2 and above (affecting versions from GCC-10.1 onward)

2023-06-05 Thread haoxintu at gmail dot com via Gcc-bugs
ut (hang) $gcc-10.1 -w -O2 test.c ;./a.out b1b 1 $gcc-9.5 -w -O1 test.c ;./a.out (hang) $gcc-9.5 -w -O2 test.c ;./a.out b1b 1 GCC version: Using built-in specs. COLLECT_GCC=/opt/compiler-explorer/gcc-snapshot/bin/g++ COLLECT_LTO_WRAPPER=/opt/compiler-explorer/gcc-trunk-20230605/bin/../libexec/gcc/x

[Bug middle-end/110055] Dangling pointer warning inside std::vector on RISC-V

2023-06-05 Thread spriteovo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110055 --- Comment #8 from Sprite --- (In reply to Richard Biener from comment #7) > The clobber is built by gimplify_target_expr and TARGET_EXPR_SLOT is changed > in place to the static variable. > > Does the following fix the RISC-V issue? > >

[Bug c++/103499] C++20 modules error: invalid use of non-static member function

2023-06-05 Thread markmigm at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103499 --- Comment #6 from Mark Millard --- (In reply to Jonathan Wakely from comment #5) The relationship I was thinking of was that, without this being fixed, the full set of header units for the standard library probably could not be completed: a

[Bug c++/110122] [13/14 Regression] using an aggregate with a member variable with a user defined copy constructor in a class NTTP causes capture and use of the `this` pointer in a generic lambda to p

2023-06-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110122 --- Comment #2 from Patrick Palka --- It seems only the first testcase exhibits a 13 regression, we never accepted the second testcase.

[Bug c++/110124] Not inlining comparison operator when using std::tie with -std=c++20

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

[Bug modula2/110125] New: Variables are reported as uninitialized when only set inside WITH statement

2023-06-05 Thread admin--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110125 Bug ID: 110125 Summary: Variables are reported as uninitialized when only set inside WITH statement Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity:

[Bug libgcc/109712] Segmentation fault in linear_search_fdes

2023-06-05 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109712 --- Comment #15 from Carlos Galvez --- Created attachment 55261 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55261=edit Reproducible example nvinfer Attaching (hopefully) reproducible example as a tarball, containing: - download.sh:

[Bug c++/110127] New: -fimplicit-constexpr leads to extremely slow and memory intensive compilation

2023-06-05 Thread fiesh at zefix dot tv via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110127 Bug ID: 110127 Summary: -fimplicit-constexpr leads to extremely slow and memory intensive compilation Product: gcc Version: 13.1.0 Status: UNCONFIRMED

[Bug c++/110124] Not inlining comparison operator when using std::tie with -std=c++20

2023-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110124 --- Comment #1 from Andrew Pinski --- Created attachment 55263 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55263=edit original testcase

[Bug c++/110124] Not inlining comparison operator when using std::tie with -std=c++20

2023-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110124 --- Comment #4 from Andrew Pinski --- So basically more code for the C++20 case causes the less inlining into main. Overall this is not an bug really because GCC treats main as known to be called only once and anything main calls is not always

[Bug tree-optimization/110129] Possible wrong-code on -O2 and above (affecting versions from GCC-10.1 onward)

2023-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110129 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug middle-end/79173] add-with-carry and subtract-with-borrow support (x86_64 and others)

2023-06-05 Thread chfast at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79173 --- Comment #15 from Paweł Bylica --- For what it's worth, clang's __builtin_addc is implemented in frontend only as a pair of __builtin_add_overflow. The commit from 11 year ago does not explain why they were added.

[Bug c++/99242] [modules] ICE in lookup_mark, at cp/tree.c:2403

2023-06-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99242 Jonathan Wakely changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug c++/99274] [modules] Error compiling some system headers: "wrong number of template arguments (1, should be 2)"

2023-06-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99274 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2023-06-05

[Bug c++/110122] [13/14 Regression] using an aggregate with a member variable with a user defined copy constructor in a class NTTP causes capture and use of the `this` pointer in a generic lambda to p

2023-06-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110122 Patrick Palka changed: What|Removed |Added Last reconfirmed||2023-06-05 Known to work|

[Bug testsuite/66005] libgomp make check time is excessive

2023-06-05 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66005 --- Comment #20 from Thomas Schwinge --- (In reply to Iain Sandoe from comment #19) > (In reply to Thomas Schwinge from comment #18) > > r14-1490-g04abe1944d30eb18a2060cfcd9695d085f7b4752 "Support parallel > > testing in libgomp: fallback Perl

[Bug libgcc/109712] Segmentation fault in linear_search_fdes

2023-06-05 Thread tneumann at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109712 --- Comment #17 from Thomas Neumann --- The bug was introduced by gcc commit e724b04. It avoids calls to read_encoded_value_with_base for performance reasons, but unfortunately this causes the variable eh_frame to be uninitialized if the fast

[Bug c++/110128] copy attribute does not copy from template specializations

2023-06-05 Thread jwjagersma at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110128 --- Comment #1 from jwjagersma at gmail dot com --- Additionally, the following example does not produce any -Wattributes warnings at all, but the attributes are still not copied: template struct check_num { static void

[Bug c++/110124] New: Not inlining comparison operator when using std::tie with -std=c++20

2023-06-05 Thread vakili at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110124 Bug ID: 110124 Summary: Not inlining comparison operator when using std::tie with -std=c++20 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug modula2/110126] New: Variables are reported as unused when only referenced by ASM statements

2023-06-05 Thread admin--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110126 Bug ID: 110126 Summary: Variables are reported as unused when only referenced by ASM statements Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity:

[Bug libgcc/109712] Segmentation fault in linear_search_fdes

2023-06-05 Thread tneumann at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109712 Thomas Neumann changed: What|Removed |Added CC||fweimer at redhat dot com --- Comment

[Bug c++/110106] [11/12/13/14 Regression] ICE on noexcept(noexcept(...)) with optional

2023-06-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110106 Marek Polacek changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug libgcc/109712] Segmentation fault in linear_search_fdes

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

[Bug c++/110127] -fimplicit-constexpr leads to extremely slow and memory intensive compilation

2023-06-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110127 Patrick Palka changed: What|Removed |Added Last reconfirmed||2023-06-05 See Also|

[Bug c++/110084] [12/13/14 Regression] defaulted constexpr operator== causes crash

2023-06-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110084 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug libgcc/109712] Segmentation fault in linear_search_fdes

2023-06-05 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109712 --- Comment #24 from Florian Weimer --- (With the missing ; added, of course.)

[Bug libgcc/109712] Segmentation fault in linear_search_fdes

2023-06-05 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109712 --- Comment #23 from Florian Weimer --- (In reply to Thomas Neumann from comment #21) > It must be something more complex. value is small here (more precisely: 1888 > in the crashes later), which is not a valid pointer address. We probably >

[Bug libgcc/109712] Segmentation fault in linear_search_fdes

2023-06-05 Thread tneumann at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109712 --- Comment #21 from Thomas Neumann --- It must be something more complex. value is small here (more precisely: 1888 in the crashes later), which is not a valid pointer address. We probably have to add this to some base pointer? But it is not

[Bug tree-optimization/110131] [12/13/14 Regression] Missed Dead Code Elimination when using __builtin_unreachable since r12-6924-gc2b610e7c6c

2023-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110131 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > _33 = (intD.6) _13; > # RANGE [irange] unsigned int [2, 32767][4294934528, +INF] > _29 = (unsigned int) _13; > # RANGE [irange] unsigned int [0, 0][3,

[Bug target/109541] [12/13/14 regression] ICE in extract_constrain_insn on when building rhash-1.4.3

2023-06-05 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109541 --- Comment #16 from Vladimir Makarov --- Sam, thank you for your help. I've reproduced the problem on your machine. The fix most probably will be ready this week.

[Bug c++/110064] spurious missing initializer for member for anonymous

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

[Bug libgcc/109712] Segmentation fault in linear_search_fdes

2023-06-05 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109712 --- Comment #22 from Carlos Galvez --- Indeed it's an uninitialized read according to valgrind: ==15475== Use of uninitialised value of size 8 ==15475==at 0x1E81C2E9: base_from_object (unwind-dw2-fde.c:319) ==15475==by 0x1E81C2E9:

[Bug c/12245] [10/11/12/13/14 regression] Uses lots of memory when compiling large initialized arrays

2023-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12245 --- Comment #83 from Andrew Pinski --- (In reply to Carlos Galvez from comment #82) > Hi, > > This bug is still present in GCC 11.3.0. My use case is using large > std::arrays. NOTE: the problem immediately goes away if the arrays are not >

[Bug tree-optimization/110131] [12/13/14 Regression] Missed Dead Code Elimination when using __builtin_unreachable since r12-6924-gc2b610e7c6c

2023-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110131 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.4

[Bug c++/110102] [13/14 regression] initializer_list ctors of containers skip Allocator_traits::construct, copies move-only type

2023-06-05 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110102 Jason Merrill changed: What|Removed |Added Target Milestone|13.2|--- --- Comment #5 from Jason Merrill

[Bug c++/104577] needs copy constructor for class non-type template parameter

2023-06-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104577 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug libgcc/109712] Segmentation fault in linear_search_fdes

2023-06-05 Thread tneumann at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109712 --- Comment #26 from Thomas Neumann --- (In reply to Florian Weimer from comment #23) > > u is the original read pointer as far as I can see. So it looks like it > should look like this: > > diff --git a/libgcc/unwind-dw2-fde-dip.c

[Bug tree-optimization/110131] [12/13/14 Regression] Missed Dead Code Elimination when using __builtin_unreachable since r12-6924-gc2b610e7c6c

2023-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110131 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/105863] RFE: C23 #embed

2023-06-05 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105863 --- Comment #4 from H. Peter Anvin --- So I'm updating this to be C23 #embed, since that is a bit more general than the typical incbin (at least conceptually it operates on the preprocessor syntactic level; it does not of course preclude a

[Bug c++/106486] C++ warning for -Wmissing-prototypes is pure nuisance

2023-06-05 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106486 --- Comment #5 from H. Peter Anvin --- Yes, exactly.

[Bug demangler/110130] New: the rust demangling trap in long hangs , causing binutils/nm hangs for a long time to be killed.

2023-06-05 Thread swj22 at mails dot tsinghua.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110130 Bug ID: 110130 Summary: the rust demangling trap in long hangs , causing binutils/nm hangs for a long time to be killed. Product: gcc Version: rust/master Status:

[Bug tree-optimization/110129] Possible wrong-code on -O2 and above (affecting versions from GCC-10.1 onward)

2023-06-05 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110129 --- Comment #2 from Haoxin Tu --- (In reply to Andrew Pinski from comment #1) Oops, my bad. Thank you for pointing this out. I didn't notice the front-end is C++ in GodBolt. I have another similar case, can you take a look, please? ```

[Bug c++/110114] [13/14 Regression] ICE on calling overloaded function in case of incomplete argument type and C++ designated initializers

2023-06-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110114 Marek Polacek changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug tree-optimization/110131] New: [13/14 Regression] Missed Dead Code Elimination when using __builtin_unreachable since r12-6924-gc2b610e7c6c

2023-06-05 Thread theodort at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110131 Bug ID: 110131 Summary: [13/14 Regression] Missed Dead Code Elimination when using __builtin_unreachable since r12-6924-gc2b610e7c6c Product: gcc Version: 14.0

[Bug c++/110102] [13/14 regression] initializer_list ctors of containers skip Allocator_traits::construct, copies move-only type

2023-06-05 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110102 --- Comment #6 from Arthur O'Dwyer --- (In reply to Jason Merrill from comment #5) > (In reply to Arthur O'Dwyer from comment #4) > > My first, reduced, example, where `std::list v = {1,2,3}` is accepted for > > move-only type `A`, is 100% a

[Bug libgcc/109712] Segmentation fault in linear_search_fdes

2023-06-05 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109712 --- Comment #25 from Carlos Galvez --- Perhaps this is a stupid comment, but isn't "ob.s.b.encoding" uninitialized? /* inside find_fde_tail */ struct object ob; ... ob.pc_begin = NULL; ob.tbase = NULL; ob.dbase = (void *) dbase;

[Bug bootstrap/110120] [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in

2023-06-05 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110120 Hans-Peter Nilsson changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |hp at gcc dot gnu.org ---

[Bug demangler/110130] the rust demangling trap in long hangs , causing binutils/nm hangs for a long time to be killed.

2023-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110130 Andrew Pinski changed: What|Removed |Added Depends on||106622 --- Comment #1 from Andrew

[Bug libstdc++/110133] System error message should ideally use strerror_r over strerror

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

[Bug tree-optimization/110123] [14 Regression] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647

2023-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110123 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Summary|ICE in

[Bug c++/110122] [13/14 Regression] using an aggregate with a member variable with a user defined copy constructor in a class NTTP causes capture and use of the `this` pointer in a generic lambda to p

2023-06-05 Thread waffl3x at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110122 --- Comment #3 from waffl3x --- Very cool, thanks, since your test case seems to cause problems in GCC 11 and GCC 12 does that mean the bug goes deeper than I thought? (In reply to Patrick Palka from comment #2) > It seems only the first

[Bug c++/92407] Destruction of objects returned from functions skipped by goto

2023-06-05 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92407 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug tree-optimization/110134] New: [10/11/12/13/14 Regression] (-unsigned1) != CST is not optimized to unsigned1 != CST at the gimple level

2023-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110134 Bug ID: 110134 Summary: [10/11/12/13/14 Regression] (-unsigned1) != CST is not optimized to unsigned1 != CST at the gimple level Product: gcc Version: 14.0 Status:

[Bug bootstrap/110120] [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in

2023-06-05 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110120 Hans-Peter Nilsson changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/110134] [10/11/12/13/14 Regression] (-unsigned1) != CST is not optimized to unsigned1 != CST at the gimple level

2023-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110134 --- Comment #3 from Andrew Pinski --- r6-1814-g66e1cacf608045 caused GCC 6 to stop doing both. Because they were considered redundant with the patterns added by: r6-1113-g534bd33b61d08e Which was mostly true. I think forwprop was working

  1   2   >