https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105588
--- Comment #4 from Hubert Tong ---
(In reply to Jakub Jelinek from comment #3)
> _Alignof(expression) works like __alignof__(expression) which works like
> __alignof__(__typeof(expression)), while _Alignof(type_name) is mandated by
> the standa
Keywords: rejects-valid
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: hstong at ca dot ibm.com
Target Milestone: ---
P0558 removed the "pointer specializations" of `atomic
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107962
--- Comment #2 from Hubert Tong ---
https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#2264 suggests that
the GCC behaviour may be the desired one because copies of
partially-initialized structures are allowed in C but cause undefined
: rejects-valid
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: hstong at ca dot ibm.com
Target Milestone: ---
GCC allows template argument deduction to succeed even when deducing an lvalue
reference
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49395
Hubert Tong changed:
What|Removed |Added
Status|SUSPENDED |RESOLVED
Resolution|---
: accepts-invalid, rejects-valid, wrong-code
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: hstong at ca dot ibm.com
Target Milestone: ---
It appears GCC implements a non-conforming extension that results
NCONFIRMED
Keywords: rejects-valid
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: hstong at ca dot ibm.com
Target Milestone: ---
Clearly the following function returns true. When calli
ONFIRMED
Keywords: rejects-valid
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: hstong at ca dot ibm.com
Target Milestone: ---
In the following, the definitions of two template functions that diffe
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116011
--- Comment #2 from Hubert Tong ---
The fix for Clang is in the works:
https://github.com/llvm/llvm-project/pull/89713#issuecomment-2240767267
An issue has been filed against the Itanium ABI:
https://github.com/itanium-cxx-abi/cxx-abi/issues/18
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116011
--- Comment #4 from Hubert Tong ---
(In reply to Andrew Pinski from comment #3)
> The reality of the issue comes down to accepting this:
> ```
> struct foo { int val; };
>
> int main() { decltype(&(foo::val)) ptr; }
> ```
Yes, which was added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116011
Hubert Tong changed:
What|Removed |Added
Summary|accepting &(T::x) as a |Template declaration
|p
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116011
--- Comment #8 from Hubert Tong ---
(In reply to Andrew Pinski from comment #7)
> Those are all unevulated context.that is sizeof and decltype are both
> considered unevulated context. In them, gcc does not think &(T::x) and &T::x
> act differen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116011
--- Comment #10 from Hubert Tong ---
(In reply to Andrew Pinski from comment #9)
> (In reply to Hubert Tong from comment #8)
> > (In reply to Andrew Pinski from comment #7)
> > > Those are all unevulated context.that is sizeof and decltype are b
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: hstong at ca dot ibm.com
Target Milestone: ---
Target: powerpc64le-unknown-linux-gnu
When generating optimized code for a powerpc64le Linux
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116063
--- Comment #2 from Hubert Tong ---
If it is invalid, a diagnostic like this should appear:
```
warning: union cannot be made transparent
```
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100779
Hubert Tong changed:
What|Removed |Added
CC||hstong at ca dot ibm.com
--- Comment #4
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: hstong at ca dot ibm.com
Target Milestone: ---
GCC allows catch-by-copy for classes with deleted copy constructors but trivial
move constructors.
Online
: wrong-code
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: hstong at ca dot ibm.com
Target Milestone: ---
According to the Itanium C++ ABI, the expression mangling for a function
parameter involves a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118187
--- Comment #2 from Hubert Tong ---
(In reply to Patrick Palka from comment #1)
> The ttp's constraints can depend on outer template parameters, which I think
> prevents us from being able to check its constraints before instantiation in
> gener
: UNCONFIRMED
Keywords: accepts-invalid
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: hstong at ca dot ibm.com
Target Milestone: ---
https://wg21.link/temp.names#8 specifies that when
"&
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118542
Hubert Tong changed:
What|Removed |Added
CC||hstong at ca dot ibm.com
--- Comment #5
101 - 121 of 121 matches
Mail list logo