[Bug c++/97712] New: Attribute nodiscard in virtual methods is ignored

2020-11-03 Thread pacoarjonilla at yahoo dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97712 Bug ID: 97712 Summary: Attribute nodiscard in virtual methods is ignored Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug other/97417] RISC-V Unnecessary andi instruction when loading volatile bool

2020-11-03 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97417 --- Comment #12 from Levy --- (In reply to Kito Cheng from comment #11) > > Two failed cases: shorten-memrefs-5.c & shorten-memrefs-6.c > > Seems like shorten_memrefs pass didn't handle zero_extend and sign_extend > with memory. > > You can

[Bug other/97417] RISC-V Unnecessary andi instruction when loading volatile bool

2020-11-03 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97417 Kito Cheng changed: What|Removed |Added CC||kito at gcc dot gnu.org --- Comment #11

[Bug other/97417] RISC-V Unnecessary andi instruction when loading volatile bool

2020-11-03 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97417 --- Comment #10 from Levy --- Created attachment 49500 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49500=edit Optimzation Patch for QI/HImode(32bit) and QI/HI/SImode(64bit) Proposing second patch for QI/HImode(32bit) and

[Bug target/97532] [11 Regression] Error: insn does not satisfy its constraints, internal compiler error: in extract_constrain_insn, at recog.c:2196

2020-11-03 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97532 --- Comment #15 from Hongtao.liu --- Fixed in GCC11.

[Bug rtl-optimization/97540] [11 Regression] ICE in lra_set_insn_recog_data, at lra.c:1004 since r11-4202-g4de7b010038933dd

2020-11-03 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97540 --- Comment #9 from Hongtao.liu --- Fixed in GCC11.

[Bug target/97532] [11 Regression] Error: insn does not satisfy its constraints, internal compiler error: in extract_constrain_insn, at recog.c:2196

2020-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97532 --- Comment #14 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:db8b3e148d5cc5358cd48886e5334bd50d2d3317 commit r11-4703-gdb8b3e148d5cc5358cd48886e5334bd50d2d3317 Author: liuhongt Date: Mon Oct

[Bug rtl-optimization/97540] [11 Regression] ICE in lra_set_insn_recog_data, at lra.c:1004 since r11-4202-g4de7b010038933dd

2020-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97540 --- Comment #8 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:2e0aa43fc6ae689c595902310baec604e7e0d695 commit r11-4704-g2e0aa43fc6ae689c595902310baec604e7e0d695 Author: liuhongt Date: Mon Oct

[Bug other/97705] [11 regression] cc.c-torture/unsorted/dump-noaddr.c.*r.ira fails after r11-4637

2020-11-03 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97705 Kewen Lin changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug fortran/97692] GNU Fortran is not working

2020-11-03 Thread nju044 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97692 --- Comment #4 from ninos --- (In reply to Jakub Jelinek from comment #2) > aarch64-xilinx-linux-gfortran: command not found > seems like user error. I grep "command not found" and find more suspectible items, especially item "19":

[Bug tree-optimization/97711] New: Failure to optimise "x & 1 ? x - 1 : x" to "x & -2"

2020-11-03 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97711 Bug ID: 97711 Summary: Failure to optimise "x & 1 ? x - 1 : x" to "x & -2" Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/90629] Support for -Wmismatched-new-delete

2020-11-03 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90629 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #4 from Martin Sebor

[Bug ipa/97695] [11 Regression] wrong code at -O3 on x86_64-pc-linux-gnu since r11-4587-gae7a23a3fab74.

2020-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97695 --- Comment #8 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:ab4664eb73f9401a5ca65d21cdf87d69fe0026dc commit r11-4700-gab4664eb73f9401a5ca65d21cdf87d69fe0026dc Author: Jan Hubicka Date: Wed

[Bug c++/97710] Help with breaking change? cast pointer-to-member address in template parameter list

2020-11-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97710 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug inline-asm/97708] Inline asm does not use the local register asm specified with register ... asm() as input

2020-11-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97708 --- Comment #8 from Jakub Jelinek --- That is how GCC deals with all reloading, so I don't understand what is surprising about it. If you ask for something to be in register (or register class) xyz and it isn't there, it is copied there. Look at

[Bug fortran/97491] Wrong restriction for VALUE arguments of pure procedures

2020-11-03 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97491 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/97710] New: Help with breaking change? cast point-to-member address in template parameter list

2020-11-03 Thread mick.pearson at wildblue dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97710 Bug ID: 97710 Summary: Help with breaking change? cast point-to-member address in template parameter list Product: gcc Version: 10.2.0 Status: UNCONFIRMED

[Bug c/97702] comma operator does not drop qualifiers during lvalue conversion

2020-11-03 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97702 --- Comment #3 from joseph at codesourcery dot com --- T5 in that list is an lvalue, so it seems right not to drop qualifiers there.

[Bug fortran/97491] Wrong restriction for VALUE arguments of pure procedures

2020-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97491 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:a00894a3a3eb2852cd782a9cc6ee5bd83bfff542 commit r10-8970-ga00894a3a3eb2852cd782a9cc6ee5bd83bfff542 Author: Harald Anlauf

[Bug ipa/97695] [11 Regression] wrong code at -O3 on x86_64-pc-linux-gnu since r11-4587-gae7a23a3fab74.

2020-11-03 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97695 --- Comment #7 from Martin Jambor --- (In reply to Jan Hubicka from comment #5) > I see you have patch, too :) > However we do not want to copy clone info to every inline clone (since > the body is materialized just once). The problem is that

[Bug inline-asm/97708] Inline asm does not use the local register asm specified with register ... asm() as input

2020-11-03 Thread bp at alien8 dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97708 --- Comment #7 from Boris --- (In reply to Jakub Jelinek from comment #6) > I agree with Andrew here, the compiler does what it is asked to do, so puts > the value into either memory or general purpose register. Neither "r" nor > "g" allows

[Bug tree-optimization/97559] [11 Regression] ICE at -O1 and above on x86_64-pc-linux-gnu: verify_ssa failed

2020-11-03 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97559 Zhendong Su changed: What|Removed |Added CC||zhendong.su at inf dot ethz.ch ---

[Bug c/97702] comma operator does not drop qualifiers during lvalue conversion

2020-11-03 Thread uecker at eecs dot berkeley.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97702 --- Comment #2 from Martin Uecker --- Thank you for the explanation. Interestingly, from the following list, the only example that removes the cast is the last one (which seems correct as ISO C specifies casts to produce a value with the

[Bug inline-asm/97708] Inline asm does not use the local register asm specified with register ... asm() as input

2020-11-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97708 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug ipa/97695] [11 Regression] wrong code at -O3 on x86_64-pc-linux-gnu since r11-4587-gae7a23a3fab74.

2020-11-03 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97695 --- Comment #6 from Zhendong Su --- Another repro for the same issue (as -fno-ipa-cp also avoids it): [579] % gcctk -O2 small.c; ./a.out [580] % gcctk -O3 small.c; ./a.out Aborted [581] % gcctk -O3 -fno-ipa-cp small.c; ./a.out [582] % [582] %

[Bug inline-asm/97708] Inline asm does not use the local register asm specified with register ... asm() as input

2020-11-03 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97708 Segher Boessenkool changed: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED

Re: [Bug ipa/97695] [11 Regression] wrong code at -O3 on x86_64-pc-linux-gnu since r11-4587-gae7a23a3fab74.

2020-11-03 Thread Jan Hubicka
I see you have patch, too :) However we do not want to copy clone info to every inline clone (since the body is materialized just once). The problem is that in case the offline copy is removed we move clone info to first inline clone and reshape the tree. This is quite old code to save little

[Bug ipa/97695] [11 Regression] wrong code at -O3 on x86_64-pc-linux-gnu since r11-4587-gae7a23a3fab74.

2020-11-03 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97695 --- Comment #5 from Jan Hubicka --- I see you have patch, too :) However we do not want to copy clone info to every inline clone (since the body is materialized just once). The problem is that in case the offline copy is removed we move clone

[Bug c++/97663] [c++17] Function with return type 'unsigned' in nested namespace misinterpreted as deduction guide

2020-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97663 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:875225301e356759982573d5578ed7ca54f81f86 commit r11-4695-g875225301e356759982573d5578ed7ca54f81f86 Author: Jakub Jelinek Date:

[Bug c/97709] New: powerpc: ICE when building glibc with latest gcc

2020-11-03 Thread msc at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97709 Bug ID: 97709 Summary: powerpc: ICE when building glibc with latest gcc Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug inline-asm/97708] Inline asm does not use the local register asm specified with register ... asm() as input

2020-11-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97708 Andrew Pinski changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug inline-asm/97708] Inline asm does not use the local register asm specified with register ... asm() as input

2020-11-03 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97708 Segher Boessenkool changed: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED

[Bug libstdc++/66146] call_once not C++11-compliant on ppc64le

2020-11-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66146 --- Comment #34 from Jonathan Wakely --- Untested sketch of a solution for Solaris and BSDs: https://gcc.gnu.org/pipermail/gcc-patches/2020-November/557928.html

[Bug inline-asm/97708] Inline asm does not use the local register asm specified with register ... asm() as input

2020-11-03 Thread bp at alien8 dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97708 --- Comment #2 from Boris --- (In reply to Andrew Pinski from comment #1) > "g" constraint won't work here: So in that case gcc should fail the build. Which it does not.

[Bug inline-asm/97708] Inline asm does not use the local register asm specified with register ... asm() as input

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

[Bug inline-asm/97708] New: Inline asm does not use the local register asm specified with register ... asm() as input

2020-11-03 Thread bp at alien8 dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97708 Bug ID: 97708 Summary: Inline asm does not use the local register asm specified with register ... asm() as input Product: gcc Version: unknown Status: UNCONFIRMED

[Bug target/97653] Incorrect long double calculation with -mabi=ibmlongdouble

2020-11-03 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97653 --- Comment #4 from Michael Meissner --- You need the patch that fixes PR libgcc/97543, which is another side of the same coin. PR 97543 was about making long double default to 64-bits, PR 97643 is about making long double default to IEEE

[Bug target/97653] Incorrect long double calculation with -mabi=ibmlongdouble

2020-11-03 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97653 Michael Meissner changed: What|Removed |Added Last reconfirmed||2020-11-03

[Bug middle-end/54202] Overeager warning about freeing non-heap objects

2020-11-03 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54202 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org

[Bug c++/97453] Implement CWG issue 2303

2020-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97453 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ed7f9957bbb5e899099e1ef0e5f6234c453ef7da commit r11-4693-ged7f9957bbb5e899099e1ef0e5f6234c453ef7da Author: kamlesh kumar Date:

[Bug libstdc++/39909] non-TLS version of std::call_once causes terminate

2020-11-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39909 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |4.4.1

[Bug ipa/97698] [11 Regression] ICE: Segmentation fault (in duplicate_thunk_for_node) since r11-4587-gae7a23a3fab74

2020-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97698 --- Comment #2 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:a2058f5812bea3673859a68f9bfea61dbce6730f commit r11-4692-ga2058f5812bea3673859a68f9bfea61dbce6730f Author: Jan Hubicka Date: Tue

[Bug c++/78209] Decltype of rvalue reference

2020-11-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78209 Marek Polacek changed: What|Removed |Added CC||anders.granlund.0 at gmail dot com ---

[Bug c++/97363] Missing diagnostics when trying to initialize rvalue reference variable with lvalue expression when using decltype(auto) type deduction.

2020-11-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97363 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c++/97645] Rejects valid subscript expression on array of unknown bound in constant expression

2020-11-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97645 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/97704] [11 Regression][concepts] Not working with explicit types in function signatures?

2020-11-03 Thread gcc-bugs at marehr dot dialup.fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97704 --- Comment #1 from gcc-bugs at marehr dot dialup.fu-berlin.de --- I forgot to add the error message: ``` : In instantiation of 'auto hard_error(t) [with t = int]': :11:35: required by substitution of 'template requires

[Bug ipa/97695] [11 Regression] wrong code at -O3 on x86_64-pc-linux-gnu since r11-4587-gae7a23a3fab74.

2020-11-03 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97695 --- Comment #4 from Martin Jambor --- And the reason is not copying tree_map in cgraph_node::create_clone (when called from clone_inlined_nodes). The following should fix it. In theory we need a mechanism for create_virtual_clone to

[Bug c++/97643] Accepts invalid qualification conversion involving array of unknown bound [P0388]

2020-11-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97643 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug libstdc++/66146] call_once not C++11-compliant on ppc64le

2020-11-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66146 --- Comment #33 from Jonathan Wakely --- Fixed for linux targets, not others though.

[Bug libstdc++/66146] call_once not C++11-compliant on ppc64le

2020-11-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66146 Bug 66146 depends on bug 84323, which changed state. Bug 84323 Summary: call_once uses TLS even when once_flag is set https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84323 What|Removed |Added

[Bug libstdc++/55394] Using call_once without -lpthread compiles without warning

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

[Bug libstdc++/84323] call_once uses TLS even when once_flag is set

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

[Bug libstdc++/55394] Using call_once without -lpthread compiles without warning

2020-11-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55394 Bug 55394 depends on bug 84323, which changed state. Bug 84323 Summary: call_once uses TLS even when once_flag is set https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84323 What|Removed |Added

[Bug libstdc++/66146] call_once not C++11-compliant on ppc64le

2020-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66146 --- Comment #32 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:93e79ed391b9c636f087e6eb7e70f14963cd10ad commit r11-4691-g93e79ed391b9c636f087e6eb7e70f14963cd10ad Author: Jonathan Wakely

[Bug libstdc++/84323] call_once uses TLS even when once_flag is set

2020-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84323 --- Comment #4 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:93e79ed391b9c636f087e6eb7e70f14963cd10ad commit r11-4691-g93e79ed391b9c636f087e6eb7e70f14963cd10ad Author: Jonathan Wakely Date:

[Bug libstdc++/55394] Using call_once without -lpthread compiles without warning

2020-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55394 --- Comment #13 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:93e79ed391b9c636f087e6eb7e70f14963cd10ad commit r11-4691-g93e79ed391b9c636f087e6eb7e70f14963cd10ad Author: Jonathan Wakely

[Bug c++/97648] Rejects valid direct initialization from prvalue (private destructor)

2020-11-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97648 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c/97702] comma operator does not drop qualifiers during lvalue conversion

2020-11-03 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97702 --- Comment #1 from joseph at codesourcery dot com --- The C front end doesn't have any kind of general lvalue-to-rvalue conversion in the IR (other than for atomic lvalues where the code required for such a conversion is more than a simple

[Bug ipa/97695] [11 Regression] wrong code at -O3 on x86_64-pc-linux-gnu since r11-4587-gae7a23a3fab74.

2020-11-03 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97695 --- Comment #3 from Martin Jambor --- It is a clone materialization problem. IPA-CP clones f.part.0 twice and the second time tree_function_versioning receives NULL tree_map.

[Bug c++/97646] FAIL: obj-c++.dg/template-4.mm due to ICE in n potential_constant_expression_1, at cp/constexpr.c:8417

2020-11-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97646 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug gcov-profile/95847] [9/10/11 Regression] Internal error when processing pFUnit generated files with --coverage

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

[Bug tree-optimization/97707] New: avx12 math function invoked even if -mprefer-vector-width=256 specified

2020-11-03 Thread vincenzo.innocente at cern dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97707 Bug ID: 97707 Summary: avx12 math function invoked even if -mprefer-vector-width=256 specified Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/97706] [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

2020-11-03 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97706 Alex Coplan changed: What|Removed |Added Target Milestone|--- |11.0

[Bug tree-optimization/97706] New: [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

2020-11-03 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97706 Bug ID: 97706 Summary: [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0) Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/97661] Bogus error message about initializing a using declaration

2020-11-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97661 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug tree-optimization/97690] (cond ? 2 : 0) is not optimized to int(cond) << 1

2020-11-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97690 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/97675] GCC does not allow turning off the warning for exceptions being caught by an earlier handler

2020-11-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97675 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug other/97705] [11 regression] cc.c-torture/unsorted/dump-noaddr.c.*r.ira fails after r11-4637

2020-11-03 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97705 --- Comment #1 from seurer at gcc dot gnu.org --- I tried this on multiple systems and it looks like it may only fail on a BE system.

[Bug gcov-profile/95847] [9/10/11 Regression] Internal error when processing pFUnit generated files with --coverage

2020-11-03 Thread johannes.ziegenbalg at mailbox dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95847 --- Comment #3 from johannes.ziegenbalg at mailbox dot org --- I get the same bug with GCC 10.2.0 in one of my c++ test-cases. I also tested GCC 11 (GNU Fortran (GCC) 11.0.0 20201029) with the attached file and got the same result. After a

[Bug gcov-profile/95847] [9/10/11 Regression] Internal error when processing pFUnit generated files with --coverage

2020-11-03 Thread johannes.ziegenbalg at mailbox dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95847 johannes.ziegenbalg at mailbox dot org changed: What|Removed |Added CC|

[Bug other/97705] New: [11 regression] cc.c-torture/unsorted/dump-noaddr.c.*r.ira fails after r11-4637

2020-11-03 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97705 Bug ID: 97705 Summary: [11 regression] cc.c-torture/unsorted/dump-noaddr.c.*r.ira fails after r11-4637 Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/96872] [11 Regression] ICE: Segmentation fault

2020-11-03 Thread gcc-bugs at marehr dot dialup.fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96872 --- Comment #2 from gcc-bugs at marehr dot dialup.fu-berlin.de --- Thank you; was fixed!

[Bug target/96342] [SVE] Add support for "omp declare simd"

2020-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96342 --- Comment #9 from CVS Commits --- The master branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:abe93733a265f8a8b56dbdd307380f8c83dd3ab5 commit r11-4676-gabe93733a265f8a8b56dbdd307380f8c83dd3ab5 Author: Yang Yang Date:

[Bug c++/97704] New: [11 Regression][concepts] Not working with explicit types in function signatures?

2020-11-03 Thread gcc-bugs at marehr dot dialup.fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97704 Bug ID: 97704 Summary: [11 Regression][concepts] Not working with explicit types in function signatures? Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug target/97703] New: [11 Regression] ICE in fix_reg_equiv_init at gcc/ira.c:2683

2020-11-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97703 Bug ID: 97703 Summary: [11 Regression] ICE in fix_reg_equiv_init at gcc/ira.c:2683 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug c++/96115] Char literal, decays to a pointer when passed to function pointer

2020-11-03 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96115 Luke Dalessandro changed: What|Removed |Added CC||ldalessandro at gmail dot com ---

[Bug c++/97670] [11 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'mem_ref' in finish_omp_clauses, at cp/semantics.c:8251 since r11-4471-g3a8b20947f2b1559

2020-11-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97670 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug target/70210] -march=native and -mcpu=native do not detect ARM cortex-a53 in 32 bit mode on Linux

2020-11-03 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70210 --- Comment #6 from ktkachov at gcc dot gnu.org --- (In reply to Viktor Engelmann from comment #5) > Hmmm the problem isn't related to docker - I get the same problem when I run > gcc on the raspberry directly with -mcpu=armv7l as autoconf does

[Bug middle-end/89428] missing -Wstringop-overflow on a PHI with variable offset

2020-11-03 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89428 Martin Sebor changed: What|Removed |Added Keywords||patch Status|NEW

[Bug middle-end/92940] incorrect offset and size in -Wstringop-overflow for out-of-bounds store into VLA and two offset ranges

2020-11-03 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92940 Martin Sebor changed: What|Removed |Added Last reconfirmed||2020-11-03 Ever confirmed|0

[Bug middle-end/92936] missing warning on a past-the-end store to a PHI

2020-11-03 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92936 Martin Sebor changed: What|Removed |Added Keywords||patch Ever confirmed|0

[Bug tree-optimization/97579] [11 Regression] ICE in gimple_expand_vec_cond_expr, at gimple-isel.cc:201 since r11-4123-g128f43cf679e5156

2020-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97579 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:d0d8a1658054258baae87b445678c1c0c08d9455 commit r11-4674-gd0d8a1658054258baae87b445678c1c0c08d9455 Author: Richard Biener Date:

[Bug tree-optimization/97623] [9/10/11 Regression] Extremely slow O2 compile (>>O(n^2))

2020-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97623 --- Comment #9 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:c5b49c3e092c0de5cd684b0acd244129dfaae324 commit r11-4675-gc5b49c3e092c0de5cd684b0acd244129dfaae324 Author: Richard Biener Date:

[Bug c++/97632] unhelpful -Winit-list-lifetime warning for default-initialized object in unevaluated context

2020-11-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97632 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/97632] unhelpful -Winit-list-lifetime warning for default-initialized object in unevaluated context

2020-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97632 --- Comment #2 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:f620e64a6f13371b95be5b17abba0acf15bf7cae commit r11-4670-gf620e64a6f13371b95be5b17abba0acf15bf7cae Author: Marek Polacek Date:

[Bug target/70210] -march=native and -mcpu=native do not detect ARM cortex-a53 in 32 bit mode on Linux

2020-11-03 Thread Viktor.Engelmann at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70210 --- Comment #5 from Viktor Engelmann --- Hmmm the problem isn't related to docker - I get the same problem when I run gcc on the raspberry directly with -mcpu=armv7l as autoconf does in docker. When I run gcc manually with -mcpu=cortex-a53,

[Bug target/97701] [10/11 Regression] aarch64: ICE in extract_constrain_insn since r10-4447-g095f78c6

2020-11-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97701 --- Comment #1 from Richard Biener --- Must be a latent problem then I guess.

[Bug libstdc++/84323] call_once uses TLS even when once_flag is set

2020-11-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84323 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |11.0 Status|NEW

[Bug libstdc++/55394] Using call_once without -lpthread compiles without warning

2020-11-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55394 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug libstdc++/66146] call_once not C++11-compliant on ppc64le

2020-11-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66146 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |11.0

[Bug c/97702] New: comma operator does not drop qualifiers during lvalue conversion

2020-11-03 Thread uecker at eecs dot berkeley.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97702 Bug ID: 97702 Summary: comma operator does not drop qualifiers during lvalue conversion Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug target/97701] [10/11 Regression] aarch64: ICE in extract_constrain_insn since r10-4447-g095f78c6

2020-11-03 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97701 Alex Coplan changed: What|Removed |Added Target Milestone|--- |10.3 Known to fail|

[Bug target/97701] New: [10/11 Regression] aarch64: ICE in extract_constrain_insn since r10-4447-g095f78c6

2020-11-03 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97701 Bug ID: 97701 Summary: [10/11 Regression] aarch64: ICE in extract_constrain_insn since r10-4447-g095f78c6 Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug testsuite/97699] [11 regression] zero-scratch-regs tests fail on arm

2020-11-03 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97699 qinzhao at gcc dot gnu.org changed: What|Removed |Added CC||qinzhao at gcc dot gnu.org

[Bug testsuite/97680] [11 Regression] new test case c-c++-common/zero-scratch-regs-10.c in r11-4578 has excess errors

2020-11-03 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97680 --- Comment #3 from qinzhao at gcc dot gnu.org --- (In reply to Richard Biener from comment #2) > Err, please dg-skip the tests for ! supported targets. They also fail on > x86_64 with -m32 btw. x86_64 with -m32 failure should be already fixed

[Bug middle-end/97699] [11 regression] zero-scratch-regs tests fail on arm

2020-11-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97699 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0 --- Comment #1 from Richard

[Bug c++/97700] Bogus error when a class containing a function pointer is used as a non-type template parameter

2020-11-03 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97700 ensadc at mailnesia dot com changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/97632] unhelpful -Winit-list-lifetime warning for default-initialized object in unevaluated context

2020-11-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97632 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug tree-optimization/97623] [9/10/11 Regression] Extremely slow O2 compile (>>O(n^2))

2020-11-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97623 --- Comment #8 from Richard Biener --- (In reply to Wilson Snyder from comment #7) > Thanks for the quick service. I can't easily try GCC trunk, but: > > -O2 > compile 98.61s > runtime 25.76s > > -O2 -fno-code-hoisting > compile 40.13s

[Bug c++/97700] New: Bogus error when a class containing a function pointer is used as a non-type template parameter

2020-11-03 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97700 Bug ID: 97700 Summary: Bogus error when a class containing a function pointer is used as a non-type template parameter Product: gcc Version: 11.0 Status: UNCONFIRMED

  1   2   >