Xingwu Factory

2022-10-05 Thread Liu qi via Gcc-bugs
Dear customer My name is Liu Qi. nice to meet you. Xingwu Factory is a foundry from Hebei Province, China, with a history of 28 years. The company produces nodular cast iron and gray cast iron, and has three 2-ton electric furnaces with an annual output of 2 tons of castings. Our factory mai

Xingwu Factory

2022-10-05 Thread Liu qi via Gcc-bugs
Dear customer My name is Liu Qi. nice to meet you. Xingwu Factory is a foundry from Hebei Province, China, with a history of 28 years. The company produces nodular cast iron and gray cast iron, and has three 2-ton electric furnaces with an annual output of 2 tons of castings. Our factory mai

[Bug c++/107151] Specializing a concepted template can emit bogus assembly

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

[Bug c++/89997] Garbled expression in error message with -fconcepts

2022-10-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89997 Jonathan Wakely changed: What|Removed |Added Resolution|--- |WORKSFORME Status|UNCONFIR

[Bug c++/107151] Specializing a concepted template can emit bogus assembly

2022-10-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107151 --- Comment #2 from Jonathan Wakely --- I think this is PR 100825

[Bug c/107156] New: ice in lookup_attribute_by_prefix, at attribs.h:239

2022-10-05 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107156 Bug ID: 107156 Summary: ice in lookup_attribute_by_prefix, at attribs.h:239 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug c/107156] ice in lookup_attribute_by_prefix, at attribs.h:239

2022-10-05 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107156 David Binderman changed: What|Removed |Added CC||joseph at codesourcery dot com --- Co

[Bug tree-optimization/106698] `-O2 -flto` cause linker warning

2022-10-05 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106698 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org

[Bug tree-optimization/106698] `-O2 -flto` cause linker warning

2022-10-05 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106698 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/106679] [13 regression] gcc.dg/tree-prof/cmpsf-1.c fails after r13-2098-g5adfb6540db95d

2022-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106679 --- Comment #6 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:233c966dba5012938a1f84e14c26b52d507b2aae commit r13-3082-g233c966dba5012938a1f84e14c26b52d507b2aae Author: Martin Liska Date: Wed

[Bug tree-optimization/106679] [13 regression] gcc.dg/tree-prof/cmpsf-1.c fails after r13-2098-g5adfb6540db95d

2022-10-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106679 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug target/107155] ppc_intrinsics is missing

2022-10-05 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107155 --- Comment #3 from Iain Sandoe --- The discussion in the duplicate issue revolves around whether the header in the sources was suitable (i.e. for something != cell). The Apple header (which presumably does not have these contraints, since it w

[Bug c/107156] ice in lookup_attribute_by_prefix, at attribs.h:239

2022-10-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107156 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c/107156] ICE in lookup_attribute_by_prefix, at attribs.h:239 since r13-2976-g3a3516bc4a0a0307

2022-10-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107156 Martin Liška changed: What|Removed |Added Keywords||patch --- Comment #3 from Martin Liška

[Bug tree-optimization/106698] bogus -Wstringop-overflow warning on Ada code with LTO

2022-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106698 --- Comment #3 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:853ce8eea4ff97850a987167e603387b3d0f1401 commit r13-3084-g853ce8eea4ff97850a987167e603387b3d0f1401 Author: Eric Botcazou Date: W

[Bug c/107156] ICE in lookup_attribute_by_prefix, at attribs.h:239 since r13-2976-g3a3516bc4a0a0307

2022-10-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107156 Martin Liška changed: What|Removed |Added Target Milestone|--- |13.0

[Bug tree-optimization/106698] bogus -Wstringop-overflow warning on Ada code with LTO

2022-10-05 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106698 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings

2022-10-05 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 106698, which changed state. Bug 106698 Summary: bogus -Wstringop-overflow warning on Ada code with LTO https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106698 What|Removed |Added --

[Bug target/107076] ICE in gen_untyped_call, at config/i386/i386.md:15992

2022-10-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107076 Martin Liška changed: What|Removed |Added Assignee|marxin at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug tree-optimization/107052] Range of __builtin_popcount can be improved with nonzerobits

2022-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107052 --- Comment #7 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:4c451631f722c9939260a5c2fc209802a47e525f commit r13-3086-g4c451631f722c9939260a5c2fc209802a47e525f Author: Aldy Hernandez Date:

[Bug tree-optimization/107052] Range of __builtin_popcount can be improved with nonzerobits

2022-10-05 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107052 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/107052] Range of __builtin_popcount can be improved with nonzerobits

2022-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107052 --- Comment #6 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:ae56d600d223e996054483d7d7033ec8e258d39d commit r13-3085-gae56d600d223e996054483d7d7033ec8e258d39d Author: Aldy Hernandez Date:

[Bug c++/89997] Garbled expression in error message with -fconcepts

2022-10-05 Thread redbeard0531 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89997 --- Comment #3 from Mathias Stearn --- Please reopen. It still seems to be broken with -std=c++20 as the only flag: https://godbolt.org/z/bWMq4s6xb (trunk) https://godbolt.org/z/W3xWjWaGe (12.2) Output: : In function 'void test()': :16:15: erro

[Bug c/107156] ICE in lookup_attribute_by_prefix, at attribs.h:239 since r13-2976-g3a3516bc4a0a0307

2022-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107156 --- Comment #4 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:0afa9dfb8fb3302db7f104add5654436927dcb56 commit r13-3088-g0afa9dfb8fb3302db7f104add5654436927dcb56 Author: Martin Liska Date: Wed

[Bug c/107156] ICE in lookup_attribute_by_prefix, at attribs.h:239 since r13-2976-g3a3516bc4a0a0307

2022-10-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107156 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/89997] Garbled expression in error message with -fconcepts

2022-10-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89997 Jonathan Wakely changed: What|Removed |Added Resolution|WORKSFORME |--- Ever confirmed|0

[Bug c++/89997] Garbled expression in error message with -fconcepts

2022-10-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89997 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug fortran/107157] New: Weird out-of-bounds error with multiple move_alloc's

2022-10-05 Thread federico.perini at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107157 Bug ID: 107157 Summary: Weird out-of-bounds error with multiple move_alloc's Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug c++/89997] Garbled expression in error message with -fconcepts

2022-10-05 Thread redbeard0531 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89997 --- Comment #6 from Mathias Stearn --- > I think this is probably not concepts-specific, and just another variant of > PR 49152. Perhaps the busted pretty printer is a general problem, but at least in this case I think the fix may be in concept

[Bug c++/107085] __reference_constructs_from_temporary does not detect static up-cast

2022-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107085 --- Comment #9 from Marek Polacek --- A distilled test that ICEs with the patch: struct X { virtual void f(); }; struct Z : X {}; constexpr auto x = sizeof((X(Z(; s.C:5:33: internal compiler error: in build_over_call, at cp/call.cc:9987

[Bug analyzer/107158] New: internal compiler error: in get_or_create_cluster, at analyzer/store.cc:2832

2022-10-05 Thread urs at akk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107158 Bug ID: 107158 Summary: internal compiler error: in get_or_create_cluster, at analyzer/store.cc:2832 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: n

[Bug analyzer/107158] internal compiler error: in get_or_create_cluster, at analyzer/store.cc:2832

2022-10-05 Thread urs at akk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107158 --- Comment #1 from urs at akk dot org --- Created attachment 53668 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53668&action=edit internal compiler error: in get_or_create_cluster, at analyzer/store.cc:2832

[Bug libstdc++/107139] Time to remove #if _GLIBCXX_HOSTED guard for coroutine for freestanding

2022-10-05 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107139 cqwrteur changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug libgcc/104833] disable-threads don't work for x86_64-linux-gnu target

2022-10-05 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104833 cqwrteur changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/107085] __reference_constructs_from_temporary does not detect static up-cast

2022-10-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107085 --- Comment #10 from Marek Polacek --- Even more simplified: struct X { virtual void f(); }; struct Z : X {}; constexpr X x = X(Z()); I guess we shouldn't try to force_elide X::X(X&&) here because X is a potentially-overlapping subobject.

[Bug fortran/107000] ICE in gfc_real2complex, at fortran/arith.cc:2243

2022-10-05 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107000 --- Comment #22 from Steve Kargl --- On Tue, Oct 04, 2022 at 09:20:33PM +, anlauf at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107000 > > --- Comment #21 from anlauf at gcc dot gnu.org --- > Submitted: https://gc

[Bug other/107159] New: x86_64-elf freestanding target should by default build -mno-red-zone and -m32 multi-lib

2022-10-05 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107159 Bug ID: 107159 Summary: x86_64-elf freestanding target should by default build -mno-red-zone and -m32 multi-lib Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug target/107160] New: [13 regression] r13-2641-g0ee1548d96884d causes verification failure in spec2006

2022-10-05 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107160 Bug ID: 107160 Summary: [13 regression] r13-2641-g0ee1548d96884d causes verification failure in spec2006 Product: gcc Version: 13.0 Status: UNCONFIRMED Severi

[Bug c++/107097] Implement floating point excess precision in C++

2022-10-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107097 Jakub Jelinek changed: What|Removed |Added Attachment #53667|0 |1 is obsolete|

[Bug c++/107097] Implement floating point excess precision in C++

2022-10-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107097 --- Comment #5 from Jakub Jelinek --- Seems in that case we loose the precision in: #0 fold_convert_loc (loc=0, type=, arg=) at ../../gcc/fold-const.cc:2436 #1 0x0049c414 in cxx_eval_constant_expression (ctx=0x7fffcc90, t=, lval=vc

[Bug target/103109] madd not used for multiply add on POWER9

2022-10-05 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103109 --- Comment #3 from Peter Bergner --- (In reply to HaoChen Gui from comment #2) > Fixed by r13-2107. This is marked version = GCC 12. Were you planning on backporting this?

[Bug analyzer/107158] internal compiler error: in get_or_create_cluster, at analyzer/store.cc:2832

2022-10-05 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107158 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug c++/107097] Implement floating point excess precision in C++

2022-10-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107097 --- Comment #6 from Jakub Jelinek --- Perhaps try to look up the implicit conversion using the semantic type (i.e. with EXCESS_PRECISION_EXPR not stripped) and then if it is a standard conversion (which exact?) from EXCESS_PRECISION to arithmeti

[Bug c++/107161] New: gcc doesn't constant fold member if any other member is mutable

2022-10-05 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107161 Bug ID: 107161 Summary: gcc doesn't constant fold member if any other member is mutable Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/107161] gcc doesn't constant fold member if any other member is mutable

2022-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107161 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug analyzer/107060] -fanalyzer unbearably slow when compiling GNU Emacs

2022-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107060 --- Comment #7 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:6832c95c0e1a58ba4d342ec002000f9d9d7db5ca commit r13-3094-g6832c95c0e1a58ba4d342ec002000f9d9d7db5ca Author: David Malcolm Date: W

[Bug analyzer/107158] internal compiler error: in get_or_create_cluster, at analyzer/store.cc:2832

2022-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107158 --- Comment #3 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:ef878564140cbcf23f479da88e07e5a996cec6bb commit r13-3096-gef878564140cbcf23f479da88e07e5a996cec6bb Author: David Malcolm Date: W

[Bug target/106562] PRU: Inefficient code for zero check of 64-bit (boolean) AND result

2022-10-05 Thread dimitar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106562 --- Comment #2 from Dimitar Dimitrov --- With cbranchdi4 defined, the generated code is now 10 instructions: test: qbne.L5, r15, 0 qbeq.L4, r14, 0 .L5: rsb r0, r16, 0 rsc r1, r17, 0 or

[Bug analyzer/107158] False postives from -Wanalyzer-malloc-leak on tin-2.6.2

2022-10-05 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107158 David Malcolm changed: What|Removed |Added Summary|internal compiler error: in |False postives from |

[Bug analyzer/107060] -fanalyzer unbearably slow when compiling GNU Emacs

2022-10-05 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107060 --- Comment #8 from David Malcolm --- The patch for PR analyzer/107072 and the above patch mean that we get more reasonable summaries when using -fanalyzer-call-summaries. Unfortunately: - it actually slows down the analysis for PR 107060 on my

[Bug c/107162] New: -Wmisleading-indentation is blinded by comments

2022-10-05 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107162 Bug ID: 107162 Summary: -Wmisleading-indentation is blinded by comments Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c++/107163] New: Compile time regression when using templated base classes, virtual method, and Wall

2022-10-05 Thread cfsteefel at arista dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107163 Bug ID: 107163 Summary: Compile time regression when using templated base classes, virtual method, and Wall Product: gcc Version: 11.3.1 Status: UNCONFIRMED Se

[Bug c++/107163] Compile time regression when using templated base classes, virtual method, and Wall since r10-2823-g6a07489267e55084

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

[Bug c++/107163] [10/11/12/13 Regression] huge Compile time when using templated base classes, virtual method, and Wall since r10-2823-g6a07489267e55084

2022-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107163 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.5 Summary|Compile time re

[Bug middle-end/107047] load introduced of struct fields after assigning it to a local variable

2022-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107047 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug analyzer/107158] False postives from -Wanalyzer-malloc-leak on tin-2.6.2

2022-10-05 Thread urs at akk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107158 --- Comment #5 from urs at akk dot org --- Now (git @ e99dcbb54e07b798c3353124f38336f96a826d43; same $CFLAGS and source file) during IPA pass: analyzer ./makecfg.c: In function ‘parse_tbl’: ./makecfg.c:150:25: internal compiler error: in bind_ke

[Bug c++/107163] [10/11/12/13 Regression] huge Compile time increase when using templated base classes, virtual method, and Wall since r10-2823-g6a07489267e55084

2022-10-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107163 --- Comment #2 from Jonathan Wakely --- Yes, using -std=gnu++14 makes GCC 11 as fast as GCC 8.

[Bug fortran/107000] ICE in gfc_real2complex, at fortran/arith.cc:2243

2022-10-05 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107000 --- Comment #23 from anlauf at gcc dot gnu.org --- (In reply to Steve Kargl from comment #22) > In looking at the patch, there is a > >gcc_assert (op1->ts.type != BT_UNKNOWN); > > in reduce_binary_ac() near line 1334 and > >gcc_assert

[Bug c/107164] New: No pedantic warning for declaration just referring to a previously-declared enum type

2022-10-05 Thread stephenheumann at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107164 Bug ID: 107164 Summary: No pedantic warning for declaration just referring to a previously-declared enum type Product: gcc Version: 13.0 Status: UNCONFIRMED Ke

[Bug c/107164] No pedantic warning for declaration just referring to a previously-declared enum type

2022-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107164 --- Comment #1 from Andrew Pinski --- clang says it is a GCC extension: :2:6: warning: redeclaration of already-defined enum 'E' is a GNU extension [-Wgnu-redeclared-enum] enum E; ^ :1:6: note: previous definition is here enum E {a,b,c};

[Bug c++/55578] Disabling warnings inside macro definition doesn't work

2022-10-05 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55578 --- Comment #11 from Lewis Hyatt --- (In reply to Vadim Zeitlin from comment #10) > There definitely was a change in behaviour in gcc 11 because I had to make > this change > > https://github.com/wxWidgets/wxWidgets/commit/ > 95c98a0b5ff71caca66

[Bug c++/107165] New: Downcasting in constexpr, error: "accessing value of `...Derived::’ through a ‘Derived’ glvalue in a constant expression"

2022-10-05 Thread petr.azmanov at wartsila dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107165 Bug ID: 107165 Summary: Downcasting in constexpr, error: "accessing value of `...Derived::’ through a ‘Derived’ glvalue in a constant expression" Product: gcc Ve

[Bug c++/107165] Downcasting in constexpr, error: "accessing value of `...Derived::’ through a ‘Derived’ glvalue in a constant expression"

2022-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107165 --- Comment #1 from Andrew Pinski --- Note since it was fixed in GCC 12.1.0 and it does not look like a regression, this will be closed as fixed for GCC 12 after bisecting to the patch which fixed it and the fix won't be backported to GCC 11.x.

[Bug c++/103879] error: accessing value of variant::_Copy_ctor_base through a 'const variant' glvalue in a constant expression

2022-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103879 Andrew Pinski changed: What|Removed |Added CC||petr.azmanov at wartsila dot com --- C

[Bug c++/107165] Downcasting in constexpr, error: "accessing value of `...Derived::’ through a ‘Derived’ glvalue in a constant expression"

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

[Bug c/107166] New: "useless type name in empty declaration" diagnostic may refer to wrong location

2022-10-05 Thread stephenheumann at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107166 Bug ID: 107166 Summary: "useless type name in empty declaration" diagnostic may refer to wrong location Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords

[Bug c++/55578] Disabling warnings inside macro definition doesn't work

2022-10-05 Thread vz-gcc at zeitlins dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55578 --- Comment #12 from Vadim Zeitlin --- Thanks for looking at this! I'm happy to hear that the problem is fixed in 11.2, but I'm probably not going to change our code anyhow, especially as we're going to finally drop support for C++98 very soon an

[Bug c++/55578] Disabling warnings inside macro definition doesn't work

2022-10-05 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55578 Lewis Hyatt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/107166] "useless type name in empty declaration" diagnostic may refer to wrong location

2022-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107166 Andrew Pinski changed: What|Removed |Added Severity|normal |minor

[Bug c/107166] "useless type name in empty declaration" diagnostic may refer to wrong location

2022-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107166 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-10-06 Ever confirmed|0

[Bug rtl-optimization/107167] New: It looks like GCC wastes registers on trivial computations when result can be cached

2022-10-05 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107167 Bug ID: 107167 Summary: It looks like GCC wastes registers on trivial computations when result can be cached Product: gcc Version: 13.0 Status: UNCONFIRMED Sev

[Bug rtl-optimization/107167] It looks like GCC wastes registers on trivial computations when result can be cached

2022-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107167 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug rtl-optimization/107167] It looks like GCC wastes registers on trivial computations when result can be cached

2022-10-05 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107167 --- Comment #2 from cqwrteur --- (In reply to Andrew Pinski from comment #1) > This is a reassociation, scheduling issue and register allocation issue. > > Plus your example might be slower due to dependencies. > > Without a full example of wh

[Bug rtl-optimization/107167] It looks like GCC wastes registers on trivial computations when result can be cached

2022-10-05 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107167 --- Comment #3 from cqwrteur --- (In reply to Andrew Pinski from comment #1) > This is a reassociation, scheduling issue and register allocation issue. > > Plus your example might be slower due to dependencies. > > Without a full example of wh

[Bug rtl-optimization/107167] It looks like GCC wastes registers on trivial computations when result can be cached

2022-10-05 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107167 --- Comment #4 from cqwrteur --- (In reply to Andrew Pinski from comment #1) > Plus your example might be slower due to dependencies. Dependency is only an issue to a certain degree. 1st one it has things like "movl%edi, %edx; rorl$11

[Bug rtl-optimization/107167] It looks like GCC wastes registers on trivial computations when result can be cached

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

[Bug middle-end/107088] [13 Regression] cselib ICE building __trunctfxf2 on ia64

2022-10-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107088 --- Comment #11 from CVS Commits --- The master branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:5fc4d3e1837ea4850aac6460f563913f1d3fc5b8 commit r13-3105-g5fc4d3e1837ea4850aac6460f563913f1d3fc5b8 Author: Stefan Sc

[Bug rtl-optimization/103550] 2 more instructions generated by gcc than clang

2022-10-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103550 --- Comment #11 from Andrew Pinski --- *** Bug 107167 has been marked as a duplicate of this bug. ***

[Bug c++/101670] Internal compiler error with concepts

2022-10-05 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101670 --- Comment #3 from Fedor Chelnokov --- A shorter example: template concept x = true; void foo(x auto) {} Online demo: https://godbolt.org/z/sT74G8crE

[Bug tree-optimization/107129] [13 Regression] False positive -Wstringop-overflow warning with -O2 or -O3 since r13-137-gee1cb43bc76de800

2022-10-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107129 Richard Biener changed: What|Removed |Added Blocks||88443 Target Milestone|---