[Bug tree-optimization/79002] Weird c++ assembly code generated for tail call

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79002 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2017-01-05 00:00:00 |2021-7-27 Component|c++

[Bug target/39821] 120% slowdown with vectorizer

2021-07-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39821 --- Comment #9 from Hongtao.liu --- (In reply to Richard Biener from comment #8) > I've pushed the change that makes us run into ix86_multiplication_cost but > as said that doesn't differentiate highpart or widening multiply yet and > thus we're

[Bug c++/68842] Better error output when template needed before dependent name

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68842 Andrew Pinski changed: What|Removed |Added CC||soko.slav at yandex dot ru --- Comment

[Bug c++/90495] Incorrect parsing of a()->b construction

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

[Bug c++/60531] template function not resolved when comparing functions

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60531 Andrew Pinski changed: What|Removed |Added CC||roman.perepelitsa at gmail dot com ---

[Bug c++/71382] Unary plus doesn't work with pointers to instantiations of function templates

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

[Bug c++/70608] Braced initializer in default argument misses friendship

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

[Bug fortran/101632] NON_RECURSIVE procedure prefix is unsupported. F2018 defaults to recursive procedures.

2021-07-27 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101632 --- Comment #3 from Steve Kargl --- On Mon, Jul 26, 2021 at 07:15:53PM +, kargl at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101632 > > --- Comment #2 from kargl at gcc dot gnu.org --- > Created attachment 51207

[Bug c++/64696] [C++14] braced-init-list does not respect designated initializer

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64696 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid, wrong-code --- Comment

[Bug c++/69059] [C++14] Invalid rejection of expression as not-a-constant-expression

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69059 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid --- Comment #1 from

[Bug c++/68678] [5 Regression] Initialization of pointer by constant expression using static ctor.

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68678 Andrew Pinski changed: What|Removed |Added Known to work||4.8.5, 6.0 Resolution|---

[Bug libfortran/101317] Bind(C): improve error checking in CFI_* functions declared in ISO_Fortran_binding.h

2021-07-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101317 --- Comment #2 from CVS Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:e78480ad0983cf75813af5e02d68cdad09e441e9 commit r12-2555-ge78480ad0983cf75813af5e02d68cdad09e441e9 Author: Sandra Loosemore

[Bug libfortran/101310] Bind(C): CFI_section seems confused by pointer arrays

2021-07-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101310 --- Comment #3 from CVS Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:b4a9bc7856ee1d3ff98b04402334a362540af2cf commit r12-2554-gb4a9bc7856ee1d3ff98b04402334a362540af2cf Author: Sandra Loosemore

[Bug libfortran/101305] Bind(C): Problems with incorrect kinds/sizes in ISO_Fortran_binding.h and CFI_establish

2021-07-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101305 --- Comment #6 from CVS Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:a3b350f1799a1c0f9e2ece5b817a537fe42f0d2d commit r12-2553-ga3b350f1799a1c0f9e2ece5b817a537fe42f0d2d Author: Sandra Loosemore

[Bug libfortran/101305] Bind(C): Problems with incorrect kinds/sizes in ISO_Fortran_binding.h and CFI_establish

2021-07-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101305 --- Comment #5 from CVS Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:c4dc9f590181321c36d3f3ef72c50b3c47bbfe7c commit r12-2552-gc4dc9f590181321c36d3f3ef72c50b3c47bbfe7c Author: Sandra Loosemore

[Bug libfortran/101305] Bind(C): Problems with incorrect kinds/sizes in ISO_Fortran_binding.h and CFI_establish

2021-07-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101305 --- Comment #4 from CVS Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:fef67987cf502fe322e92ddce22eea7ac46b4d75 commit r12-2551-gfef67987cf502fe322e92ddce22eea7ac46b4d75 Author: Sandra Loosemore

[Bug c++/55986] RHS of logical operators may render LHS unevaluated in constant-expression

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

[Bug middle-end/101596] vect_recog_mulhs_pattern could use incorrect precision to check shift count

2021-07-27 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101596 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libgcc/101655] canadian compile of libgcc uses native cc as the compiler instead of the target cross compiler

2021-07-27 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101655 --- Comment #9 from cqwrteur --- export CFLAGS="-O3 -DNDEBUG -march=native -fno-ident -ffunction-sections -fdata-sections" export CXXFLAGS=$CFLAGS CPPFLAGS=$CFLAGS export LDFLAGS="-Wl,--gc-sections"

[Bug middle-end/101596] vect_recog_mulhs_pattern could use incorrect precision to check shift count

2021-07-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101596 --- Comment #4 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:89b3c97eed75c1e7c492bc727e0016003c5809cc commit r12-2550-g89b3c97eed75c1e7c492bc727e0016003c5809cc Author: Kewen Lin Date: Tue Jul

[Bug libgcc/101655] canadian compile of libgcc uses native cc as the compiler instead of the target cross compiler

2021-07-27 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101655 --- Comment #8 from cqwrteur --- He said he just adds patch for the mcf thread model. https://github.com/lhmouse/MINGW-packages-dev/blob/master/mingw-w64-gcc-git/9000-gcc-10-branch-Added-mcf-thread-model-support-from-mcfgthread.patch And he

[Bug libgcc/101655] canadian compile of libgcc uses native cc as the compiler instead of the target cross compiler

2021-07-27 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101655 --- Comment #7 from cqwrteur --- (In reply to Andrew Pinski from comment #5) > Can you provide the exact steps you are doing? > Because I think you are misunderstanding how this works. > > So if you use --host=x86_64-w64-mingw32 . > >

[Bug libgcc/101655] canadian compile of libgcc uses native cc as the compiler instead of the target cross compiler

2021-07-27 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101655 --- Comment #6 from cqwrteur --- (In reply to Andrew Pinski from comment #5) > Can you provide the exact steps you are doing? > Because I think you are misunderstanding how this works. > > So if you use --host=x86_64-w64-mingw32 . > >

[Bug libgcc/101655] canadian compile of libgcc uses native cc as the compiler instead of the target cross compiler

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101655 --- Comment #5 from Andrew Pinski --- Can you provide the exact steps you are doing? Because I think you are misunderstanding how this works. So if you use --host=x86_64-w64-mingw32 . configure:2358: checking build system type configure:2372:

[Bug libgcc/101655] canadian compile of libgcc uses native cc as the compiler instead of the target cross compiler

2021-07-27 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101655 --- Comment #4 from cqwrteur --- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100427 Also an old bug i reported 2 months ago for multilibs. However, nobody seems to read that.

[Bug c++/99969] g++ incorrectly thinks a private destructor is available

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99969 --- Comment #1 from Andrew Pinski --- This seems fixed since GCC 11.

[Bug libgcc/101655] canadian compile of libgcc uses native cc as the compiler instead of the target cross compiler

2021-07-27 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101655 --- Comment #3 from cqwrteur --- Created attachment 51218 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51218=edit another libgcc bug

[Bug c++/94564] C++20: Three-way comparison between pointer and nullptr accepted

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94564 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0 Status|NEW

[Bug libgcc/101655] canadian compile of libgcc uses native cc as the compiler instead of the target cross compiler

2021-07-27 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101655 --- Comment #2 from cqwrteur --- looks like canadian compile is not tested frequently as native or cross is doing. It still breaks for either libgcc and libstdc++. (Some times even the gcc itself, like msdos for example) I am just helping

[Bug libgcc/101655] canadian compile of libgcc uses native cc as the compiler instead of the target cross compiler

2021-07-27 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101655 --- Comment #1 from cqwrteur --- Created attachment 51217 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51217=edit config.log

[Bug libgcc/101655] New: canadian compile of libgcc uses native cc as the compiler instead of the target cross compiler

2021-07-27 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101655 Bug ID: 101655 Summary: canadian compile of libgcc uses native cc as the compiler instead of the target cross compiler Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/54319] [9/10/11/12 Regression] empty class causes error while non-empty does not

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54319 Andrew Pinski changed: What|Removed |Added Keywords||accepts-invalid, wrong-code --- Comment

[Bug tree-optimization/100457] [meta bug] Enabling O2 vectorization in GCC 12

2021-07-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100457 Bug 100457 depends on bug 99881, which changed state. Bug 99881 Summary: Regression compare -O2 -ftree-vectorize with -O2 on SKX/CLX https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99881 What|Removed |Added

[Bug target/99881] Regression compare -O2 -ftree-vectorize with -O2 on SKX/CLX

2021-07-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99881 Hongtao.liu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/54319] [9/10/11/12 Regression] empty class causes error while non-empty does not

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54319 Andrew Pinski changed: What|Removed |Added CC||ihorelo at mail dot ru --- Comment #12

[Bug c++/86032] non standard copy operator is used for empty class

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

[Bug target/99881] Regression compare -O2 -ftree-vectorize with -O2 on SKX/CLX

2021-07-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99881 --- Comment #6 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:872da9a6f664a06d73c987aa0cb2e5b830158a10 commit r12-2549-g872da9a6f664a06d73c987aa0cb2e5b830158a10 Author: liuhongt Date: Fri Mar

[Bug c++/54319] [9/10/11/12 Regression] empty class causes error while non-empty does not

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54319 --- Comment #11 from Andrew Pinski --- For the original testcase, I think r0-98505 introduce the failure.

[Bug c++/54319] [9/10/11/12 Regression] empty class causes error while non-empty does not

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54319 --- Comment #10 from Andrew Pinski --- It is the code in call.c that makes a difference: if (is_really_empty_class (type, /*ignore_vptr*/true)) { /* Avoid copying empty classes. */ val = build2 (COMPOUND_EXPR,

[Bug c++/54319] [9/10/11/12 Regression] empty class causes error while non-empty does not

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54319 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > I think the problem is here in init.c: > /* If the type has data but no user-provided default ctor, we need to > zero > out the object. */ >

[Bug c++/54319] [9/10/11/12 Regression] empty class causes error while non-empty does not

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54319 --- Comment #8 from Andrew Pinski --- I think the problem is here in init.c: /* If the type has data but no user-provided default ctor, we need to zero out the object. */ if (type_has_non_user_provided_default_constructor

[Bug c++/54319] [9/10/11/12 Regression] empty class causes error while non-empty does not

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54319 Andrew Pinski changed: What|Removed |Added Known to work||4.4.7 --- Comment #7 from Andrew Pinski

[Bug c++/54319] [9/10/11/12 Regression] empty class causes error while non-empty does not

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54319 Andrew Pinski changed: What|Removed |Added Summary|empty class causes error|[9/10/11/12 Regression]

[Bug c++/54319] empty class causes error while non-empty does not

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

[Bug c++/72507] incorrectly accepts invalid C++11 code that tries to allocate an incomplete type

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72507 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2016-07-26 00:00:00 |2021-7-27 --- Comment #1 from Andrew

[Bug c++/96256] Invalid consteval call not rejected

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96256 Andrew Pinski changed: What|Removed |Added URL|https://godbolt.org/z/zeEY9 | |6

[Bug c++/52761] [C++11] Missing diagnostic for opaque unscoped enum declaration without base

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52761 Andrew Pinski changed: What|Removed |Added CC||anders.granlund.0 at gmail dot com ---

[Bug c++/67016] Redeclaration of enum

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

[Bug tree-optimization/100740] [9/10/11/12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r9-4145

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100740 Andrew Pinski changed: What|Removed |Added CC||phd at phd dot re --- Comment #4 from

[Bug tree-optimization/101653] [9/10/11/12 Regression] Bad code generated when optimizing nested for loops

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

[Bug tree-optimization/101653] [9/10/11/12 Regression] Bad code generated when optimizing nested for loops

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101653 --- Comment #2 from Andrew Pinski --- Confirmed, ivcannon is turning the loops into: [local count: 79093198]: goto ; [100.00%] [local count: 357878150]: a_8 = a_11 + 1; c_14 = c_3 + 2; goto ; [100.00%] [local count:

[Bug tree-optimization/101653] [9/10/11/12 Regression] Bad code generated when optimizing nested for loops

2021-07-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101653 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Last

[Bug testsuite/101654] New: [12 regression] new test case UNRESOLVED problem in r12-2524

2021-07-27 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101654 Bug ID: 101654 Summary: [12 regression] new test case UNRESOLVED problem in r12-2524 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/101653] [9/10/11/12 Regression] Bad code generated when optimizing nested for loops

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101653 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Summary|Bad code

[Bug c/101653] New: Bad code generated when optimizing nested for loops

2021-07-27 Thread phd at phd dot re via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101653 Bug ID: 101653 Summary: Bad code generated when optimizing nested for loops Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/92604] GCC accepts invalid conversion from designated initializer list

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

[Bug c/91432] gcc -Wimplicit-fallthrough does not warn when fallthrough to break;

2021-07-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91432 --- Comment #8 from Jakub Jelinek --- Useful for what? What exactly is an advantage to require attribute at such a place? Nothing will warn if you put it there, but I don't see a rationale for requiring it.

[Bug c++/86581] constexpr variable allows uninitialized member of anonymous struct inside union

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86581 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic --- Comment #3 from Andrew

[Bug c/91432] gcc -Wimplicit-fallthrough does not warn when fallthrough to break;

2021-07-27 Thread joe at perches dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91432 --- Comment #7 from Joe Perches --- What could be useful is to add yet another --extra-strict-fallthrough warning flag that would make it possible for these cases to have a warning.

[Bug c++/98440] [9/10 Regression] Accepts ill-formed reinterpret_cast(1)

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

[Bug c++/86633] invalid with rvalue references

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

[Bug c++/87699] Implement CWG 1512

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

[Bug c++/86228] ordered comparison between pointer and zero

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

[Bug c++/80380] misleading behavior with designated initializers for std::vector

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

[Bug c++/95369] braced-init-list with designated initializers as template-argument rejected

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

[Bug c++/68188] Ambiguous code gets compiled successfully when class and its namespace have the same name

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

[Bug c++/68188] Ambiguous code gets compiled successfully when class and its namespace have the same name

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

[Bug c++/67663] ambiguous namespace/class name not reported as error

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

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-07-27 Thread me at larbob dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #276 from Larkin Nickle --- Created attachment 51215 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51215=edit How I'm attempting to build GCC 11.1 For what it's worth, here's exactly how I'm attempting to build 11.1. This is

[Bug c++/71919] Redefinition of user-defined conversions (via typedef) shouldn't compile

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71919 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |8.0 Status|NEW

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

2021-07-27 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 101584, which changed state. Bug 101584 Summary: missing -Wuninitialized with an allocated object after a built-in call https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101584 What|Removed

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

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

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

2021-07-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101584 --- Comment #2 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:6aacd901b800ee8a2a03123669b299a08aad0504 commit r12-2544-g6aacd901b800ee8a2a03123669b299a08aad0504 Author: Martin Sebor Date:

[Bug c++/53931] [C++11] braced function style cast to reference should be prvalue

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53931 --- Comment #3 from Andrew Pinski --- typedef int & void zip1(int x) { ir{x}; } Also is accepted.

[Bug c++/69127] inconsistent handling of initializers of zero-length array members

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

[Bug c++/60009] g++ allows copy-initialization of an array of class type from a non-braced string literal

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

[Bug c++/65906] using-declaration allowed for non-direct base class

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

[Bug c/101645] warn about neg of unsigned type should be added to -Wsign-conversion

2021-07-27 Thread jhubbard at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101645 John Hubbard changed: What|Removed |Added CC||jhubbard at nvidia dot com --- Comment

[Bug c++/101651] vector extension and element access vs C++17 constexpr functions

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101651 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) Here is clang's error message which is 1% wrong. :7:16: error: constexpr function never produces a constant expression [-Winvalid-constexpr] constexpr auto

[Bug fortran/101652] New: Audit uses of general purpose matching routine gfc_match with code %v

2021-07-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101652 Bug ID: 101652 Summary: Audit uses of general purpose matching routine gfc_match with code %v Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/101651] vector extension and element access vs C++17 constexpr functions

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101651 Andrew Pinski changed: What|Removed |Added Summary|vector extension and|vector extension and

[Bug c++/101651] vector extension and element write vs C++17 constexpr functions

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

[Bug c++/101651] New: constexpr write to simd vector element

2021-07-27 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101651 Bug ID: 101651 Summary: constexpr write to simd vector element Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug testsuite/101646] [12 regression] excess errors after r12-2533

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

[Bug testsuite/101646] [12 regression] excess errors after r12-2533

2021-07-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101646 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:b7195fb01fe62a313ae5f7faede698101bdb3025 commit r12-2542-gb7195fb01fe62a313ae5f7faede698101bdb3025 Author: Jonathan Wakely

[Bug c/91432] gcc -Wimplicit-fallthrough does not warn when fallthrough to break;

2021-07-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91432 --- Comment #6 from Jakub Jelinek --- (In reply to Nick Desaulniers from comment #5) > > Not warning in this case is a very intentional part of those design > > decisions. > > Can you provide a link to the discussion about this specific case?

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

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

[Bug testsuite/101646] [12 regression] excess errors after r12-2533

2021-07-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101646 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug bootstrap/101574] gcc/sparseset.h:215:20: error: suggest parentheses around assignment used as truth value [-Werror=parentheses]

2021-07-27 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101574 --- Comment #8 from Martin Sebor --- The symptom in comment #6 does look similar to the problem discussed in pr101292. I haven't debugged it yet but when developing the warning control patch I struggled with keeping the garbage collector from

[Bug target/87767] Missing AVX512 memory broadcast for constant vector

2021-07-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87767 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c/91432] gcc -Wimplicit-fallthrough does not warn when fallthrough to break;

2021-07-27 Thread ndesaulniers at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91432 --- Comment #5 from Nick Desaulniers --- > Not warning in this case is a very intentional part of those design decisions. Can you provide a link to the discussion about this specific case? Is re-evaluating the decision out of the question?

[Bug bootstrap/101574] gcc/sparseset.h:215:20: error: suggest parentheses around assignment used as truth value [-Werror=parentheses]

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101574 --- Comment #7 from Andrew Pinski --- (In reply to Thomas Schwinge from comment #6) > Short summary: I ran into an unexpected '0xa5a5a5a5' in > 'gcc/warning-control.cc', and a search through email archives pointed me to > PR101292, PR101204,

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

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96779 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > This is simple, I will take. > (for cmp (eq ne) > (simplify > (cmp:c @0 (negate @0)) >(if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (@0))) > (cmp:c @0 {

[Bug bootstrap/101574] gcc/sparseset.h:215:20: error: suggest parentheses around assignment used as truth value [-Werror=parentheses]

2021-07-27 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101574 Thomas Schwinge changed: What|Removed |Added CC||marxin at gcc dot gnu.org,

[Bug tree-optimization/101650] (len | N) == len is transformed to len & N != 0

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

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

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

[Bug tree-optimization/101650] (len | N) == len is transformed to len & N != 0

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

[Bug tree-optimization/101650] New: (len | N) == len is transformed to len & N != 0

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101650 Bug ID: 101650 Summary: (len | N) == len is transformed to len & N != 0 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity:

[Bug c++/101649] -Wdouble-promotion warning emitted when floating point literals are not actually promoted to doubles

2021-07-27 Thread make_all--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101649 --- Comment #4 from South Window --- For the user of GCC it doesn't matter whether GCC at compile times converts the literal to a double, and then notices that 32 bits of are zero, and uses a float instead, or if GCC knows right away that 0.5

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

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101590 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > (In reply to Richard Biener from comment #1) > > it doesn't even have to be -N, any unsigned & N <= unsigned > > Here are the ones which are valid: > > U | N

  1   2   3   >