[Bug other/11146] Bad characters can happen in cpp.1, gcc.1 man pages

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

[Bug tree-optimization/103802] [12 regression] recip-3.c fails after r12-6087 on Power m32

2022-01-06 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103802 --- Comment #6 from luoxhu at gcc dot gnu.org --- (In reply to Richard Biener from comment #5) > So the point is that P is invariant but we do not hoist it because it's > computed in a (estimated) cold block? I notice that the condition is >

[Bug other/11146] Bad characters can happen in cpp.1, gcc.1 man pages

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11146 --- Comment #8 from Andrew Pinski --- So we were doing: Define the macros @sc{__gnuc__}, @sc{__gnuc_minor__} Where texi2pod.pl does: s/\@sc\{([^\}]*)\}/\U$1/g; Which should be fine. It should have replaced @sc{__gnuc__} with __GNUC__.

[Bug fortran/103931] Type name "c_ptr" is ambiguous when iso_c_binding is imported both directly and indirectly

2022-01-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103931 Martin Liška changed: What|Removed |Added CC||aldot at gcc dot gnu.org,

[Bug tree-optimization/103797] Clang vectorized LightPixel while GCC does not

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103797 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug d/103840] d: Errors message: Please submit a full bug report in testsuite

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103840 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug tree-optimization/66502] SCCVN can't handle PHIs optimistically optimally

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66502 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.0

[Bug go/103847] gccgo SIGSEGV in libgo standard library on sparc64

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103847 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug fortran/89639] FAIL: gfortran.dg/ieee/ieee_9.f90 -O0 (test for excess errors)

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89639 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug analyzer/103526] -fanalyzer considers memcpy()ed and returned pointer to malloc()ed memory a memory leak

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103526 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug c++/78104] optimizer doesn't grok C++ new/delete yet

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78104 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.0

[Bug c++/53534] gcov erroneously reporting opening brace of constructor is never executed.

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53534 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED See Also|

[Bug c++/85775] False positive with -Wparentheses

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

[Bug c++/25751] Poor error when templating on undefined types

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25751 --- Comment #5 from Andrew Pinski --- Reduced testcase: template struct gg{}; int main(void) { gg v; v.begin(); }

[Bug c++/57632] Operator new overloads with stdc++11 enabled looses exception specifier (MacOsX)

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

[Bug c++/103936] [12 Regression] ICE with cs[5]{}

2022-01-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103936 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/65591] G++ should use default constructor for {}-init when possible

2022-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65591 --- Comment #6 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:765693be1c8dc91fe612e7a499c5e41ba398ab96 commit r12-6339-g765693be1c8dc91fe612e7a499c5e41ba398ab96 Author: Jason Merrill Date:

[Bug c++/103936] [12 Regression] ICE with cs[5]{}

2022-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103936 --- Comment #2 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:765693be1c8dc91fe612e7a499c5e41ba398ab96 commit r12-6339-g765693be1c8dc91fe612e7a499c5e41ba398ab96 Author: Jason Merrill Date:

[Bug libitm/61594] ICE (assertion failure) in trans-mem.c

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61594 Andrew Pinski changed: What|Removed |Added Known to fail||4.9.4 Last reconfirmed|

[Bug other/51165] gcc.dg/tm/memopt-3.c failure

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51165 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.7.0

[Bug target/58124] ICE: in gen_split_2192, at config/i386/i386.md:3237 with -mtune-ctrl=zero_extend_with_and,partial_reg_stall

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

[Bug c++/83426] template argument involves template parameters with implicit integral conversion

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83426 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Known to work|

[Bug c++/83426] template argument involves template parameters with implicit integral conversion

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83426 Andrew Pinski changed: What|Removed |Added Status|RESOLVED|NEW Resolution|DUPLICATE

[Bug c++/85515] Bogus suggestions from "GCC's leaky abstractions"

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85515 Andrew Pinski changed: What|Removed |Added Keywords||accepts-invalid Known to fail|

[Bug c++/60679] [DR1647] class specialization not instantiated even though it is a better match than the primary template

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60679 Andrew Pinski changed: What|Removed |Added CC||r...@klipp-lischner.net --- Comment #5

[Bug c++/83426] template argument involves template parameters with implicit integral conversion

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

[Bug c++/60679] [DR1647] class specialization not instantiated even though it is a better match than the primary template

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60679 Andrew Pinski changed: What|Removed |Added CC||ghabriel.nunes at hotmail dot com ---

[Bug c++/87108] Template partial specialization is ignored

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

[Bug c++/60679] [DR1647] class specialization not instantiated even though it is a better match than the primary template

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60679 --- Comment #3 from Andrew Pinski --- http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1647

[Bug c++/87108] Template partial specialization is ignored

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87108 Andrew Pinski changed: What|Removed |Added Depends on||60679 Status|NEW

[Bug c++/60679] class specialization not instantiated even though it is a better match than the primary template

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60679 Andrew Pinski changed: What|Removed |Added Status|NEW |SUSPENDED --- Comment #2 from Andrew

[Bug c++/88176] Overload resolution chooses template non-member operator over non-template member operator

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88176 --- Comment #1 from Andrew Pinski --- This one is still rejected. clang also has the same problem.

[Bug c++/89563] decltype resolution doesn't terminate recursion

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89563 --- Comment #2 from Andrew Pinski --- Note I notice clang has the same problem.

[Bug c++/89563] decltype resolution doesn't terminate recursion

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89563 Andrew Pinski changed: What|Removed |Added Known to fail||10.3.0 Keywords|

[Bug middle-end/77608] missing protection on trivially detectable runtime buffer overflow

2022-01-06 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77608 Siddhesh Poyarekar changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #7 from

[Bug c++/86966] ICE (Segmentation fault) for an explicit specialization of a member class template

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86966 Andrew Pinski changed: What|Removed |Added Known to fail||4.4.7 Last reconfirmed|2018-08-15

[Bug c++/84695] Missed opportunity to issue warning about override

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84695 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #1 from Andrew

[Bug c++/80886] __builtin_constant_p magic has broken at some point

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80886 --- Comment #2 from Andrew Pinski --- This has nothing to do with __builtin_constant_p really. Just GCC started to rejecting: constexpr void *phardware {((void *) 0x1000)}; Starting in GCC 7; it was accepted before. What is interesting is the

[Bug c++/56936] gcc doesn't show non-required diagnostics in uninstantiated templates

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

[Bug c++/80662] libstdc++ basic_string casting oddity

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80662 --- Comment #6 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #5) > Reduced thanks to K-ballo: Hmm, clang compiles and gives: member While both GCC and ICC compiles and gives: non-member And MSVC rejects it with: (15):

[Bug c++/80841] Fails to match template specialization with polymorphic non-type template argument

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80841 --- Comment #5 from Andrew Pinski --- For the original testcase, GCC accepts the code even for -std=c++17 starting with GCC 7.2.0 (and 8+) and rejected it in GCC 7.1.0 with: : In function 'int main()': :22:95: error: invalid use of incomplete

[Bug target/103753] Unoptimal avx2 V16HF vector insert to element 0

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

[Bug target/103774] [i386] GCC should swap the arguments to certain functions to generate a single instruction

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103774 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug target/103774] [i386] GCC should swap the arguments to certain functions to generate a single instruction

2022-01-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103774 --- Comment #4 from Hongtao.liu --- Fixed in GCC12 by r12-6338

[Bug target/103753] Unoptimal avx2 V16HF vector insert to element 0

2022-01-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103753 --- Comment #2 from Hongtao.liu --- Fixed in GCC12.

[Bug target/103753] Unoptimal avx2 V16HF vector insert to element 0

2022-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103753 --- Comment #1 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:1f759dbdcddd5eae795da48f46edae274a431cbc commit r12-6337-g1f759dbdcddd5eae795da48f46edae274a431cbc Author: liuhongt Date: Wed Jan

[Bug c++/67006] type-specifier const in declaration of anonymous union

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

[Bug c++/93816] invalid typedef name with class key accepted with template inbetween

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

[Bug c++/92385] extremely long and memory intensive compilation for brace construction of array member

2022-01-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92385 --- Comment #12 from Jason Merrill --- *** Bug 65591 has been marked as a duplicate of this bug. ***

[Bug c++/65591] G++ should use default constructor for {}-init when possible

2022-01-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65591 Jason Merrill changed: What|Removed |Added Resolution|--- |DUPLICATE Status|SUSPENDED

[Bug c++/95724] error message could be improved in the cascading error case

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95724 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|bogue error :

[Bug libstdc++/80331] unused const std::string not optimized away

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80331 --- Comment #7 from Andrew Pinski --- With -std=c++20 -O2 I get better code than just -std=c++17 -O2: _34 = operator new (24); __builtin_memcpy (_34, "a ", 23); MEM[(char_type &)_34 + 23] = 0; operator delete (_34,

[Bug c++/78104] optimizer doesn't grok C++ new/delete yet

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78104 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Known to work|

[Bug libstdc++/80331] unused const std::string not optimized away

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80331 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-01-07 Resolution|DUPLICATE

[Bug c++/93503] [9/10/11/12 Regression] Duplicated warning on pure virtual template

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93503 --- Comment #3 from Andrew Pinski --- For the reduced testcase this is what clang produces: :3:5: error: 'virtual' cannot be specified on member function templates virtual int foo(int) = 0; ^~~~ :3:17: error: illegal initializer

[Bug fortran/103898] [12 Regression] ICE: gimplification failed

2022-01-06 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103898 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/93503] [9/10/11/12 Regression] Duplicated warning on pure virtual template

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93503 Andrew Pinski changed: What|Removed |Added Known to fail||12.0, 4.4.6 Target Milestone|---

[Bug fortran/103898] [12 Regression] ICE: gimplification failed

2022-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103898 --- Comment #9 from CVS Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:55385f12f604fe242030f0a8fb057598c0f187a6 commit r12-6336-g55385f12f604fe242030f0a8fb057598c0f187a6 Author: Sandra Loosemore

[Bug c++/65591] G++ should use default constructor for {}-init when possible

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65591 --- Comment #4 from Andrew Pinski --- Note I thought the patch which fixes PR 92385 would fix this one but instead we are getting an ICE which I filed as PR 103936. I suspect after that is fixed this will also be fixed.

[Bug c++/103936] [12 Regression] ICE with cs[5]{}

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

[Bug c++/103936] [12 Regression] ICE with cs[5]{}

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103936 Andrew Pinski changed: What|Removed |Added CC||jason at gcc dot gnu.org Target

[Bug c++/103936] New: [12 Regression] ICE with cs[5]{}

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103936 Bug ID: 103936 Summary: [12 Regression] ICE with cs[5]{} Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: blocker

[Bug c++/65591] G++ should use default constructor for {}-init when possible

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65591 Bug 65591 depends on bug 65503, which changed state. Bug 65503 Summary: g++ string array in struct crash https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65503 What|Removed |Added

[Bug c++/92385] extremely long and memory intensive compilation for brace construction of array member

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92385 Andrew Pinski changed: What|Removed |Added CC||gpkiwi at msn dot com --- Comment #11

[Bug c++/65503] g++ string array in struct crash

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

[Bug c++/92385] extremely long and memory intensive compilation for brace construction of array member

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92385 Andrew Pinski changed: What|Removed |Added CC||gnu at kosak dot com --- Comment #10

[Bug c++/87680] Small program produces 160 meg .o file

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

[Bug c++/103711] Virtual base destroyed twice when an exception is thrown in a derived class' constructor called from a delegated constructor

2022-01-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103711 Jason Merrill changed: What|Removed |Added Known to work||12.0 --- Comment #7 from Jason Merrill

[Bug c++/61611] Incorrect exception rethrown from a function-try-catch block when a nested try-catch executes

2022-01-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61611 Jason Merrill changed: What|Removed |Added Target Milestone|--- |12.0 Known to work|

[Bug c++/66451] Array not fully destructed if element destructor throws exception

2022-01-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66451 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/52320] missing destructor call after thrown exception in initializer

2022-01-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52320 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|10.0

[Bug c++/94041] [10 Regression] temporary object destructor called before the end of the full-expression since r10-5577

2022-01-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94041 Bug 94041 depends on bug 66139, which changed state. Bug 66139 Summary: destructor not called for members of partially constructed anonymous struct/array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66139 What|Removed

[Bug c++/93922] [10 Regression] Fails to emit inline class template destructor instantiation, but which is called

2022-01-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93922 Bug 93922 depends on bug 66139, which changed state. Bug 66139 Summary: destructor not called for members of partially constructed anonymous struct/array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66139 What|Removed

[Bug c++/93033] [10 Regression] error: incorrect sharing of tree nodes

2022-01-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93033 Bug 93033 depends on bug 66139, which changed state. Bug 66139 Summary: destructor not called for members of partially constructed anonymous struct/array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66139 What|Removed

[Bug c++/66139] destructor not called for members of partially constructed anonymous struct/array

2022-01-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66139 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug c++/103711] Virtual base destroyed twice when an exception is thrown in a derived class' constructor called from a delegated constructor

2022-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103711 --- Comment #6 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:32d8ff73718fd07a9a7dfd2566d3b7b69f37b6bd commit r12-6335-g32d8ff73718fd07a9a7dfd2566d3b7b69f37b6bd Author: Jason Merrill Date:

[Bug c++/61611] Incorrect exception rethrown from a function-try-catch block when a nested try-catch executes

2022-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61611 --- Comment #2 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:6ad76e73375a9c00a0a5f5729ae70bce7a6db5bc commit r12-6334-g6ad76e73375a9c00a0a5f5729ae70bce7a6db5bc Author: Jason Merrill Date:

[Bug c++/33799] Return value's destructor not executed when a local variable's destructor throws

2022-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 --- Comment #20 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:b10e031458d541f794dfaa08ba606487603a4bb6 commit r12-6333-gb10e031458d541f794dfaa08ba606487603a4bb6 Author: Jason Merrill Date:

[Bug c++/102191] [C++20] Can't return prvalue with potentially-throwing destructor during constant evaluation

2022-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102191 --- Comment #1 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:b10e031458d541f794dfaa08ba606487603a4bb6 commit r12-6333-gb10e031458d541f794dfaa08ba606487603a4bb6 Author: Jason Merrill Date:

[Bug c++/53868] Temporary for indirect binding is not destroyed when destructor from initializer temp throws

2022-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53868 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:4c6afbbd48f0c40ddf949bc403d9bd5f5e14204f commit r12-6332-g4c6afbbd48f0c40ddf949bc403d9bd5f5e14204f Author: Jason Merrill Date:

[Bug c++/66451] Array not fully destructed if element destructor throws exception

2022-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66451 --- Comment #2 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:2fbc45486e13facfeb05bd6ddf70ff9973a30a3c commit r12-6331-g2fbc45486e13facfeb05bd6ddf70ff9973a30a3c Author: Jason Merrill Date:

[Bug c++/66139] destructor not called for members of partially constructed anonymous struct/array

2022-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66139 --- Comment #22 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:4f6bc28fc7dd86bd9e7408cbf28de1e973dd1eda commit r12-6329-g4f6bc28fc7dd86bd9e7408cbf28de1e973dd1eda Author: Jason Merrill Date:

[Bug c++/52320] missing destructor call after thrown exception in initializer

2022-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52320 --- Comment #12 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:4f6bc28fc7dd86bd9e7408cbf28de1e973dd1eda commit r12-6329-g4f6bc28fc7dd86bd9e7408cbf28de1e973dd1eda Author: Jason Merrill Date:

[Bug c++/94041] [10 Regression] temporary object destructor called before the end of the full-expression since r10-5577

2022-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94041 --- Comment #8 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:beaee0a871b6485d20573fe050b1fd425581e56a commit r12-6328-gbeaee0a871b6485d20573fe050b1fd425581e56a Author: Jason Merrill Date:

[Bug c++/94041] [10 Regression] temporary object destructor called before the end of the full-expression since r10-5577

2022-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94041 --- Comment #7 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ce0ab8fb46f07b0bde56aa31e46d57b81379fde3 commit r12-6327-gce0ab8fb46f07b0bde56aa31e46d57b81379fde3 Author: Jason Merrill Date:

[Bug c++/92385] extremely long and memory intensive compilation for brace construction of array member

2022-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92385 --- Comment #9 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:e948436eab818c527dd60b0ef939c4f42fbe8ba4 commit r12-6326-ge948436eab818c527dd60b0ef939c4f42fbe8ba4 Author: Jason Merrill Date:

[Bug c++/90184] confusing diagnostic "attribute using prefix"

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

[Bug libstdc++/100017] [11/12 regression] error: 'fenv_t' has not been declared in '::' -- canadian compilation fails

2022-01-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017 --- Comment #76 from Jonathan Wakely --- (In reply to cqwrteur from comment #74) > Also another patch on fixing freestanding C++ build There's a patch on PR 103866 to fix freestanding, but that's irrelevant to this bug. Please try to stay on

[Bug sanitizer/89868] -fsanitize=address inhibits core dumps

2022-01-06 Thread jg at jguk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89868 --- Comment #12 from Jonny Grant --- (In reply to Jakub Jelinek from comment #11) > The shadow maps are 1/8 of the address space, so I think that is 16TB. Ah ok, that explains it. Thank you.

[Bug libstdc++/100017] [11/12 regression] error: 'fenv_t' has not been declared in '::' -- canadian compilation fails

2022-01-06 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017 --- Comment #75 from cqwrteur --- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100427 https://gcc.gnu.org/pipermail/gcc-patches/2022-January/587838.html

[Bug c++/85782] acc loops with continue statements ICE in c++

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85782 Andrew Pinski changed: What|Removed |Added Known to work||8.2.0, 9.1.0

[Bug c++/89048] function argument as a template argument in trailing return type error message could be better

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89048 Andrew Pinski changed: What|Removed |Added Keywords|rejects-valid | Summary|constant evaluation

[Bug tree-optimization/103835] bogus sprintf warnings due to missing strlen propagation

2022-01-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103835 --- Comment #5 from Martin Sebor --- It's the same cause. When the -Wformat-overflow and -truncation warnings are unable to compute the exact length of a string argument to a directive like %s they use the size of the array the string is

[Bug c++/89048] constant evaluation in trailing return type rejected

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

[Bug c++/88378] notes for template deduction errors mention "[with U = U]"

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88378 --- Comment #2 from Andrew Pinski --- That is we get: : In function 'void g(S)': :10:7: error: no matching function for call to 'S::f(int)' 10 | s.f (0); | ^~~ :5:8: note: candidate: 'template void S::f(U*&) [with T = int]'

[Bug c++/88378] notes for template deduction errors mention "[with U = U]"

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

[Bug fortran/103931] Type name "c_ptr" is ambiguous when iso_c_binding is imported both directly and indirectly

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103931 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > (In reply to Tomáš Trnka from comment #5) > > FWIW, this reduced testcase doesn't reproduce the bug (compiles cleanly) on > > my 11.2.1. > > But it does on the

[Bug fortran/103931] Type name "c_ptr" is ambiguous when iso_c_binding is imported both directly and indirectly

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103931 --- Comment #6 from Andrew Pinski --- (In reply to Tomáš Trnka from comment #5) > FWIW, this reduced testcase doesn't reproduce the bug (compiles cleanly) on > my 11.2.1. But it does on the trunk, hmmm.

[Bug fortran/103931] Type name "c_ptr" is ambiguous when iso_c_binding is imported both directly and indirectly

2022-01-06 Thread trnka at scm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103931 --- Comment #5 from Tomáš Trnka --- (In reply to anlauf from comment #2) > Created attachment 52138 [details] > Somewhat reduced reproducer > > The issue can be reproduced with a few less modules FWIW, this reduced testcase doesn't reproduce

[Bug analyzer/103546] Analyzer reports null dereference in flex scanners

2022-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103546 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:d564a83d14252d7db01381f71900b7a68357803b commit r12-6323-gd564a83d14252d7db01381f71900b7a68357803b Author: David Malcolm Date:

  1   2   3   >