[Bug c++/85743] Cannot call template member function inside a variadic lambda unless specifying `this`

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85743 Jonathan Wakely changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Target

[Bug c++/86233] explicit specialization of function template accepted with weaker exception specification

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86233 --- Comment #7 from Jonathan Wakely --- >From cp/decl.c:check_redeclaration_exception_specification /* [except.spec] If any declaration of a function has an exception-specification, all declarations, including the definition and an

[Bug c++/90493] const variable template specialization is always local

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90493 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/100231] [C++17] Variable template specialization inside a class gives compilation error

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100231 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/51851] [core/1001] Overriding a function with a parameter of dependent type fails to override.

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51851 --- Comment #5 from Jonathan Wakely --- The example in CWG 1001 still doesn't compile (as you noted in PR 101402) and CWG 1001 is still open. So no, this shouldn't be closed as resolved yet.

[Bug target/12395] Suboptimal code with global variables

2021-08-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12395 Richard Biener changed: What|Removed |Added Target||x86_64-*-* i?86-*-* --- Comment #21

[Bug c++/67768] Second and subsequent captured variable in variadic template unpaking are default constructed

2021-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67768 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug tree-optimization/79334] Segfault on tree loop hoisting

2021-08-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79334 --- Comment #6 from Richard Biener --- So this should now be correctly checked after g:fedcf3c476aff7533741a1c61071200f0a38cf83 which fixes prune_clobbered_mems. That uses vn_reference_may_trap which only does case ARRAY_RANGE_REF:

[Bug c++/87841] Member of class template hides template parameter of another member

2021-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87841 Andrew Pinski changed: What|Removed |Added CC||litteras at ukr dot net --- Comment #7

[Bug target/101936] [12 Regression] 538.imagick_r -Ofast regression on Kabylake since g:872da9a6f664a06d73c987aa0cb2e5b830158a10

2021-08-23 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101936 --- Comment #6 from Hongtao.liu --- (In reply to Martin Liška from comment #5) > > https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=32.507.0 > > > > Looking at LNT, the benchmark score is not back after the reversion of the > patch. >

[Bug debug/101905] [9/10/11/12 Regression] Missed debug information for global register variable

2021-08-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101905 --- Comment #10 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:b284053bb75661fc1bf13c275f3ba5364bb17608 commit r12-3069-gb284053bb75661fc1bf13c275f3ba5364bb17608 Author: Jakub Jelinek Date:

[Bug c++/67491] [meta-bug] concepts issues

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 92806, which changed state. Bug 92806 Summary: Suboptimal diagnostic for concept that depends on non-bool value https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92806 What|Removed |Added

[Bug debug/101905] [9/10 Regression] Missed debug information for global register variable

2021-08-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101905 Jakub Jelinek changed: What|Removed |Added Summary|[9/10/11/12 Regression] |[9/10 Regression] Missed

[Bug c++/84403] Possible further extension of constexpr: allow to use them as template parameters

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

[Bug c++/102022] incorrect code with -O2

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

[Bug c++/67499] c++ template/overload diagnostic compression

2021-08-23 Thread manu at gcc dot gnu.org via Gcc-bugs
::cout << bar; | ~ ^~ ~~~ || | || foo |std::ostream {aka std::basic_ostream} In file included from /opt/compiler-explorer/gcc-trunk-20210823/include/c++/12.0.0/iostream:39, from :1: /opt/compiler-explorer/gcc-tr

[Bug target/54174] Missed optimization: Unnecessary vmovaps generated for __builtin_ia32_vextractf128_ps256(v, 0)

2021-08-23 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54174 --- Comment #3 from Hongtao.liu --- (In reply to Richard Biener from comment #1) > That's more likely a register allocator issue. Yes, LRA allocate registers from back to front which means change source code like below will eliminate redundant

[Bug c++/78157] Incorrect diagnostic for variable template declaration

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78157 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/82047] non-existent variable template used to initialize variable

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82047 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2017-08-31 00:00:00 |2021-8-23 --- Comment #8 from

[Bug c++/51851] [core/1001] Overriding a function with a parameter of dependent type fails to override.

2021-08-23 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51851 --- Comment #4 from qingzhe huang --- At least since release/gcc-10, this test code has been successfully compiled. Can we change its status to Resolved?

[Bug c++/102022] incorrect code with -O2

2021-08-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102022 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c++/51851] [core/1001] Overriding a function with a parameter of dependent type fails to override.

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51851 --- Comment #6 from Jonathan Wakely --- The case here is accepted since r10-7622: c++: Function type and parameter type disagreements [PR92010] This resolves parts of Core issues 1001/1322 by rebuilding the function type of an instantiated

[Bug c++/102022] incorrect code with -O2

2021-08-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102022 Martin Liška changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

[Bug c++/102022] incorrect code with -O2

2021-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102022 --- Comment #2 from Andrew Pinski --- This part of the code looks like there could be a huge alias violation waiting to happen *(char**)

[Bug c++/84186] nested template qualified-id not parsed correctly

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

[Bug c++/86233] explicit specialization of function template accepted with weaker exception specification

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86233 --- Comment #5 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #4) > Now the reduced testcases are rejected for always. I think they always were rejected by G++, so they were bad reductions.

[Bug c/102023] New: Unnecessary duplication of mtcrf instruction

2021-08-23 Thread christophe.leroy at csgroup dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102023 Bug ID: 102023 Summary: Unnecessary duplication of mtcrf instruction Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/67499] c++ template/overload diagnostic compression

2021-08-23 Thread manu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67499 --- Comment #11 from Manuel López-Ibáñez --- And Clang output: :5:13: error: invalid operands to binary expression ('std::ostream' (aka 'basic_ostream') and 'foo') std::cout << bar; ~ ^ ~~~

[Bug c++/90031] Bogus parse error trying to explicitly specialize a template variable inside class scope

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90031 Jonathan Wakely changed: What|Removed |Added CC||krzyk240 at gmail dot com --- Comment

[Bug c++/82047] non-existent variable template used to initialize variable

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82047 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Bug analyzer/102020] [12 regression] analyzer/malloc-callbacks.c fails since r12-3052

2021-08-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102020 --- Comment #2 from CVS Commits --- The master branch has been updated by Ankur saini : https://gcc.gnu.org/g:537878152ded8b7d271333b803b36c27a9aea8d2 commit r12-3076-g537878152ded8b7d271333b803b36c27a9aea8d2 Author: Ankur Saini Date: Mon

[Bug tree-optimization/99074] gcc 8 and above is crashing with dynamic_cast<>() on null pointer with optimization level -O1 and above

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99074 --- Comment #8 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #6) > Shouldn't this use __builtin_expect(!src_ptr, 0)? The FE is only supposed to > call this function when we have a non-null pointer, which is true for >

[Bug analyzer/102020] [12 regression] analyzer/malloc-callbacks.c fails since r12-3052

2021-08-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102020 Martin Liška changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/102021] Redudant mov instruction for broadcast.

2021-08-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102021 H.J. Lu changed: What|Removed |Added Last reconfirmed||2021-08-23 Status|UNCONFIRMED

[Bug c++/102019] [12 Regression] UBSAN error: hwint.h:293:61: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int' since r12-2975-g32c3a75390623a0470df52af13f78baddd562981

2021-08-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102019 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug libstdc++/95609] span could have better layout

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95609 --- Comment #7 from Jonathan Wakely --- (In reply to Niall Douglas from comment #0) > I would assume that the ABI ship has sailed, as usual, but if libstdc++'s > span could instead have the layout: > > { > T *p; > size_t l; > } > > ...

[Bug c++/101783] unnecessary error when top level cv qualifier is dropped

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783 --- Comment #8 from Jonathan Wakely --- No, I cannot approve compiler patches.

[Bug c++/101783] unnecessary error when top level cv qualifier is dropped

2021-08-23 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783 --- Comment #9 from qingzhe huang --- OK, Thank you very much! From: redi at gcc dot gnu.org Sent: August 23, 2021 9:37 AM To: nickhuan...@hotmail.com Subject: [Bug c++/101783] unnecessary error when top

[Bug c++/91344] Function pointers in templates with restrict semantics may fail to compile.

2021-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91344 --- Comment #2 from Andrew Pinski --- Works for const or volatile.

[Bug libstdc++/100057] There are no freestanding C++

2021-08-23 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057 --- Comment #32 from cqwrteur --- (In reply to cqwrteur from comment #31) > (In reply to Jonathan Wakely from comment #30) > > (In reply to cqwrteur from comment #29) > > > I really want a fix to the script. Thank you !!! > > > > This is too

[Bug c++/94057] [9 Regression] -std=gnu++20 causes failure naming nested templated class since r9-4536

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94057 Jonathan Wakely changed: What|Removed |Added CC||smw at gcc dot gnu.org --- Comment #9

[Bug c++/85743] Cannot call template member function inside a variadic lambda unless specifying `this`

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85743 --- Comment #2 from Jonathan Wakely --- Fixed by r265734 "Implement P0846R0, ADL and function templates."

[Bug c++/86233] explicit specialization of function template accepted with weaker exception specification

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86233 --- Comment #9 from Jonathan Wakely --- The check was originally added by r106884 for PR c++/24817

[Bug target/101882] [9/10/11/12 Regression] modulus with input and output set to a hard register

2021-08-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101882 Jakub Jelinek changed: What|Removed |Added Summary|modulus with input and |[9/10/11/12 Regression]

[Bug ipa/97565] -flto -ipa-pta ICE: at cgraph_node::get_untransformed_body()

2021-08-23 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97565 --- Comment #6 from Jan Hubicka --- has_gimple_body_p really cares about the WPA unit (we should probably note that in the comment). Here you seem to have function that is in the WPA translation unit but lands in different partition and in that

[Bug c++/101402] [DR 1001] top cv qualifier not dropped for array type typedef in template class

2021-08-23 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101402 --- Comment #3 from qingzhe huang --- bug 51851 has been fixed by latest release/gcc-10, but not this issue. So, I suggest to change this bug status to New.

[Bug c++/102022] incorrect code with -O2

2021-08-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102022 --- Comment #4 from Richard Biener --- You could use *(void **) which GCC(!) treats conservative. But yes, *(char **) should use memcpy to be truly portable.

[Bug c++/102022] New: incorrect code with -O2

2021-08-23 Thread scu319hy at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102022 Bug ID: 102022 Summary: incorrect code with -O2 Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/86233] explicit specialization of function template accepted with weaker exception specification

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86233 Jonathan Wakely changed: What|Removed |Added Version|unknown |9.0 Keywords|

[Bug c++/86233] explicit specialization of function template accepted with weaker exception specification

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86233 --- Comment #8 from Jonathan Wakely --- The code was changed by r223778 to depend on -Wsystem-headers instead of -Wpedantic, and the testcase for that commit suggests the current behaviour is by design. But that testcase uses a redeclaration of

[Bug ipa/86389] execute FAILs with -fipa-pta

2021-08-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86389 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #8

[Bug tree-optimization/100089] [11/12 Regression] 30% performance regression for denbench/mp2decoddata2 with -O3

2021-08-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100089 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug c++/101783] unnecessary error when top level cv qualifier is dropped

2021-08-23 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783 --- Comment #7 from qingzhe huang --- Jonathan, Is it possible for you to review and commit my patch? (https://gcc.gnu.org/pipermail/gcc-patches/2021-August/577040.html). Thank you!

[Bug libstdc++/90787] filesystem tests fail if file permissions are not supported

2021-08-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90787 --- Comment #6 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:bc97e736a5597ac1545b7f9069472117b6caa867 commit r12-3081-gbc97e736a5597ac1545b7f9069472117b6caa867 Author: Jonathan Wakely Date:

[Bug c++/92232] [C++17] Unable to deduce template function parameter

2021-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92232 --- Comment #2 from Andrew Pinski --- Shorter testcase: int myFunc(int); template struct f; f *t; template int f1(); int t1 = f1();

[Bug tree-optimization/92038] Extremely inefficient x86_64 code for trivally copyable types passed in registers.

2021-08-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92038 --- Comment #11 from Richard Biener --- Store-merging says Starting active chain number 1 with statement: MEM[(struct __as_base &)] ={v} {CLOBBER}; The base object is: Recording immediate store from stmt: MEM[(struct _Uninitialized *)] ={v}

[Bug c++/78825] [9/10/11/12 Regression] missing error for template partial specialization using template alias type

2021-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78825 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.5 Ever confirmed|0

[Bug c++/42018] Template specialization in wrong namespace accepted if it matches template arguments of an earlier specialization

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

[Bug fortran/101997] [9 regression] ICE after r9-8665 at gcc/toplev.c:326

2021-08-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101997 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Target Milestone|---

[Bug gcov-profile/89961] When "--intermediate-format" is used "--preserve-paths"/"--hash-filenames" is ignored

2021-08-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89961 --- Comment #27 from CVS Commits --- The releases/gcc-11 branch has been updated by Martin Liska : https://gcc.gnu.org/g:f7134a12cd633e8ffdcee1af7e294e9ab60647c0 commit r11-8892-gf7134a12cd633e8ffdcee1af7e294e9ab60647c0 Author: Martin Liska

[Bug tree-optimization/102006] A false warning "Array subscript -N is outside array bounds warning"

2021-08-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006 --- Comment #6 from Richard Biener --- It sounds like the usual upcasting of a link-only node which is strictly non-conforming and can also result in TBAA issues but it's wide-spread. Note I didn't look into the source at all.

[Bug tree-optimization/102009] [12 Regression] ICE: in gimple_call_arg, at gimple.h:3272 by r12-2976

2021-08-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102009 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug target/100856] Arm: Multilib mapping is missing for CDE arguments.

2021-08-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100856 --- Comment #5 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:63f68535550f77998ad907ba3d3be05a4324fbe8 commit r12-3067-g63f68535550f77998ad907ba3d3be05a4324fbe8 Author: Christophe Lyon

[Bug target/102016] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-2919-gfaf2b6bc527dff31

2021-08-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102016 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target|

[Bug target/102018] gcc.dg/torture/pr82692.c execution fails on arm cortex-m7

2021-08-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102018 Richard Biener changed: What|Removed |Added Keywords||wrong-code --- Comment #1 from

[Bug tree-optimization/99074] gcc 8 and above is crashing with dynamic_cast<>() on null pointer with optimization level -O1 and above

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99074 --- Comment #6 from Jonathan Wakely --- (In reply to Martin Sebor from comment #2) > --- a/libstdc++-v3/libsupc++/dyncast.cc > +++ b/libstdc++-v3/libsupc++/dyncast.cc > @@ -47,6 +47,8 @@ __dynamic_cast (const void *src_ptr,// object started

[Bug target/102018] gcc.dg/torture/pr82692.c execution fails on arm cortex-m7

2021-08-23 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102018 --- Comment #2 from Christophe Lyon --- Yes probably. I noticed it when upgrading newlib from 3.3.0 to 4.1.0, which enabled new GCC tests.

[Bug c++/86191] Partial ordering with an expression involving non-type template parameters

2021-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86191 --- Comment #5 from Andrew Pinski --- Note clang started to accept it in clang 10.

[Bug tree-optimization/79334] Segfault on tree loop hoisting

2021-08-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79334 --- Comment #7 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:ad665deeafd31238b537139385e1e80b40c10e0c commit r12-3071-gad665deeafd31238b537139385e1e80b40c10e0c Author: Richard Biener Date:

[Bug tree-optimization/102006] A false warning "Array subscript -N is outside array bounds warning"

2021-08-23 Thread d-ef at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006 --- Comment #8 from Dmitriano --- (In reply to Dmitriano from comment #7) > (In reply to Richard Biener from comment #6) > > It sounds like the usual upcasting of a link-only node which is strictly > > non-conforming and can also result in TBAA

[Bug debug/101905] [9/10/11/12 Regression] Missed debug information for global register variable

2021-08-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101905 --- Comment #11 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:513c543bb5d97cc59ba393f2f0612324a789c50e commit r11-8893-g513c543bb5d97cc59ba393f2f0612324a789c50e Author: Jakub Jelinek

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2021-08-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 65335, which changed state. Bug 65335 Summary: Potential optimization issue with 'tree-loop-vectorize' https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65335 What|Removed |Added

[Bug tree-optimization/65335] Potential optimization issue with 'tree-loop-vectorize'

2021-08-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65335 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/40942] GCC accepts code that Comeau and MSVC deems invalid.

2021-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40942 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.8.0

[Bug ipa/101949] [11/12 Regression] git miscompiled with -flto -fipa-pta since r11-5061-g85ebbabd85e03bdc

2021-08-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101949 --- Comment #18 from Martin Liška --- I can confirm that failure. The test-case still crashes after Honza's patch.

[Bug target/102016] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-2919-gfaf2b6bc527dff31

2021-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102016 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Target

[Bug c++/89381] [8 Regression] Implicit copy constructor cannot be generated after unrelated class definition

2021-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89381 Andrew Pinski changed: What|Removed |Added CC||nadult at fastmail dot fm --- Comment

[Bug c++/83130] Compilation error related to 'using', template instantiations and default constructors

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

[Bug c++/55588] Failure to diagnose non-template-id prefixed by keyword template

2021-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55588 Andrew Pinski changed: What|Removed |Added CC||language.lawyer at gmail dot com ---

[Bug c++/96321] GCC accepts conversion-function-id after the keyword template

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

[Bug c++/45975] template keyword is not allowed, however, accepted by g++

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

[Bug c++/55588] Failure to diagnose non-template-id prefixed by keyword template

2021-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55588 Andrew Pinski changed: What|Removed |Added CC||mschulze at ivs dot cs.ovgu.de ---

[Bug target/101915] Microblaze ICE: in extract_insn, at recog.c:2770

2021-08-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101915 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Last

[Bug c++/42018] Template specialization in wrong namespace accepted if it matches template arguments of an earlier specialization

2021-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42018 --- Comment #7 from Andrew Pinski --- Fixed by r7-4488

[Bug c++/96138] DR 458: Hiding of member template parameters by other members

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

[Bug c++/87841] Member of class template hides template parameter of another member

2021-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87841 Andrew Pinski changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/102019] [12 Regression] UBSAN error: hwint.h:293:61: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int' since r12-2975-g32c3a75390623a0470df52af13f78baddd562981

2021-08-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102019 Martin Liška changed: What|Removed |Added Target Milestone|--- |12.0 Status|UNCONFIRMED

[Bug c++/87841] [DR458] Member of class template hides template parameter of another member

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

[Bug libstdc++/90787] filesystem tests fail if file permissions are not supported

2021-08-23 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90787 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug c++/102013] Incorrect aggregate initialization of union

2021-08-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102013 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug analyzer/102020] [12 regression] analyzer/malloc-callbacks.c fails since r12-3052

2021-08-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102020 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0

[Bug rtl-optimization/101995] [9/10/11/12 Regression] regression built-in memset missed-optimization arm -Os

2021-08-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101995 --- Comment #5 from Richard Biener --- For reference, it's find_call_crossed_cheap_reg finding (or not) such candidate.

[Bug ada/101947] [12 Regression] Broken Ada bootstrap in get_base_type_offset, at dwarf2out.c:4330 since r12-2927-g29020d0527512ae0444ad32b1461b7f8526e7427

2021-08-23 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101947 --- Comment #4 from Eric Botcazou --- Not before next week, but there is nothing wrong in the patch itself.

[Bug c/101964] using scanf makes compiler never terminate

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101964 --- Comment #5 from Jonathan Wakely --- (In reply to Mateus Morais Dias de Souza from comment #4) > I figured it out. My build script was something like this: > ```bash > set -e > gcc main.c -o main > ./main > ``` > for some reason gcc was not

[Bug c++/16191] Note for missing 'template' reports wrong template parameter

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16191 --- Comment #9 from Jonathan Wakely --- CWG 1710 was approved as a defect report in Kona 2016: > Move to accept as Defect Reports the issues in P0575R1 (Core Language "ready" > issues) and apply their proposed resolutions to the C++ working

[Bug libstdc++/102015] [missed optimization] Small memory overhead in _Rb_tree_impl (fix would require ABI break)

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102015 Jonathan Wakely changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|

[Bug tree-optimization/99074] gcc 8 and above is crashing with dynamic_cast<>() on null pointer with optimization level -O1 and above

2021-08-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99074 --- Comment #7 from Jakub Jelinek --- It certainly shouldn't hurt. I think the middle-end predicts ptr == NULL comparisons as unlikely, but __builtin_expect is stronger probability than that and makes it clearer that it is extremely unlikely.

[Bug target/102016] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-2919-gfaf2b6bc527dff31

2021-08-23 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102016 --- Comment #3 from Hongtao.liu --- Fixed in GCC12.

[Bug c++/102012] GCC accepts any non-bool atomic constraint type

2021-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102012 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/29027] template conversion specialization found by using declaration

2021-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29027 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2018-06-21 00:00:00 |2021-8-22 --- Comment #7 from Andrew

  1   2   3   >