https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70182
Fenglin Hou changed:
What|Removed |Added
CC||gdutor at gmail dot com
--- Comment #16
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gdutor at gmail dot com
Target Milestone: ---
Created attachment 42374
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42374&action=edit
Source code that reproduce the bug
This
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gdutor at gmail dot com
Target Milestone: ---
For such a snipet, g++-7.5.0 and g++-9.2.0 generate different ABI for function
`foo`:
```
#include
enum E {
kA,kB,kC,kD,kE,kF
};
struct S {
E e;
std::optional
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99952
--- Comment #1 from Fenglin Hou ---
I wonder if this is a bug, or I missed some compile option.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99952
--- Comment #4 from Fenglin Hou ---
Thanks for the quick reply.