[Bug c++/111890] ICE in tsubst_friend_function with friend function declared inside a concept constrainted class inside a template class

2024-07-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111890 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/111890] ICE in tsubst_friend_function with friend function declared inside a concept constrainted class inside a template class

2024-07-10 Thread heb1001 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111890 Harry Butterworth changed: What|Removed |Added CC||heb1001 at gmail dot com ---

[Bug c++/115814] variadic template class deduction failure

2024-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
||2024-07-07 Summary|class template argument |variadic template class |deduction failed in C++20 |deduction failure Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski --- Just to show this is not lambda related here

[Bug c++/66564] [11/12/13/14/15 Regression] ICE on explicit instantiation of nested template class

2024-07-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66564 --- Comment #8 from Marek Polacek --- Patch submission for r0-123991: https://gcc.gnu.org/pipermail/gcc-patches/2013-June/365035.html

[Bug c++/66564] [11/12/13/14/15 Regression] ICE on explicit instantiation of nested template class

2024-07-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66564 Marek Polacek changed: What|Removed |Added Target Milestone|--- |11.5 Priority|P3

[Bug c++/115715] gcc seems to incorrectly accept illegal constexpr constructor in virtual inheritance and static template class member

2024-07-01 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115715 Xi Ruoyao changed: What|Removed |Added Keywords|accepts-invalid |diagnostic Severity|normal

[Bug c++/115715] gcc seems to incorrectly accept illegal constexpr constructor in virtual inheritance and static template class member

2024-07-01 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115715 --- Comment #4 from Xi Ruoyao --- (In reply to Andrew Pinski from comment #3) > Confirmed. This is a QoI issue though. We should do more rejections on > non-dependent types inside templates. Should we open an enhancement like "reject templates

[Bug c++/115715] gcc seems to incorrectly accept illegal constexpr constructor in virtual inheritance and static template class member

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

[Bug c++/66564] [11/12/13/14/15 Regression] ICE on explicit instantiation of nested template class

2024-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
on explicit |[11/12/13/14/15 Regression] |instantiation of nested |ICE on explicit |template class |instantiation of nested ||template class --- Comment #6 from Andrew Pinski --- The ICE started

[Bug c++/115715] gcc seems to incorrectly accept illegal constexpr constructor in virtual inheritance and static template class member

2024-06-30 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115715 --- Comment #2 from Xi Ruoyao --- FWIW MSVC gives no diagnostic, and EDG gives a misleading diagnostic: '"", line 11: error: a constexpr variable must have a literal type or a reference type'

[Bug c++/115715] gcc seems to incorrectly accept illegal constexpr constructor in virtual inheritance and static template class member

2024-06-30 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115715 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #1

[Bug c++/115715] New: gcc seems to incorrectly accept illegal constexpr constructor in virtual inheritance and static template class member

2024-06-30 Thread rush102333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115715 Bug ID: 115715 Summary: gcc seems to incorrectly accept illegal constexpr constructor in virtual inheritance and static template class member Product: gcc

[Bug c++/115139] [14 Regression] Enum inside variadic template class can't define one of self with usage another value from this enum

2024-05-22 Thread pavel at karpychev dot name via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115139 --- Comment #5 from Pavel --- Thank you for the fix!

[Bug c++/115139] [14 Regression] Enum inside variadic template class can't define one of self with usage another value from this enum

2024-05-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115139 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/115139] [14 Regression] Enum inside variadic template class can't define one of self with usage another value from this enum

2024-05-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115139 --- Comment #3 from GCC Commits --- The releases/gcc-14 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:caf43cc9e5c0b3265b55e5a0dc77fc55e9618c77 commit r14-10226-gcaf43cc9e5c0b3265b55e5a0dc77fc55e9618c77 Author: Patrick Palka

[Bug c++/115139] [14 Regression] Enum inside variadic template class can't define one of self with usage another value from this enum

2024-05-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115139 --- Comment #2 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:f0c0bced62b9c728ed1e672747aa234d918da22c commit r15-759-gf0c0bced62b9c728ed1e672747aa234d918da22c Author: Patrick Palka Date:

[Bug c++/115139] [14 Regression] Enum inside variadic template class can't define one of self with usage another value from this enum

2024-05-17 Thread ppalka at gcc dot gnu.org via Gcc-bugs
Summary|Enum inside variadic|[14 Regression] Enum inside |template class can't define |variadic template class |one of self with usage |can't define one of self |another value from this |with usage another value

[Bug c++/115139] New: Enum inside variadic template class can't define one of self with usage another value from this enum

2024-05-17 Thread pavel at karpychev dot name via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115139 Bug ID: 115139 Summary: Enum inside variadic template class can't define one of self with usage another value from this enum Product: gcc Version: 14.1.0 Status

[Bug c++/114974] CTAD; templated inner class of template class seems to be handled incorrectly

2024-05-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114974 Patrick Palka changed: What|Removed |Added Target Milestone|--- |14.2 Resolution|---

[Bug c++/114974] CTAD; templated inner class of template class seems to be handled incorrectly

2024-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114974 --- Comment #3 from GCC Commits --- The releases/gcc-14 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:57cd8665fea4c339369a43be017583621aa82fed commit r14-10201-g57cd8665fea4c339369a43be017583621aa82fed Author: Patrick Palka

[Bug c++/114974] CTAD; templated inner class of template class seems to be handled incorrectly

2024-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114974 --- Comment #2 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:6d31a370e26eeb950c326332633b3e8e84b6630b commit r15-434-g6d31a370e26eeb950c326332633b3e8e84b6630b Author: Patrick Palka Date:

[Bug c++/103807] Unable to make template class instance with default parameter of lambda::function

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

[Bug c++/104040] linker: when exported template class from module is used in several .cpp with same tpl arg ~ undefined reference to not default non-inline destructor

2024-04-09 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104040 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org Target

[Bug c++/104040] linker: when exported template class from module is used in several .cpp with same tpl arg ~ undefined reference to not default non-inline destructor

2024-04-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104040 --- Comment #1 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:0774240b4df9a9bc48ce33a9625788e402498f5a commit r14-9883-g0774240b4df9a9bc48ce33a9625788e402498f5a Author: Nathaniel Shead

[Bug c++/80438] Variadic template class argument deduction failure from variadic constructor deduction guide

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

[Bug debug/68010] [11/12/13/14 Regression] ICE with -g and using namespace and namespace alias inside a template class with dependent inheritance

2024-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68010 Andrew Pinski changed: What|Removed |Added Known to work||4.1.2 Known to fail|

[Bug c++/110323] [11/12/13 Regression] Code for explicit instantiation of template method of template class not generated

2024-03-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
|Code for explicit |for explicit instantiation |instantiation of template |of template method of |method of template class|template class not |not generated |generated --- Comment #11 from Marek Polacek

[Bug c++/110323] [11/12/13/14 Regression] Code for explicit instantiation of template method of template class not generated

2024-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110323 --- Comment #10 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:081f8937cb82da311c224da04b0c6cbd57a8fb5d commit r14-9596-g081f8937cb82da311c224da04b0c6cbd57a8fb5d Author: Marek Polacek Date:

[Bug c++/110323] [11/12/13/14 Regression] Code for explicit instantiation of template method of template class not generated

2024-03-08 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110323 --- Comment #9 from Marek Polacek --- Oh and I meant to say it's the DECL_DECLARED_INLINE_P check that makes the difference.

[Bug c++/110323] [11/12/13/14 Regression] Code for explicit instantiation of template method of template class not generated

2024-03-08 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110323 --- Comment #8 from Marek Polacek --- (In reply to Patrick Palka from comment #7) > I noticed we emit the function if we turn it into a non-member: > > #include > > constexpr int VAL = 1; > > template > void bar(typename

[Bug c++/110323] [11/12/13/14 Regression] Code for explicit instantiation of template method of template class not generated

2024-03-08 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110323 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug c++/110323] [11/12/13/14 Regression] Code for explicit instantiation of template method of template class not generated

2024-03-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110323 --- Comment #6 from Marek Polacek --- Extended test. I think all 4 should be emitted. ``` // PR c++/110323 template struct conditional { using type = T; }; template struct conditional { using type = F; }; constexpr int VAL = 1; static

[Bug c++/104850] Instantiating a destructor for a template class too early, before the calling destructor is seen - rejects valid code

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

[Bug c++/110323] [11/12/13/14 Regression] Code for explicit instantiation of template method of template class not generated

2024-03-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110323 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/110323] [11/12/13/14 Regression] Code for explicit instantiation of template method of template class not generated

2024-03-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110323 --- Comment #5 from Marek Polacek --- VAL is constexpr, which implies const, which in the global scope implies static. Then constrain_visibility_for_template makes "struct conditional<(B == VAL), int, float>" non-TREE_PUBLIC. So with

[Bug c++/110323] [11/12/13/14 Regression] Code for explicit instantiation of template method of template class not generated

2024-03-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110323 --- Comment #4 from Marek Polacek --- Ah -- if we walk into TYPE_CONTEXT (t) (here: struct conditional), then in min_vis_r we determine the visibility as VISIBILITY_ANON. Without it, it remains VISIBILITY_DEFAULT.

[Bug c++/110323] [11/12/13/14 Regression] Code for explicit instantiation of template method of template class not generated

2024-03-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110323 --- Comment #3 from Marek Polacek --- This makes a difference for some reason: --- a/gcc/cp/tree.cc +++ b/gcc/cp/tree.cc @@ -5542,7 +5542,7 @@ cp_walk_subtrees (tree *tp, int *walk_subtrees_p, walk_tree_fn func, break; case

[Bug c++/110323] [11/12/13/14 Regression] Code for explicit instantiation of template method of template class not generated

2024-03-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110323 Marek Polacek changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug c++/104850] Instantiating a destructor for a template class too early, before the calling destructor is seen - rejects valid code

2024-03-05 Thread benni.buch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104850 --- Comment #7 from Benjamin Buch --- Sorry wrong number; Bug 114076

[Bug c++/104850] Instantiating a destructor for a template class too early, before the calling destructor is seen - rejects valid code

2024-03-05 Thread benni.buch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104850 Benjamin Buch changed: What|Removed |Added CC||benni.buch at gmail dot com ---

[Bug c++/104850] Instantiating a destructor for a template class too early, before the calling destructor is seen - rejects valid code

2024-02-23 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104850 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #5 from

[Bug c++/17000] parse error calling member template function of non-lvalue from within template class member

2024-02-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17000 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/113908] [14 Regression] bogus access error with new-expr of current non-template class with implicitly deleted copy ctor since r14-557

2024-02-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113908 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/113908] [14 Regression] bogus access error with new-expr of current non-template class with implicitly deleted copy ctor since r14-557

2024-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113908 --- Comment #1 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:9bc6b23d11697545e8a951ccd60691b1e58b98c2 commit r14-8981-g9bc6b23d11697545e8a951ccd60691b1e58b98c2 Author: Patrick Palka Date:

[Bug c++/113908] [14 Regression] bogus access error with new-expr of current non-template class with implicitly deleted copy ctor since r14-557

2024-02-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113908 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1

[Bug c++/113908] [14 Regression] bogus access error with new-expr of current non-template class with implicitly deleted copy ctor since r14-557

2024-02-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org Summary|[14 Regression] bogus |[14 Regression] bogus |access error with new-expr |access error with new-expr |of current non-template |of current non-template |class

[Bug c++/113908] New: [14 Regression] bogus access error with new-expr of current non-template class with implicitly deleted copy ctor

2024-02-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113908 Bug ID: 113908 Summary: [14 Regression] bogus access error with new-expr of current non-template class with implicitly deleted copy ctor Product: gcc Version

[Bug c++/113649] ICE: nested template class template argument deduction

2024-02-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113649 --- Comment #4 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:465b9c51f5c79ce3fbb36f1abc7194b39ad9cae7 commit r14-8886-g465b9c51f5c79ce3fbb36f1abc7194b39ad9cae7 Author: Patrick Palka Date:

[Bug c++/113649] ICE: nested template class template argument deduction

2024-01-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113649 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org,

[Bug c++/113649] ICE: nested template class template argument deduction

2024-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113649 Andrew Pinski changed: What|Removed |Added Known to fail||12.3.0 --- Comment #2 from Andrew

[Bug c++/113649] ICE: nested template class template argument deduction

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

[Bug c++/113649] New: ICE: nested template class template argument deduction

2024-01-28 Thread schaumb at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113649 Bug ID: 113649 Summary: ICE: nested template class template argument deduction Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/102626] [c++20] compiler crash when invoking constexpr function in the constructor of template class

2024-01-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102626 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org

[Bug c++/102626] [c++20] compiler crash when invoking constexpr function in the constructor of template class

2024-01-22 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102626 Hans-Peter Nilsson changed: What|Removed |Added CC||hp at gcc dot gnu.org Last

[Bug c++/99186] std::tuple compilation error when elements are specializations of template class declared with template < auto E > syntax with E being a enumerator of a enum

2023-12-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99186 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/99186] std::tuple compilation error when elements are specializations of template class declared with template < auto E > syntax with E being a enumerator of a enum

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99186 --- Comment #7 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:35ba3add7d0a9fc6ce955ba8ad82b0413e86ad7d commit r14-6520-g35ba3add7d0a9fc6ce955ba8ad82b0413e86ad7d Author: Patrick Palka Date:

[PATCH] c++: alias template of non-template class [PR112633]

2023-11-22 Thread Patrick Palka
ate specialization ty1 below which aliases the non-template class A. PR c++/112633 gcc/cp/ChangeLog: * pt.cc (tsubst_aggr_type): Handle empty TYPE_TEMPLATE_INFO in the entering_scope adjustment. gcc/testsuite/ChangeLog: * g++.dg/cpp0x/alias-decl-75.C: New t

Re: [PATCH] c++: alias template of non-template class [PR112633]

2023-11-22 Thread Jason Merrill
nfo) but that's not true for the dependent alias template specialization ty1 below which aliases the non-template class A. PR c++/112633 gcc/cp/ChangeLog: * pt.cc (tsubst_aggr_type): Handle empty TYPE_TEMPLATE_INFO in the entering_scope adjustment. gcc/testsuite/Change

[Bug c++/111890] ICE in tsubst_friend_function with friend function declared inside a concept constrainted class inside a template class

2023-10-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111890 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #5

[Bug c++/111890] ICE in tsubst_friend_function with friend function declared inside a concept constrainted class inside a template class

2023-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111890 --- Comment #4 from Andrew Pinski --- Full backtrace: ``` t1.cc:8:18: internal compiler error: Segmentation fault 8 | friend auto operator+(const Iterator , int) {} | ^~~~ 0x12dabdf crash_signal

[Bug c++/111890] ICE in build_new_op with friend function declared inside a concept constrainted class inside a template class

2023-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
|specialization with |inside a concept |constrained return type |constrainted class inside a ||template class --- Comment #3 from Andrew Pinski --- Reduced testcase without any includes or any magic functions

[Bug debug/111847] Debug info for structure member is not generated for structure in template class

2023-10-17 Thread EngyCZ at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111847 Jiří Engelthaler changed: What|Removed |Added Resolution|--- |INVALID

[Bug debug/111847] New: Debug info for structure members is not generated for structure in template class

2023-10-17 Thread EngyCZ at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111847 Bug ID: 111847 Summary: Debug info for structure members is not generated for structure in template class Product: gcc Version: 13.2.0 Status: UNCONFIRMED

[Bug c++/111463] Access error in instantiation of template class, incorrectly using inherited constructor of wrong type

2023-09-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111463 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org,

[Bug c++/111463] New: Access error in instantiation of template class, incorrectly using inherited constructor of wrong type

2023-09-18 Thread bckempa at iastate dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111463 Bug ID: 111463 Summary: Access error in instantiation of template class, incorrectly using inherited constructor of wrong type Product: gcc Version: 11.4.0 Status

[Bug c++/108848] [11/12 Regression] template keyword incorrectly required to access template class static member of non-dependent expression using member syntax in dependent context

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108848 Richard Biener changed: What|Removed |Added Target Milestone|10.5|11.5 --- Comment #5 from Richard

[Bug c++/101903] [11/12/13/14 Regression] ICE with invalid constexpr constructor in template class

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101903 Richard Biener changed: What|Removed |Added Target Milestone|10.5|11.5 --- Comment #4 from Richard

[Bug c++/91112] [11/12/13/14 Regression] Bad error message for virtual function of a template class. Wrong "required from here" line number

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91112 Richard Biener changed: What|Removed |Added Target Milestone|10.5|11.5 --- Comment #8 from Richard

[Bug c++/110323] [11/12/13/14 Regression] Code for explicit instantiation of template method of template class not generated

2023-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
|--- |11.5 Summary|Code for explicit |[11/12/13/14 Regression] |instantiation of template |Code for explicit |method of template class|instantiation of template |not generated |method

[Bug c++/110323] New: Code for explicit instantiation of template method of template class

2023-06-20 Thread stlim0727 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110323 Bug ID: 110323 Summary: Code for explicit instantiation of template method of template class Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/109923] Template friend function defined in a template class becomes a friend of all instantiations, not one

2023-06-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109923 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/109923] Template friend function defined in a template class becomes a friend of all instantiations, not one

2023-06-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109923 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:38af81df6aac11d49f9378d1c628ccc3c815c3ff commit r14-1519-g38af81df6aac11d49f9378d1c628ccc3c815c3ff Author: Patrick Palka Date:

[Bug c++/109923] Template friend function defined in a template class becomes a friend of all instantiations, not one

2023-05-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109923 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/103672] [10/11 Regression] using with template class> causes internal compiler error

2023-05-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103672 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|10.5

[Bug c++/109923] New: Template friend function defined in a template class becomes a friend of all instantiations, not one

2023-05-21 Thread egor_suvorov at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109923 Bug ID: 109923 Summary: Template friend function defined in a template class becomes a friend of all instantiations, not one Product: gcc Version: unknown Status

[Bug c++/109888] GCC 13 Fails to Compile Code with Explicit Constructor for std::array in Template Class

2023-05-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109888 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/109888] New: GCC 13 Fails to Compile Code with Explicit Constructor for std::array in Template Class

2023-05-17 Thread vincent.lebourlot at starqube dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109888 Bug ID: 109888 Summary: GCC 13 Fails to Compile Code with Explicit Constructor for std::array in Template Class Product: gcc Version: 13.1.0 Status: UNCONFIRMED

[Bug c++/103807] Unable to make template class instance with default parameter of lambda::function

2023-05-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103807 Bug 103807 depends on bug 97700, which changed state. Bug 97700 Summary: Bogus error when a class containing a function pointer is used as a non-type template parameter https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97700 What

[Bug c++/103807] Unable to make template class instance with default parameter of lambda::function

2023-05-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103807 --- Comment #5 from CVS Commits --- The releases/gcc-13 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:2aa1ab10ae0fd244dfea5fbf3705d7a1c0afff5a commit r13-7325-g2aa1ab10ae0fd244dfea5fbf3705d7a1c0afff5a Author: Patrick Palka

[Bug c++/103807] Unable to make template class instance with default parameter of lambda::function

2023-05-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103807 Patrick Palka changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/103807] Unable to make template class instance with default parameter of lambda::function

2023-05-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103807 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:0d0c467d216bf538faa7ceb75875e4efa73ae23f commit r14-710-g0d0c467d216bf538faa7ceb75875e4efa73ae23f Author: Patrick Palka Date:

[Bug c++/108848] [10/11/12 Regression] template keyword incorreclty required to access template class static member of non-dependent expression using member syntax in dependent context

2023-02-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
| Summary|[10/11/12/13 Regression]|[10/11/12 Regression] |template keyword|template keyword |incorreclty required to |incorreclty required to |access template class |access template class

[Bug c++/108848] [10/11/12/13 Regression] template keyword incorreclty required to access template class static member of non-dependent expression using member syntax in dependent context

2023-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108848 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:d3d205ab440886164b6de2be2a2efa10cac95b66 commit r13-6380-gd3d205ab440886164b6de2be2a2efa10cac95b66 Author: Patrick Palka Date:

[Bug c++/108848] [10/11/12/13 Regression] template keyword incorreclty required to access template class static member of non-dependent expression using member syntax in dependent context

2023-02-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108848 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/108848] [10/11/12/13 Regression] template keyword incorreclty required to access template class static member of non-dependent expression using member syntax in dependent context

2023-02-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108848 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/108848] [10/11/12/13 Regression] template keyword incorreclty required to access template class static member of non-dependent expression using member syntax in dependent context

2023-02-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
Summary|template keyword|[10/11/12/13 Regression] |incorreclty required to |template keyword |access template class |incorreclty required to |static member of|access template class |non

[Bug c++/108848] template keyword incorreclty required to access template class static member of non-dependent expression using member syntax in dependent context

2023-02-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
|member of non-dependent |incorreclty required to |expression using member |access template class |syntax in dependent context |static member of |is rejected |non-dependent expression

[Bug c++/108579] [13 Regression] Requires-expression that checks constructor on non-template constructor of template class got rejected

2023-02-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108579 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/108579] [13 Regression] Requires-expression that checks constructor on non-template constructor of template class got rejected

2023-02-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108579 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:e7930c6750d03b28d922ebbbace20ba9d8622c6a commit r13-5682-ge7930c6750d03b28d922ebbbace20ba9d8622c6a Author: Patrick Palka Date:

[Bug c++/108579] [13 Regression] Requires-expression that checks constructor on non-template constructor of template class got rejected

2023-01-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108579 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/108579] [13 Regression] Requires-expression that checks constructor on non-template constructor of template class got rejected

2023-01-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108579 Jonathan Wakely changed: What|Removed |Added CC||jason at gcc dot gnu.org

[Bug c++/108579] [13 Regression] Requires-expression that checks constructor on non-template constructor of template class got rejected

2023-01-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
constructor on |template class got rejected |non-template constructor of ||template class got rejected

[Bug c++/108579] New: Requires-expression that checks constructor on non-template constructor of template class got rejected

2023-01-27 Thread gnaggnoyil at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108579 Bug ID: 108579 Summary: Requires-expression that checks constructor on non-template constructor of template class got rejected Product: gcc Version: 13.0

[Bug c++/103593] [11/12 Regression] Naming the constructor of a template class without using the injected-class-name causes parse error with C++20

2022-10-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103593 Andrew Pinski changed: What|Removed |Added CC||ky4ct at arrl dot net --- Comment #6

[Bug c++/103672] [10/11 Regression] using with template class> causes internal compiler error

2022-06-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103672 Jakub Jelinek changed: What|Removed |Added Target Milestone|10.4|10.5 --- Comment #5 from Jakub Jelinek

[Bug c++/101903] [10/11/12/13 Regression] ICE with invalid constexpr constructor in template class

2022-06-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101903 Jakub Jelinek changed: What|Removed |Added Target Milestone|10.4|10.5 --- Comment #3 from Jakub Jelinek

[Bug c++/91112] [10/11/12/13 Regression] Bad error message for virtual function of a template class. Wrong "required from here" line number

2022-06-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91112 Jakub Jelinek changed: What|Removed |Added Target Milestone|10.4|10.5 --- Comment #7 from Jakub Jelinek

[Bug c++/105811] New: Diagnostics for template class member call with missing template parameters can be improved

2022-06-01 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105811 Bug ID: 105811 Summary: Diagnostics for template class member call with missing template parameters can be improved Product: gcc Version: 12.1.0 Status: UNCONFIRMED

[Bug c++/105806] [concepts] template class specialization using concept issue

2022-06-01 Thread josephcanedo at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105806 --- Comment #2 from Joseph --- When getting symbols using readelf for get_meta() in some .o files symbol is FUNC LOCAL DEFAULT and in others FUNC WEAK HIDDEN (we use hidden visibility option).

[Bug c++/105806] [concepts] template class specialization using concept issue

2022-06-01 Thread vincent.lextrait at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105806 Vincent changed: What|Removed |Added CC||vincent.lextrait at gmail dot com ---

  1   2   3   4   5   6   7   8   9   10   >