https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120385
--- Comment #2 from Language Lawyer ---
(In reply to Andrew Pinski from comment #1)
> Is this still valid?
> ```
> int main()
> {
> using IA = int[];
> using IP = int*;
> void(+IP{IA{ 1, 2, 3 }});
> }
> ```
Prolly, the wording is (was) a
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: language.lawyer at gmail dot com
Target Milestone: ---
GCC 14 started accepting array prvalue operands where they are not allowed
(https://godbolt.org/z/6hj5YbTx7)
int main()
{
using
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13
Language Lawyer changed:
What|Removed |Added
CC||language.lawyer at gmail dot
com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69701
Language Lawyer changed:
What|Removed |Added
CC||language.lawyer at gmail dot
com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51757
Language Lawyer changed:
What|Removed |Added
CC||language.lawyer at gmail dot
com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91618
Language Lawyer changed:
What|Removed |Added
CC||language.lawyer at gmail dot
com
diagnostic
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: language.lawyer at gmail dot com
Target Milestone: ---
"A name N used in a class S shall refer to the same declaration in its context
and wh
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: language.lawyer at gmail dot com
Target Milestone: ---
struct S
{
template
operator T() { return T(); }
};
int i = S().template operator
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87208
Language Lawyer changed:
What|Removed |Added
CC||language.lawyer at gmail dot
com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93314
--- Comment #1 from Language Lawyer ---
GCC thinks that `char[S::m]` is VLA (because the lvalue-to-rvalue conversion on
`S::m` lvalue doesn't look like a constant expression) and tries to move the
evaluation of `sizeof(char[S::m])` to run time.
-invalid-code
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: language.lawyer at gmail dot com
Target Milestone: ---
int main()
{
struct S { int m; };
return sizeof(char[S::m]);
}
$ g++ prog.cc
: unassigned at gcc dot gnu.org
Reporter: language.lawyer at gmail dot com
Target Milestone: ---
The following code (inspired by http://wg21.link/p0172)
using abominable = void() const volatile &&;
struct s {
abominable f;
};
abom
: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: language.lawyer at gmail dot com
Target Milestone: ---
The bug 78896 was fixed in r244909, so it is no longer possible to decompose a
closure itself
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: language.lawyer at gmail dot com
Target Milestone: ---
This bug is similar to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90254, but
here the base is movable.
The following
14 matches
Mail list logo