Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: sinbal2l at gmail dot com
Target Milestone: ---
When including header, func is leaking from implementation, which
captures the name "write":
h
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94569
--- Comment #10 from Inbal Levi ---
Actually, you're right about the origin being [dcl.align]p5 here too, though
the test cases are different.
Thanks.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94569
--- Comment #8 from Inbal Levi ---
See here: https://bugs.llvm.org/show_bug.cgi?id=45890
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94569
--- Comment #7 from Inbal Levi ---
Not exactly.
94594 is talking about object's members impose their alignment on the object's
type, whether this bug is talking about object type imposes its alignment on
every object of that type (notice that in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95094
--- Comment #3 from Inbal Levi ---
Actually, you are right,
I'm currently working on a paper to change it, should have waited for
afterward.
The reason to change it is to align (...) with C behavior.
11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: sinbal2l at gmail dot com
Target Milestone: ---
>From the C++ standard:
7.6.2.5 Alignof [expr.alignof]p3
3 When alignof is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94569
--- Comment #5 from Inbal Levi ---
Stumbled across another rule which might be relevant here is:
[basic.align/1]
[...] An object type imposes an alignment requirement on every object of that
type; stricter alignment can be requested using the a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94594
--- Comment #2 from Inbal Levi ---
Also, an example with the first struct declaration being in the right form: :)
https://godbolt.org/z/G5rU5h
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94594
--- Comment #1 from Inbal Levi ---
* declaration
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: sinbal2l at gmail dot com
Target Milestone: ---
This example actually coming
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94569
--- Comment #2 from Inbal Levi ---
Yes, you're probably right, got the wrong one.
Thanks!
: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: sinbal2l at gmail dot com
Target Milestone: ---
The standard specifies:
>From the standard:
12 matches
Mail list logo