https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108087

--- Comment #1 from Sam James <sam at gentoo dot org> ---
Sorry, output got mangled slightly by ansifiltering:
```
/var/tmp/portage/sys-devel/gcc-13.0.9999/work/gcc-13.0.9999/gcc/rust/rust-lang.cc:67:17:
warning: type ‘struct lang_type’ violates the C++ One Definition Rule [-Wodr]
   67 | struct GTY (()) lang_type
      |                 ^
/var/tmp/portage/sys-devel/gcc-13.0.9999/work/gcc-13.0.9999/gcc/rust/backend/rust-tree.h:234:
note: a different type is defined in another translation unit
  234 | struct GTY (()) lang_type
      |
/var/tmp/portage/sys-devel/gcc-13.0.9999/work/gcc-13.0.9999/gcc/rust/backend/rust-tree.h:236:
note: the first difference of corresponding definitions is field ‘align’
  236 |   unsigned char align;
      |
/var/tmp/portage/sys-devel/gcc-13.0.9999/work/gcc-13.0.9999/gcc/rust/backend/rust-tree.h:234:
note: a type with different number of fields is defined in another translation
unit
  234 | struct GTY (()) lang_type
      |
```

Reply via email to