From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C77983877212; Tue, 13 Dec 2022 18:44:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C77983877212 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670957049; bh=ySVz36zdRnIac/fziWLBCWRZn7snfH4sycI1vnNhXWE=; h=From:To:Subject:Date:From; b=cxH35OBcxh98BBX8RBIIrD+MxwMTyhBKOkM0VxnVRBur4V08k5SlcdSEp9972rPL5 QNh54WFllHsUYN8laYrRbF9b6lv2U6AmMvlyPfw91nu5bvVeC7xrKsp4ZaCoIAzGEk +jYb6Nfzi7X9y1n7iz2fkbng9euwizP0tcU8gAtk= From: "sam at gentoo dot org" To: gcc-rust@gcc.gnu.org Subject: [Bug rust/108087] New: -Wodr warnings in rust/rust-lang.cc (lang_type) Date: Tue, 13 Dec 2022 18:44:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rust X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sam at gentoo dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108087 Bug ID: 108087 Summary: -Wodr warnings in rust/rust-lang.cc (lang_type) Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rust Assignee: unassigned at gcc dot gnu.org Reporter: sam at gentoo dot org CC: dkm at gcc dot gnu.org, gcc-rust at gcc dot gnu.org Target Milestone: --- Created attachment 54082 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54082&action=3Dedit build.log.xz (slightly past warning) Noticed when bootstrapping GCC 13 from trunk at r13-4681-g531ca06c007d4c. ``` /var/tmp/portage/sys-devel/gcc-13.0.9999/work/gcc-13.0.9999/gcc/rust/rust-l= ang.cc:67:17: warning: type [-Wodr] 67 | struct GTY (()) lang_type | ^ /var/tmp/portage/sys-devel/gcc-13.0.9999/work/gcc-13.0.9999/gcc/rust/backen= d/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/backen= d/rust-tree.h:236: note: the first difference of corresponding definitions is field =E2=80=98a= lign=E2=80=99 236 | unsigned char align; | /var/tmp/portage/sys-devel/gcc-13.0.9999/work/gcc-13.0.9999/gcc/rust/backen= d/rust-tree.h:234: note: a type with different number of fields is defined in another translat= ion unit 234 | struct GTY (()) lang_type | ``` I've attached the build.log compressed a bit past the point of the warning,= as it's still building. Host compiler is 12.2.1_p20221210. --=20 You are receiving this mail because: You are on the CC list for the bug.=