Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: steve_green at qq dot com
Target Milestone: ---
demo code:
struct foo_t {
template
static constexpr bool bar = true;
};
inline constexpr foo_t foo{};
template
struct baz
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: steve_green at qq dot com
Target Milestone: ---
code that trigger errors:
https://github.com/ELC-lang/ELC/blob/74495c6e72bc61566d29442ea469e02b4fe223f1/parts/hea
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109142
--- Comment #2 from steve02081504 ---
Created attachment 54672
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54672&action=edit
cpp file
Here's the pre-processed file you want,hope it helps
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: steve_green at qq dot com
Target Milestone: ---
Created attachment 51231
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51231&action=edit
.ii file & .s file & output
I want to make a minimal repro
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710
steve02081504 changed:
What|Removed |Added
Attachment #51231|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710
--- Comment #4 from steve02081504 ---
Created attachment 51235
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51235&action=edit
.ii file & .s file & output - Deflate64
Deflate64 zip added.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710
--- Comment #5 from steve02081504 ---
(In reply to Andrew Pinski from comment #3)
> (In reply to Andrew Pinski from comment #2)
> > Can you re-upload the zip file as it seems be corrupted?
>
> Never mind, I was able to extract it, I had to use
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710
steve02081504 changed:
What|Removed |Added
Resolution|--- |INVALID
Status|UNCONFIRMED
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: steve_green at qq dot com
Target Milestone: ---
I have a third party library that has this write up
```c++
template
template struct type_info_t{
//...
template
static constexpr bool
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109169
--- Comment #1 from steve02081504 ---
(Corrected code)
```c++
template
struct type_info_t{
//...
template
static constexpr bool can_convert_to=XXX;
//...
};
template
constexpr type_info_ttype_info{};
```
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109169
--- Comment #6 from steve02081504 ---
Created attachment 54696
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54696&action=edit
temp.cpp
(In reply to Andrew Pinski from comment #4)
> You provide a full example of what you want?
> Because
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109169
steve02081504 changed:
What|Removed |Added
Version|unknown |12.2.0
--- Comment #7 from steve0208150
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109169
--- Comment #9 from steve02081504 ---
I don't quite understand why this is correct, can you elaborate on why and how
to change the code to bypass the error reporting?
Thanks.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109169
--- Comment #11 from steve02081504 ---
(In reply to Andrew Pinski from comment #10)
> Take:
> type_info.can_convert_to
>
> The first part is dependent so when it goes to parse the next identifier,
> the parser does not know that can_convert_to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109169
--- Comment #14 from steve02081504 ---
(In reply to Andrew Pinski from comment #13)
> See http://womble.decadent.org.uk/c++/template-faq.html#disambiguation also
> to better understand the reason why GCC implements it this way and why it is
> ha
15 matches
Mail list logo