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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111890
Harry Butterworth changed:
What|Removed |Added
CC||heb1001 at gmail dot com
---
||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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66564
Marek Polacek changed:
What|Removed |Added
Target Milestone|--- |11.5
Priority|P3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115715
Xi Ruoyao changed:
What|Removed |Added
Keywords|accepts-invalid |diagnostic
Severity|normal
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115715
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2024-06-30
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
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'
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115139
--- Comment #5 from Pavel ---
Thank you for the fix!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115139
Patrick Palka changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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
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:
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114974
Patrick Palka changed:
What|Removed |Added
Target Milestone|--- |14.2
Resolution|---
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
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:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103807
Andrew Pinski changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104040
Nathaniel Shead changed:
What|Removed |Added
CC||nshead at gcc dot gnu.org
Target
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80438
Andrew Pinski changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
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|
|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
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:
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.
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110323
Patrick Palka changed:
What|Removed |Added
CC||ppalka at gcc dot gnu.org
--- Comment
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104850
Andrew Pinski changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110323
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
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
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.
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110323
Marek Polacek changed:
What|Removed |Added
Priority|P3 |P2
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104850
--- Comment #7 from Benjamin Buch ---
Sorry wrong number; Bug 114076
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104850
Benjamin Buch changed:
What|Removed |Added
CC||benni.buch at gmail dot com
---
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17000
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113908
Patrick Palka changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
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:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113908
Jakub Jelinek changed:
What|Removed |Added
Priority|P3 |P1
|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
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
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:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113649
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org,
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113649
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102626
Patrick Palka changed:
What|Removed |Added
CC||ppalka at gcc dot gnu.org
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
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
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:
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
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
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
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
|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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111847
Jiří Engelthaler changed:
What|Removed |Added
Resolution|--- |INVALID
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111463
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org,
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
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
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
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
|--- |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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109923
Patrick Palka changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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:
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103672
Patrick Palka changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Target Milestone|10.5
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109888
Jonathan Wakely changed:
What|Removed |Added
Resolution|--- |DUPLICATE
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
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103807
Patrick Palka changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
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:
|
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
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:
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108848
Richard Biener changed:
What|Removed |Added
Priority|P3 |P2
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
|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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108579
Patrick Palka changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
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:
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108579
Jonathan Wakely changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
constructor on
|template class got rejected |non-template constructor of
||template class got rejected
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103593
Andrew Pinski changed:
What|Removed |Added
CC||ky4ct at arrl dot net
--- Comment #6
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
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
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
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
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).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105806
Vincent changed:
What|Removed |Added
CC||vincent.lextrait at gmail dot
com
---
1 - 100 of 1626 matches
Mail list logo