https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106848
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2022-10-13 Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED CC| |ppalka at gcc dot gnu.org --- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> --- Reduced: $ cat 106848_a.H typedef enum memory_order { memory_order_seq_cst } memory_order; $ cat 106848_b.C import "106848_a.H"; memory_order x; $ g++ -fmodules-ts -g 106848_a.H 106848_b.C 106848_b.C:3:14: error: type variant differs by TYPE_MAX_VALUE