Article View: gnu.gcc.bug
Article #6311Re: [2.7.2] opaque types and -Wcast-align
From: Richard Kenner
Date: Fri, 15 Dec 1995 00:00
Date: Fri, 15 Dec 1995 00:00
6 lines
790 bytes
790 bytes
Now, on processors where nothing needs stricter alignment than an int,
there shouldn't be a warning for the above. Opaque struct pointers
should be assumed to require the maximal alignment for a struct.
There should be such a warning, simply because there would be on other
processors and its's a good idea to warn about non-portable code.
Technical Details
Message-ID:
<9512151145.AA00879@vlsi1.ultra.nyu.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113d02,1d536ad335c00c5a X-Google-Attributes: gid113d02,public From: kenner@vlsi1.ultra.nyu.edu (Richard Kenner) Subject: Re: [2.7.2] opaque types and -Wcast-align Date: 1995/12/15 Message-ID: <9512151145.AA00879@vlsi1.ultra.nyu.edu> X-Deja-AN: 121954545 distribution: gnu sender: daemon@cis.ohio-state.edu organization: GNUs Not Usenet newsgroups: gnu.gcc.bug